diff options
author | Bc. Martin Kubovčík <74611856+markub3327@users.noreply.github.com> | 2021-07-20 18:58:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-20 12:58:46 -0400 |
commit | 2e94e5b6e152df9fa9c2fe8c1b96e1393973d32c (patch) | |
tree | 54ec5aaf1e800a81695b1a84bb51edb5a142cf22 | |
parent | d61843e5311041aa6b552dfcc42556615c5c5527 (diff) |
Fix Bazel build on aarch64 (#984)
-rw-r--r-- | absl/copts/configure_copts.bzl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/absl/copts/configure_copts.bzl b/absl/copts/configure_copts.bzl index 669a9060..40d5849a 100644 --- a/absl/copts/configure_copts.bzl +++ b/absl/copts/configure_copts.bzl @@ -50,6 +50,7 @@ ABSL_RANDOM_RANDEN_COPTS = select({ ":cpu_x64_windows": ABSL_RANDOM_HWAES_MSVC_X64_FLAGS, ":cpu_k8": ABSL_RANDOM_HWAES_X64_FLAGS, ":cpu_ppc": ["-mcrypto"], + ":cpu_aarch64": ABSL_RANDOM_HWAES_ARM64_FLAGS, # Supported by default or unsupported. "//conditions:default": [], @@ -70,6 +71,7 @@ def absl_random_randen_copts_init(): "darwin", "x64_windows_msvc", "x64_windows", + "aarch64", ] for cpu in cpu_configs: native.config_setting( |