mirror of https://github.com/grpc/grpc-java.git
Fix aarch_64 macs not being able to build the compiler module. (#10516)
This commit is contained in:
parent
2b4f649b0a
commit
3fad52129f
|
|
@ -65,6 +65,7 @@ model {
|
||||||
target("loongarch_64")
|
target("loongarch_64")
|
||||||
}
|
}
|
||||||
clang(Clang) {
|
clang(Clang) {
|
||||||
|
target("aarch_64") {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -92,6 +92,8 @@ checkArch ()
|
||||||
assertEq "$format" "i386" $LINENO
|
assertEq "$format" "i386" $LINENO
|
||||||
elif [[ "$ARCH" == x86_64 ]]; then
|
elif [[ "$ARCH" == x86_64 ]]; then
|
||||||
assertEq "$format" "x86_64" $LINENO
|
assertEq "$format" "x86_64" $LINENO
|
||||||
|
elif [[ "$ARCH" == aarch_64 ]]; then
|
||||||
|
assertEq "$format" "arm64" $LINENO
|
||||||
else
|
else
|
||||||
fail "Unsupported arch: $ARCH"
|
fail "Unsupported arch: $ARCH"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue