Skip to content
Snippets Groups Projects
Commit 172f33e5 authored by Gerard Hickey's avatar Gerard Hickey
Browse files

Merge branch 'use-x86_64-binary-for-apple-silicon' into 'master'

For apple silicon we should set arch to x86_64 instead of aarch64 for now.

See merge request !1
parents b14c1040 6b3d5620
No related branches found
No related tags found
1 merge request!1For apple silicon we should set arch to x86_64 instead of aarch64 for now.
Pipeline #325374003 passed
......@@ -29,9 +29,14 @@ install_ripgrep() {
get_arch() {
arch=$(uname -m | tr '[:upper:]' '[:lower:]')
local platform="$(get_platform)"
case ${arch} in
arm64)
arch='aarch64'
if [ $platform = "apple-darwin" ]; then
arch='x86_64'
else
arch='aarch64'
fi
;;
esac
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment