Skip to content

Commit

Permalink
Only do multiple system gcroots on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom McLaughlin committed Dec 6, 2024
1 parent 381ee5b commit 4e1e926
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .aliases/dev-root
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,9 @@ set -eo pipefail
SCRIPTDIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
cd "$SCRIPTDIR/.."

nix build .#packages.aarch64-darwin.gcroots -o .gcroots-aarch64-darwin
nix build .#packages.x86_64-darwin.gcroots -o .gcroots-x86_64-darwin
if [ "$(uname)" = "Darwin" ]; then
nix build .#packages.aarch64-darwin.gcroots -o .gcroots-aarch64-darwin
nix build .#packages.x86_64-darwin.gcroots -o .gcroots-x86_64-darwin
else
nix build .#gcroots -o .gcroots
fi

0 comments on commit 4e1e926

Please sign in to comment.