Skip to content

Commit

Permalink
Fix aarch_64 macs not being able to build the compiler module. (#10516)
Browse files Browse the repository at this point in the history
  • Loading branch information
larry-safran committed Aug 23, 2023
1 parent 2b4f649 commit 3fad521
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions compiler/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ model {
target("loongarch_64")
}
clang(Clang) {
target("aarch_64") {}
}
}

Expand Down
2 changes: 2 additions & 0 deletions compiler/check-artifact.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ checkArch ()
assertEq "$format" "i386" $LINENO
elif [[ "$ARCH" == x86_64 ]]; then
assertEq "$format" "x86_64" $LINENO
elif [[ "$ARCH" == aarch_64 ]]; then
assertEq "$format" "arm64" $LINENO
else
fail "Unsupported arch: $ARCH"
fi
Expand Down

0 comments on commit 3fad521

Please sign in to comment.