mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-01-17 03:31:54 +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
12 lines
627 B
Text
12 lines
627 B
Text
case $(uname -s) in
|
|
Linux)
|
|
install_package "truffleruby+graalvm-20.2.0" "https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-20.2.0/graalvm-ce-java8-linux-amd64-20.2.0.tar.gz#60951c774c708caeebd1fa3886c05aa1260d81c7595ede0c9c3e689be7fcc4e8" truffleruby_graalvm
|
|
;;
|
|
Darwin)
|
|
install_package "truffleruby+graalvm-20.2.0" "https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-20.2.0/graalvm-ce-java8-darwin-amd64-20.2.0.tar.gz#a1f524788354cfd2434566f0de972372f4a7743919bae49a9d508f2080385e7b" truffleruby_graalvm
|
|
;;
|
|
*)
|
|
colorize 1 "Unsupported operating system: $(uname -s)"
|
|
return 1
|
|
;;
|
|
esac
|