Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2022-05-12 13:04:14 +0300
committerBenjamin Kramer <benny.kra@googlemail.com>2022-05-12 13:04:14 +0300
commitca6cbbe8d0ca2a813a9c706af007a914f30adb92 (patch)
tree883e50353e8fd97eb20e32c1a6c544ecb7b66711 /utils
parent27dad99622bb16fc7ba94beda26dded9023bf2cd (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.bzl1
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"),
}) + [