Skip to content

Commit

Permalink
Added a sub case for Darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
Knute Lingaard authored and timsnyder committed May 16, 2023
1 parent f167ec3 commit 96218fb
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions scripts/render_recipe_for_platform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,21 @@ fi

case "$(uname)" in
Darwin)
conda_platform='osx_64'
case "$(uname -m)" in
x86_64)
conda_platform='osx_64'
;;
arm64)
conda_platform='osx_arm64'
;;
esac
;;
Linux)
conda_platform='linux_64'
;;
*)
echo "::ERROR:: Unknown uname '$(uname)'"
exit 1
echo "::ERROR:: Unknown uname '$(uname)'"
exit 1
;;
esac

Expand Down

0 comments on commit 96218fb

Please sign in to comment.