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
16 lines
851 B
Text
16 lines
851 B
Text
platform="$(uname -s)-$(uname -m)"
|
|
case $platform in
|
|
Linux-x86_64)
|
|
install_package "truffleruby-21.3.0" "https://github.com/oracle/truffleruby/releases/download/vm-21.3.0/truffleruby-21.3.0-linux-amd64.tar.gz#d439f741deaff47a9564c70b737c96176b1aa88cf79a5b139e18fd5480c61079" truffleruby
|
|
;;
|
|
Linux-aarch64)
|
|
install_package "truffleruby-21.3.0" "https://github.com/oracle/truffleruby/releases/download/vm-21.3.0/truffleruby-21.3.0-linux-aarch64.tar.gz#110298de4743abf156314fb06011cb2f92c52b6ee2ef4cbb8b28ff1933672940" truffleruby
|
|
;;
|
|
Darwin-x86_64)
|
|
install_package "truffleruby-21.3.0" "https://github.com/oracle/truffleruby/releases/download/vm-21.3.0/truffleruby-21.3.0-macos-amd64.tar.gz#3ca0c851386d872239404d41c69f1ba738332eb25da6cf89e157fa1356e68de0" truffleruby
|
|
;;
|
|
*)
|
|
colorize 1 "Unsupported platform: $platform"
|
|
return 1
|
|
;;
|
|
esac
|