Skip to content

Commit

Permalink
Add TruffleRuby and TruffleRuby GraalVM 24.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Jan 27, 2025
1 parent 1db199c commit af06991
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.1.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.1.2" "https://github.com/oracle/truffleruby/releases/download/graal-24.1.2/truffleruby-jvm-24.1.2-linux-amd64.tar.gz#8446c9e32c2bc470b1fd563027be25409b0130ff678d8a19395c58e7f3ecb19d" truffleruby
;;
Linux-aarch64)
install_package "truffleruby+graalvm-24.1.2" "https://github.com/oracle/truffleruby/releases/download/graal-24.1.2/truffleruby-jvm-24.1.2-linux-aarch64.tar.gz#d5750763e0b23a7dc024e7c0e3082ff0b69a9047a91b7b451786f41dc09011bd" truffleruby
;;
Darwin-x86_64)
install_package "truffleruby+graalvm-24.1.2" "https://github.com/oracle/truffleruby/releases/download/graal-24.1.2/truffleruby-jvm-24.1.2-macos-amd64.tar.gz#c6b1b7622bbca547f6a4f1aea7f11c651ad42a0b99cd47d13760c01f698da5a8" truffleruby
;;
Darwin-arm64)
install_package "truffleruby+graalvm-24.1.2" "https://github.com/oracle/truffleruby/releases/download/graal-24.1.2/truffleruby-jvm-24.1.2-macos-aarch64.tar.gz#d2c81d66dea2f399b5da7d636164d3ed9cc5613de7ea45d1f93f041f22f075f6" truffleruby
;;
*)
colorize 1 "Unsupported platform: $platform"
return 1
;;
esac
19 changes: 19 additions & 0 deletions share/ruby-build/truffleruby-24.1.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.1.2" "https://github.com/oracle/truffleruby/releases/download/graal-24.1.2/truffleruby-24.1.2-linux-amd64.tar.gz#4afe5aa648f62c49dc4db8774fa0abb1340a16139f5ba8d7b2a263b915f984c0" truffleruby
;;
Linux-aarch64)
install_package "truffleruby-24.1.2" "https://github.com/oracle/truffleruby/releases/download/graal-24.1.2/truffleruby-24.1.2-linux-aarch64.tar.gz#9015dc9686a10c64d8e58ae65ce811aed0379e1f124b588b35d57a3bf50c10ed" truffleruby
;;
Darwin-x86_64)
install_package "truffleruby-24.1.2" "https://github.com/oracle/truffleruby/releases/download/graal-24.1.2/truffleruby-24.1.2-macos-amd64.tar.gz#e9027db1619993d0b8dbde4fddc3aa365300a4f9614025802c87003ee577675b" truffleruby
;;
Darwin-arm64)
install_package "truffleruby-24.1.2" "https://github.com/oracle/truffleruby/releases/download/graal-24.1.2/truffleruby-24.1.2-macos-aarch64.tar.gz#8afd690aa9e8606869809f3139ab811a02c176b83d398971269c7acac7b8d74f" truffleruby
;;
*)
colorize 1 "Unsupported platform: $platform"
return 1
;;
esac

0 comments on commit af06991

Please sign in to comment.