rbenv-ruby-build/share/ruby-build/truffleruby+graalvm-22.3.0
Mislav Marohnić db600ccdfd 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
2023-10-20 15:09:45 +02:00

19 lines
1.2 KiB
Text

platform="$(uname -s)-$(uname -m)"
case $platform in
Linux-x86_64)
install_package "truffleruby+graalvm-22.3.0" "https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.3.0/graalvm-ce-java11-linux-amd64-22.3.0.tar.gz#d4200bcc43e5ad4e6949c1b1edc1e59f63066e3a2280d5bd82d0c9b1d67c3f2c" truffleruby_graalvm
;;
Linux-aarch64)
install_package "truffleruby+graalvm-22.3.0" "https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.3.0/graalvm-ce-java11-linux-aarch64-22.3.0.tar.gz#c6646149dad486a0b02c5fc10649786240f275efda65aa14a25d01d2f5bafe15" truffleruby_graalvm
;;
Darwin-x86_64)
install_package "truffleruby+graalvm-22.3.0" "https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.3.0/graalvm-ce-java11-darwin-amd64-22.3.0.tar.gz#b8b39d6a3e3a9ed6348c2776ff071fc64ca90f98999ee846e6ca7e5fdc746a8b" truffleruby_graalvm
;;
Darwin-arm64)
install_package "truffleruby+graalvm-22.3.0" "https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.3.0/graalvm-ce-java11-darwin-aarch64-22.3.0.tar.gz#c9657e902c2ba674931c3cf233a38c4de3d5186ae5d70452f9df75ac0c4cacff" truffleruby_graalvm
;;
*)
colorize 1 "Unsupported platform: $platform"
return 1
;;
esac