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

@ -36,12 +36,10 @@ EOS
add_platform "linux-aarch64"
cat >> "$file" <<EOS
Darwin-x86_64)
use_homebrew_openssl
EOS
add_platform "macos-amd64"
cat >> "$file" <<EOS
Darwin-arm64)
use_homebrew_openssl
EOS
add_platform "macos-aarch64"
cat >> "$file" <<EOS

View file

@ -36,12 +36,10 @@ EOS
add_platform "linux-aarch64"
cat >> "$file" <<EOS
Darwin-x86_64)
use_homebrew_openssl
EOS
add_platform "macos-amd64"
cat >> "$file" <<EOS
Darwin-arm64)
use_homebrew_openssl
EOS
add_platform "macos-aarch64"
cat >> "$file" <<EOS