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.1 KiB
Groff
19 lines
1.1 KiB
Groff
platform="$(uname -s)-$(uname -m)"
|
|
case $platform in
|
|
Linux-x86_64)
|
|
install_package "truffleruby-22.3.1" "https://github.com/oracle/truffleruby/releases/download/vm-22.3.1/truffleruby-22.3.1-linux-amd64.tar.gz#dbc7a3abc58c351b0d5d2d3924549a1cc46a1a40e7fe878b3a85eb2fc416ad35" truffleruby
|
|
;;
|
|
Linux-aarch64)
|
|
install_package "truffleruby-22.3.1" "https://github.com/oracle/truffleruby/releases/download/vm-22.3.1/truffleruby-22.3.1-linux-aarch64.tar.gz#6dbb9f14974be8cdd61b67b48579d4adebd625a3e90924332ebb6d319475fe1c" truffleruby
|
|
;;
|
|
Darwin-x86_64)
|
|
install_package "truffleruby-22.3.1" "https://github.com/oracle/truffleruby/releases/download/vm-22.3.1/truffleruby-22.3.1-macos-amd64.tar.gz#2830041ec4a2104e147ac01545e9b5a92b311701e71efa70695227153d6c4269" truffleruby
|
|
;;
|
|
Darwin-arm64)
|
|
install_package "truffleruby-22.3.1" "https://github.com/oracle/truffleruby/releases/download/vm-22.3.1/truffleruby-22.3.1-macos-aarch64.tar.gz#561031086a351d3d48cf5a42e849a8c8ecd0ef1a02f2fe803712b2cbff9e7d94" truffleruby
|
|
;;
|
|
*)
|
|
colorize 1 "Unsupported platform: $platform"
|
|
return 1
|
|
;;
|
|
esac
|