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
869 B
Groff
16 lines
869 B
Groff
platform="$(uname -s)-$(uname -m)"
|
|
case $platform in
|
|
Linux-x86_64)
|
|
install_package "truffleruby-22.0.0.2" "https://github.com/oracle/truffleruby/releases/download/vm-22.0.0.2/truffleruby-22.0.0.2-linux-amd64.tar.gz#d09a1231d389c10b1334ec377ced371a4f22a6bdba57374964f666d9345921d0" truffleruby
|
|
;;
|
|
Linux-aarch64)
|
|
install_package "truffleruby-22.0.0.2" "https://github.com/oracle/truffleruby/releases/download/vm-22.0.0.2/truffleruby-22.0.0.2-linux-aarch64.tar.gz#a758e3021c863d5b7a5090c16db862cf21de6d4ecccd98982fee33fb302c9246" truffleruby
|
|
;;
|
|
Darwin-x86_64)
|
|
install_package "truffleruby-22.0.0.2" "https://github.com/oracle/truffleruby/releases/download/vm-22.0.0.2/truffleruby-22.0.0.2-macos-amd64.tar.gz#f49cba9d8dcb1fc2ae95ffb6b325cad8e4697f844945521daf445020202f23b4" truffleruby
|
|
;;
|
|
*)
|
|
colorize 1 "Unsupported platform: $platform"
|
|
return 1
|
|
;;
|
|
esac
|