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
19 lines
1.2 KiB
Groff
19 lines
1.2 KiB
Groff
platform="$(uname -s)-$(uname -m)"
|
|
case $platform in
|
|
Linux-x86_64)
|
|
install_package "truffleruby+graalvm-22.3.1" "https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.3.1/graalvm-ce-java11-linux-amd64-22.3.1.tar.gz#55547725a8be3ceb0a1da29a84cd3e958ba398ce4470ac89a8ba1bdb6d9bddb8" truffleruby_graalvm
|
|
;;
|
|
Linux-aarch64)
|
|
install_package "truffleruby+graalvm-22.3.1" "https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.3.1/graalvm-ce-java11-linux-aarch64-22.3.1.tar.gz#b46a3f9c82ac70990a62282b1fbe4474e784d9ba453839a428f88e94d21f8abc" truffleruby_graalvm
|
|
;;
|
|
Darwin-x86_64)
|
|
install_package "truffleruby+graalvm-22.3.1" "https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.3.1/graalvm-ce-java11-darwin-amd64-22.3.1.tar.gz#325afad5f1c4a07a458c95e7c444cff63514a6afa6f2655c12b4f494dccf2228" truffleruby_graalvm
|
|
;;
|
|
Darwin-arm64)
|
|
install_package "truffleruby+graalvm-22.3.1" "https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.3.1/graalvm-ce-java11-darwin-aarch64-22.3.1.tar.gz#c59f32289d92671bea46a34f4227fef484a4aa9eeece159e59a486205aaa6c31" truffleruby_graalvm
|
|
;;
|
|
*)
|
|
colorize 1 "Unsupported platform: $platform"
|
|
return 1
|
|
;;
|
|
esac
|