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.3 KiB
Text
19 lines
1.3 KiB
Text
platform="$(uname -s)-$(uname -m)"
|
|
case $platform in
|
|
Linux-x86_64)
|
|
install_package "truffleruby+graalvm-23.0.0-preview1" "https://github.com/oracle/truffleruby/releases/download/vm-23.0.0-preview1/graalvm-ruby-community-23.0.0-preview1-jdk17-linux-amd64.tar.gz#973aabc7b5bd5d6c0c67c03e83972173a74b16f4905785988a13daff7107ed4c" truffleruby_graalvm
|
|
;;
|
|
Linux-aarch64)
|
|
install_package "truffleruby+graalvm-23.0.0-preview1" "https://github.com/oracle/truffleruby/releases/download/vm-23.0.0-preview1/graalvm-ruby-community-23.0.0-preview1-jdk17-linux-aarch64.tar.gz#b8b6f6493219b5435eea87305cdb14b8f5af7b8d45097840afaf314428756748" truffleruby_graalvm
|
|
;;
|
|
Darwin-x86_64)
|
|
install_package "truffleruby+graalvm-23.0.0-preview1" "https://github.com/oracle/truffleruby/releases/download/vm-23.0.0-preview1/graalvm-ruby-community-23.0.0-preview1-jdk17-darwin-amd64.tar.gz#dd7370352697325e0cfa25d069a64903103601bfacc7c7e1c515409e9cf74386" truffleruby_graalvm
|
|
;;
|
|
Darwin-arm64)
|
|
install_package "truffleruby+graalvm-23.0.0-preview1" "https://github.com/oracle/truffleruby/releases/download/vm-23.0.0-preview1/graalvm-ruby-community-23.0.0-preview1-jdk17-darwin-aarch64.tar.gz#bfe1c1227d3648bbdaf4e40716e12729c5f1f66a40983d3ca3d2f814f570d4e0" truffleruby_graalvm
|
|
;;
|
|
*)
|
|
colorize 1 "Unsupported platform: $platform"
|
|
return 1
|
|
;;
|
|
esac
|