Skip to content

Commit 878ec6d

Browse files
authored
[linux-arm64] set "mkl_aarch64" bazel config for linux-arm64 platform (#502)
1 parent 4851715 commit 878ec6d

File tree

1 file changed

+5
-0
lines changed
  • tensorflow-core/tensorflow-core-api

1 file changed

+5
-0
lines changed

tensorflow-core/tensorflow-core-api/build.sh

+5
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ if [[ "${PLATFORM:-}" == macosx-arm64 ]]; then
2222
BUILD_FLAGS="$BUILD_FLAGS --config=macos_arm64"
2323
fi
2424

25+
# Add platform specific flags
26+
if [[ "${PLATFORM:-}" == linux-arm64 ]]; then
27+
BUILD_FLAGS="--config=mkl_aarch64"
28+
fi
29+
2530
if [[ "${EXTENSION:-}" == *mkl* ]]; then
2631
BUILD_FLAGS="$BUILD_FLAGS --config=mkl"
2732
fi

0 commit comments

Comments
 (0)