From f08493ab8c1d1576dde0542a126919e38e588aa1 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Fri, 15 Mar 2024 14:35:23 +0100 Subject: [PATCH] Switch to EA builds from graalvm/graal-languages-ea-builds for truffleruby+graalvm-dev * See https://github.com/graalvm/graal-languages-ea-builds * These builds are based on Oracle GraalVM. --- share/ruby-build/truffleruby+graalvm-dev | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/share/ruby-build/truffleruby+graalvm-dev b/share/ruby-build/truffleruby+graalvm-dev index b1d242c8..231e2e33 100644 --- a/share/ruby-build/truffleruby+graalvm-dev +++ b/share/ruby-build/truffleruby+graalvm-dev @@ -1,19 +1,26 @@ platform="$(uname -s)-$(uname -m)" case $platform in Linux-x86_64) - install_package "truffleruby+graalvm-dev" "https://github.com/graalvm/graalvm-ce-dev-builds/releases/latest/download/truffleruby-community-jvm-dev-linux-amd64.tar.gz" truffleruby + url="https://raw.githubusercontent.com/graalvm/graal-languages-ea-builds/main/truffleruby/versions/latest-jvm-linux-amd64.url" ;; Linux-aarch64) - install_package "truffleruby+graalvm-dev" "https://github.com/graalvm/graalvm-ce-dev-builds/releases/latest/download/truffleruby-community-jvm-dev-linux-aarch64.tar.gz" truffleruby + url="https://raw.githubusercontent.com/graalvm/graal-languages-ea-builds/main/truffleruby/versions/latest-jvm-linux-aarch64.url" ;; Darwin-x86_64) - install_package "truffleruby+graalvm-dev" "https://github.com/graalvm/graalvm-ce-dev-builds/releases/latest/download/truffleruby-community-jvm-dev-macos-amd64.tar.gz" truffleruby + url="https://raw.githubusercontent.com/graalvm/graal-languages-ea-builds/main/truffleruby/versions/latest-jvm-darwin-amd64.url" ;; Darwin-arm64) - install_package "truffleruby+graalvm-dev" "https://github.com/graalvm/graalvm-ce-dev-builds/releases/latest/download/truffleruby-community-jvm-dev-macos-aarch64.tar.gz" truffleruby + url="https://raw.githubusercontent.com/graalvm/graal-languages-ea-builds/main/truffleruby/versions/latest-jvm-darwin-aarch64.url" ;; *) colorize 1 "Unsupported platform: $platform" return 1 ;; esac + +pushd "$BUILD_PATH" >/dev/null +http get $url url.txt +url=$(