rbenv-ruby-build/share/ruby-build/truffleruby+graalvm-23.0.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

22 lines
1.3 KiB
Text

colorize 1 "TruffleRuby+GraalVM 23.0 and later installed by ruby-build use the faster Oracle GraalVM distribution" && echo
colorize 1 "Oracle GraalVM uses the GFTC license, which is free for development and production use, see https://medium.com/graalvm/161527df3d76" && echo
platform="$(uname -s)-$(uname -m)"
case $platform in
Linux-x86_64)
install_package "truffleruby+graalvm-23.0.0" "https://download.oracle.com/graalvm/17/archive/graalvm-jdk-17.0.7_linux-x64_bin.tar.gz#93db5fd373fc8eb5a5578387f7646cfd414b82e8cfaf9dbcd0145ceae0137398" truffleruby_graalvm
;;
Linux-aarch64)
install_package "truffleruby+graalvm-23.0.0" "https://download.oracle.com/graalvm/17/archive/graalvm-jdk-17.0.7_linux-aarch64_bin.tar.gz#73256df1af0507f8cb230bafe506e4dcaba2b3e6d8bb1324bf5a02198890ef97" truffleruby_graalvm
;;
Darwin-x86_64)
install_package "truffleruby+graalvm-23.0.0" "https://download.oracle.com/graalvm/17/archive/graalvm-jdk-17.0.7_macos-x64_bin.tar.gz#905255762546c69e3bb8d815a5d20e2e3cfa5332b868ab90af7aa0afe21e74ea" truffleruby_graalvm
;;
Darwin-arm64)
install_package "truffleruby+graalvm-23.0.0" "https://download.oracle.com/graalvm/17/archive/graalvm-jdk-17.0.7_macos-aarch64_bin.tar.gz#cb45f6585ef02134a6a6ffb6de20db96197486ffef8821ad97b11fe2fc0c23b8" truffleruby_graalvm
;;
*)
colorize 1 "Unsupported platform: $platform"
return 1
;;
esac