mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-01-01 14:44:48 +01:00
db600ccdfd
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
16 lines
957 B
Groff
16 lines
957 B
Groff
platform="$(uname -s)-$(uname -m)"
|
|
case $platform in
|
|
Linux-x86_64)
|
|
install_package "truffleruby+graalvm-22.0.0.2" "https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.0.0.2/graalvm-ce-java11-linux-amd64-22.0.0.2.tar.gz#bc86083bb7e2778c7e4fe4f55d74790e42255b96f7806a7fefa51d06f3bc7103" truffleruby_graalvm
|
|
;;
|
|
Linux-aarch64)
|
|
install_package "truffleruby+graalvm-22.0.0.2" "https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.0.0.2/graalvm-ce-java11-linux-aarch64-22.0.0.2.tar.gz#1cc0263d95f642dada4e290dca7f49c0456cefa7b690b67e3e5c159b537b2c58" truffleruby_graalvm
|
|
;;
|
|
Darwin-x86_64)
|
|
install_package "truffleruby+graalvm-22.0.0.2" "https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.0.0.2/graalvm-ce-java11-darwin-amd64-22.0.0.2.tar.gz#8280159b8a66c51a839c8079d885928a7f759d5da0632f3af7300df2b63a6323" truffleruby_graalvm
|
|
;;
|
|
*)
|
|
colorize 1 "Unsupported platform: $platform"
|
|
return 1
|
|
;;
|
|
esac
|