mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-01-01 14:44:48 +01:00
Allow to install Artichoke's ARM builds on macOS
This commit is contained in:
parent
5de6d5f555
commit
1c9ab8ebb6
1 changed files with 12 additions and 1 deletions
|
@ -3,7 +3,18 @@ Linux)
|
|||
install_package "artichoke-nightly" "https://github.com/artichoke/nightly/releases/latest/download/artichoke-nightly-x86_64-unknown-linux-gnu.tar.gz" artichoke
|
||||
;;
|
||||
Darwin)
|
||||
install_package "artichoke-nightly" "https://github.com/artichoke/nightly/releases/latest/download/artichoke-nightly-x86_64-apple-darwin.tar.gz" artichoke
|
||||
case $(uname -m) in
|
||||
arm64)
|
||||
install_package "artichoke-nightly" "https://github.com/artichoke/nightly/releases/latest/download/artichoke-nightly-aarch64-apple-darwin.tar.gz" artichoke
|
||||
;;
|
||||
x86_64)
|
||||
install_package "artichoke-nightly" "https://github.com/artichoke/nightly/releases/latest/download/artichoke-nightly-x86_64-apple-darwin.tar.gz" artichoke
|
||||
;;
|
||||
*)
|
||||
colorize 1 "Unsupported architecture: $(uname -m)"
|
||||
return 1
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
colorize 1 "Unsupported operating system: $(uname -s)"
|
||||
|
|
Loading…
Reference in a new issue