Loading bin/ruby-build +2 −44 Original line number Diff line number Diff line Loading @@ -896,51 +896,9 @@ require_gcc() { local stub=1 } # Kept for backward compatibility with 3rd-party Rubinius definitions. require_llvm() { local llvm_version="$1" if is_mac -ge 1010; then if [[ "$RUBY_CONFIGURE_OPTS" != *--llvm-* ]]; then case "$llvm_version" in 3.2 ) package_option ruby configure --prebuilt-name="llvm-3.2-x86_64-apple-darwin13.tar.bz2" ;; 3.[56] ) local llvm_config="$(locate_llvm "$llvm_version")" if [ -n "$llvm_config" ]; then package_option ruby configure --llvm-config="$llvm_config" else local homebrew_package="llvm@$llvm_version" { echo colorize 1 "ERROR" echo ": Rubinius will not be able to compile using Apple's LLVM-based " echo "build tools on OS X. You will need to install LLVM $llvm_version first." echo colorize 1 "TO FIX THE PROBLEM" echo ": Install Homebrew's llvm package with this" echo -n "command: " colorize 4 "brew install $homebrew_package" echo } >&3 return 1 fi ;; esac fi fi } locate_llvm() { local llvm_version="$1" local package llvm_config shopt -s nullglob for package in `brew list 2>/dev/null | grep "^llvm"`; do llvm_config="$(echo "$(brew --prefix "$package")/bin/llvm-config"*)" if [ -n "$llvm_config" ] && [[ "$("$llvm_config" --version)" = "$llvm_version"* ]]; then echo "$llvm_config" break fi done shopt -u nullglob local stub=1 } needs_yaml() { Loading share/ruby-build/rbx-2.10 +0 −1 Original line number Diff line number Diff line require_llvm 3.5 install_package "openssl-1.0.2u" "https://www.openssl.org/source/openssl-1.0.2u.tar.gz#ecd0c6ffb493dd06707d38b14bb4d8c2288bb7033735606569d8f90f89669d16" openssl --if needs_openssl_096_102 install_package "rubinius-2.10" "https://rubinius-releases-rubinius-com.s3.amazonaws.com/rubinius-2.10.tar.bz2#c8047557a3d8513e4b10c661014e22901a24ec0aad71f0f1ffd3a8b31d58e694" warn_eol rbx share/ruby-build/rbx-2.11 +0 −1 Original line number Diff line number Diff line require_llvm 3.5 install_package "openssl-1.0.2u" "https://www.openssl.org/source/openssl-1.0.2u.tar.gz#ecd0c6ffb493dd06707d38b14bb4d8c2288bb7033735606569d8f90f89669d16" openssl --if needs_openssl_096_102 install_package "rubinius-2.11" "https://rubinius-releases-rubinius-com.s3.amazonaws.com/rubinius-2.11.tar.bz2#5a9ce5c86a4a566a088f379cf2889aa14d8fcd8b2295d5571f61bf43a9548b97" warn_eol rbx share/ruby-build/rbx-2.2.10 +0 −1 Original line number Diff line number Diff line require_llvm 3.2 install_package "rubinius-2.2.10" "https://github.com/rubinius/rubinius/releases/download/v2.2.10/rubinius-2.2.10.tar.bz2#3cb1a6ab2eba19b6dc84734666bb17a34332d247641b1a88b4c9324c69347780" warn_eol rbx share/ruby-build/rbx-2.2.2 +0 −1 Original line number Diff line number Diff line require_llvm 3.2 install_package "rubinius-2.2.2" "https://github.com/rubinius/rubinius/releases/download/v2.2.2/rubinius-2.2.2.tar.bz2#a49d596f889405e4fc511da64b8afe5eccfafdcee5ea99be15d3ad36290ec2ba" warn_eol rbx Loading
bin/ruby-build +2 −44 Original line number Diff line number Diff line Loading @@ -896,51 +896,9 @@ require_gcc() { local stub=1 } # Kept for backward compatibility with 3rd-party Rubinius definitions. require_llvm() { local llvm_version="$1" if is_mac -ge 1010; then if [[ "$RUBY_CONFIGURE_OPTS" != *--llvm-* ]]; then case "$llvm_version" in 3.2 ) package_option ruby configure --prebuilt-name="llvm-3.2-x86_64-apple-darwin13.tar.bz2" ;; 3.[56] ) local llvm_config="$(locate_llvm "$llvm_version")" if [ -n "$llvm_config" ]; then package_option ruby configure --llvm-config="$llvm_config" else local homebrew_package="llvm@$llvm_version" { echo colorize 1 "ERROR" echo ": Rubinius will not be able to compile using Apple's LLVM-based " echo "build tools on OS X. You will need to install LLVM $llvm_version first." echo colorize 1 "TO FIX THE PROBLEM" echo ": Install Homebrew's llvm package with this" echo -n "command: " colorize 4 "brew install $homebrew_package" echo } >&3 return 1 fi ;; esac fi fi } locate_llvm() { local llvm_version="$1" local package llvm_config shopt -s nullglob for package in `brew list 2>/dev/null | grep "^llvm"`; do llvm_config="$(echo "$(brew --prefix "$package")/bin/llvm-config"*)" if [ -n "$llvm_config" ] && [[ "$("$llvm_config" --version)" = "$llvm_version"* ]]; then echo "$llvm_config" break fi done shopt -u nullglob local stub=1 } needs_yaml() { Loading
share/ruby-build/rbx-2.10 +0 −1 Original line number Diff line number Diff line require_llvm 3.5 install_package "openssl-1.0.2u" "https://www.openssl.org/source/openssl-1.0.2u.tar.gz#ecd0c6ffb493dd06707d38b14bb4d8c2288bb7033735606569d8f90f89669d16" openssl --if needs_openssl_096_102 install_package "rubinius-2.10" "https://rubinius-releases-rubinius-com.s3.amazonaws.com/rubinius-2.10.tar.bz2#c8047557a3d8513e4b10c661014e22901a24ec0aad71f0f1ffd3a8b31d58e694" warn_eol rbx
share/ruby-build/rbx-2.11 +0 −1 Original line number Diff line number Diff line require_llvm 3.5 install_package "openssl-1.0.2u" "https://www.openssl.org/source/openssl-1.0.2u.tar.gz#ecd0c6ffb493dd06707d38b14bb4d8c2288bb7033735606569d8f90f89669d16" openssl --if needs_openssl_096_102 install_package "rubinius-2.11" "https://rubinius-releases-rubinius-com.s3.amazonaws.com/rubinius-2.11.tar.bz2#5a9ce5c86a4a566a088f379cf2889aa14d8fcd8b2295d5571f61bf43a9548b97" warn_eol rbx
share/ruby-build/rbx-2.2.10 +0 −1 Original line number Diff line number Diff line require_llvm 3.2 install_package "rubinius-2.2.10" "https://github.com/rubinius/rubinius/releases/download/v2.2.10/rubinius-2.2.10.tar.bz2#3cb1a6ab2eba19b6dc84734666bb17a34332d247641b1a88b4c9324c69347780" warn_eol rbx
share/ruby-build/rbx-2.2.2 +0 −1 Original line number Diff line number Diff line require_llvm 3.2 install_package "rubinius-2.2.2" "https://github.com/rubinius/rubinius/releases/download/v2.2.2/rubinius-2.2.2.tar.bz2#a49d596f889405e4fc511da64b8afe5eccfafdcee5ea99be15d3ad36290ec2ba" warn_eol rbx