rbenv-ruby-build/share/ruby-build/truffleruby+graalvm-23.1.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.1 KiB
Text

platform="$(uname -s)-$(uname -m)"
case $platform in
Linux-x86_64)
install_package "truffleruby+graalvm-23.1.0" "https://github.com/oracle/truffleruby/releases/download/graal-23.1.0/truffleruby-jvm-23.1.0-linux-amd64.tar.gz#c443fe341633640afecb23287f0b862071f2c45a1f1023a5012203430c91f38a" truffleruby
;;
Linux-aarch64)
install_package "truffleruby+graalvm-23.1.0" "https://github.com/oracle/truffleruby/releases/download/graal-23.1.0/truffleruby-jvm-23.1.0-linux-aarch64.tar.gz#691550c167cb37d4b15f9b56337b86ec481407a22e9408597b06703794c16f57" truffleruby
;;
Darwin-x86_64)
install_package "truffleruby+graalvm-23.1.0" "https://github.com/oracle/truffleruby/releases/download/graal-23.1.0/truffleruby-jvm-23.1.0-macos-amd64.tar.gz#1a573c85e384b80efc4974cba6f6da68961589708110e1d2b7ac9c2029e7447e" truffleruby
;;
Darwin-arm64)
install_package "truffleruby+graalvm-23.1.0" "https://github.com/oracle/truffleruby/releases/download/graal-23.1.0/truffleruby-jvm-23.1.0-macos-aarch64.tar.gz#1309c448dfdd98b7d77457e6a864e95be0c6acfbd0d9d9cd361eca46b96266de" truffleruby
;;
*)
colorize 1 "Unsupported platform: $platform"
return 1
;;
esac