[llvm] [Bazel] Fix the PPC64LE platform constraint (PR #218180)
Corentin Kerisit via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 22 20:08:45 PDT 2026
https://github.com/cerisier created https://github.com/llvm/llvm-project/pull/218180
The linux_ppc64le selector used the generic ppc constraint even though the Bazel platforms repository provides a distinct ppc64le value. Select ppc64le so the existing PowerPC native architecture and powerpc64le-unknown-linux-gnu triple are reached only for the intended 64-bit little-endian platform, without matching 32-bit PPC.
>From 86d35f8843d34c6b11940dad949a40dcd1b97e69 Mon Sep 17 00:00:00 2001
From: Corentin Kerisit <corentin.kerisit at gmail.com>
Date: Sun, 23 Aug 2026 01:35:23 +0900
Subject: [PATCH] [Bazel] Fix PPC64LE platform constraint
---
utils/bazel/llvm-project-overlay/llvm/BUILD.bazel | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
index 31eb5b3b0e2f5..829febddd13ce 100644
--- a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
@@ -89,7 +89,7 @@ config_setting(
name = "linux_ppc64le",
constraint_values = [
"@platforms//os:linux",
- "@platforms//cpu:ppc",
+ "@platforms//cpu:ppc64le",
],
visibility = ["//visibility:public"],
)
More information about the llvm-commits
mailing list