diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2022-05-12 13:04:14 +0300 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2022-05-12 13:04:14 +0300 |
commit | ca6cbbe8d0ca2a813a9c706af007a914f30adb92 (patch) | |
tree | 883e50353e8fd97eb20e32c1a6c544ecb7b66711 /utils | |
parent | 27dad99622bb16fc7ba94beda26dded9023bf2cd (diff) |
[bazel] Add support for configuring the bazel build for PPC
TF already carries a patch for this.
Diffstat (limited to 'utils')
-rw-r--r-- | utils/bazel/llvm-project-overlay/llvm/config.bzl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/bazel/llvm-project-overlay/llvm/config.bzl b/utils/bazel/llvm-project-overlay/llvm/config.bzl index 0d3a5de2f20b..5beb3cc7c410 100644 --- a/utils/bazel/llvm-project-overlay/llvm/config.bzl +++ b/utils/bazel/llvm-project-overlay/llvm/config.bzl @@ -85,6 +85,7 @@ llvm_config_defines = os_defines + select({ "@bazel_tools//src/conditions:darwin_arm64": native_arch_defines("AArch64", "arm64-apple-darwin"), "@bazel_tools//src/conditions:darwin_x86_64": native_arch_defines("X86", "x86_64-unknown-darwin"), "@bazel_tools//src/conditions:linux_aarch64": native_arch_defines("AArch64", "aarch64-unknown-linux-gnu"), + "@bazel_tools//src/conditions:linux_ppc64le": native_arch_defines("PowerPC", "powerpc64le-unknown-linux-gnu"), "@bazel_tools//src/conditions:linux_s390x": native_arch_defines("SystemZ", "systemz-unknown-linux_gnu"), "//conditions:default": native_arch_defines("X86", "x86_64-unknown-linux-gnu"), }) + [ |