summaryrefslogtreecommitdiffhomepage
path: root/.bazelrc
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2020-12-30 01:28:26 -0800
committerAndrei Vagin <avagin@gmail.com>2021-01-07 17:41:43 -0800
commit8de562b79942f5383ffbe67873df07509ca7fcb0 (patch)
tree319862c9742914020a08a6087d1f5054c3040b4e /.bazelrc
parent599a3d0fb4cabbe6c56f4ac34dc9381eee365f52 (diff)
Add ARM smoke test
make BAZEL_CONFIG=aarch64 arm-qemu-smoke-test Signed-off-by: Andrei Vagin <avagin@gmail.com>
Diffstat (limited to '.bazelrc')
-rw-r--r--.bazelrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.bazelrc b/.bazelrc
index 9eee6bea5..413cee3b0 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -20,3 +20,8 @@ build --cxxopt=-std=c++17
# Display the current git revision in the info block.
build --stamp --workspace_status_command tools/workspace_status.sh
+
+# Set flags for aarch64.
+build:cross-aarch64 --crosstool_top=@crosstool//:toolchains --compiler=gcc
+build:cross-aarch64 --cpu=aarch64
+build:cross-aarch64 --platforms=@io_bazel_rules_go//go/toolchain:linux_arm64