Skip to content

Commit

Permalink
Add TruffleRuby and TruffleRuby GraalVM 24.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Jul 22, 2024
1 parent 836e3be commit 4d25825
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
19 changes: 19 additions & 0 deletions share/ruby-build/truffleruby+graalvm-24.0.2
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
platform="$(uname -s)-$(uname -m)"
case $platform in
Linux-x86_64)
install_package "truffleruby+graalvm-24.0.2" "https://github.com/oracle/truffleruby/releases/download/graal-24.0.2/truffleruby-jvm-24.0.2-linux-amd64.tar.gz#09df3938999d648805f0bd79b03d6c201f569a6b8d87a390f7f11a055ecc425f" truffleruby
;;
Linux-aarch64)
install_package "truffleruby+graalvm-24.0.2" "https://github.com/oracle/truffleruby/releases/download/graal-24.0.2/truffleruby-jvm-24.0.2-linux-aarch64.tar.gz#f16f620e1cd5e44317b11ba7612aee769366c82b272e01a926b393db7947a954" truffleruby
;;
Darwin-x86_64)
install_package "truffleruby+graalvm-24.0.2" "https://github.com/oracle/truffleruby/releases/download/graal-24.0.2/truffleruby-jvm-24.0.2-macos-amd64.tar.gz#afcbd9b3be8a4b8ffc06747069413cf1c6baaf5bccfbb0d77579412ab8b7b8e9" truffleruby
;;
Darwin-arm64)
install_package "truffleruby+graalvm-24.0.2" "https://github.com/oracle/truffleruby/releases/download/graal-24.0.2/truffleruby-jvm-24.0.2-macos-aarch64.tar.gz#a493ea108d8c7b978d3c4aa5eac956d0f1aeea2fdc73d7ff20b6da3ce87496fa" truffleruby
;;
*)
colorize 1 "Unsupported platform: $platform"
return 1
;;
esac
19 changes: 19 additions & 0 deletions share/ruby-build/truffleruby-24.0.2
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
platform="$(uname -s)-$(uname -m)"
case $platform in
Linux-x86_64)
install_package "truffleruby-24.0.2" "https://github.com/oracle/truffleruby/releases/download/graal-24.0.2/truffleruby-24.0.2-linux-amd64.tar.gz#2db4993844462787a01e5a5756090deaed74dc00331b9ba9bb62275d5177ff6c" truffleruby
;;
Linux-aarch64)
install_package "truffleruby-24.0.2" "https://github.com/oracle/truffleruby/releases/download/graal-24.0.2/truffleruby-24.0.2-linux-aarch64.tar.gz#212f1149825c01e798e2c6dacb7d417ef6faa8c1a8322ca8ee3bd7ba31f45010" truffleruby
;;
Darwin-x86_64)
install_package "truffleruby-24.0.2" "https://github.com/oracle/truffleruby/releases/download/graal-24.0.2/truffleruby-24.0.2-macos-amd64.tar.gz#427a533b702f4ba186595ea96e5bd268dcc8817c64f1b081fac8b8d888fe8d9f" truffleruby
;;
Darwin-arm64)
install_package "truffleruby-24.0.2" "https://github.com/oracle/truffleruby/releases/download/graal-24.0.2/truffleruby-24.0.2-macos-aarch64.tar.gz#5708d2df6158a0865036d51562fecbe41069e2d463c520a648d8d5dc92129525" truffleruby
;;
*)
colorize 1 "Unsupported platform: $platform"
return 1
;;
esac

0 comments on commit 4d25825

Please sign in to comment.