TruffleRuby: remove explicit openssl@1.1 requirement on macOS

TruffleRuby build definitions used to explicitly rely on `brew --prefix openssl@1.1` on macOS and abort installation if that was not found. However, this check didn't take into account that the user might have set OPENSSL_PREFIX in their environment, or that they have another `openssl@*` version installed via Homebrew. This change removes the `use_homebrew_openssl` check and allows TruffleRuby to perform its own OpenSSL detection.

https://github.com/oracle/truffleruby/blob/vm-23.1.0/lib/truffle/truffle/openssl-prefix.rb#L14-L17
This commit is contained in:
Mislav Marohnić 2023-10-20 13:44:12 +02:00 committed by Benoit Daloze
parent 0e4c61d868
commit db600ccdfd
58 changed files with 1 additions and 73 deletions

View file

@ -3,7 +3,6 @@ Linux)
install_package "truffleruby-1.0.0-rc6" "https://github.com/oracle/truffleruby/releases/download/vm-1.0.0-rc6/truffleruby-1.0.0-rc6-linux-amd64.tar.gz#a2514b1f992d9359de86a7e4faa5c14ad6b418e88fd7cf6e67cd9b2fdb1ae85d" truffleruby
;;
Darwin)
use_homebrew_openssl
install_package "truffleruby-1.0.0-rc6" "https://github.com/oracle/truffleruby/releases/download/vm-1.0.0-rc6/truffleruby-1.0.0-rc6-macos-amd64.tar.gz#de2af4e1115fa96245d143fa323234cc78cd6ab3e29d68cee4bb74064c97a124" truffleruby
;;
*)