Skip to content
Snippets Groups Projects
Commit 6b3d5620 authored by Johnny O's avatar Johnny O
Browse files

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

parent ca58ec9d
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.
......@@ -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