aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAppu <appu@google.com>2023-10-05 11:39:32 -0400
committerGitHub <noreply@github.com>2023-10-05 11:39:32 -0400
commit8ff1c11d9696c1d8b76710b967d74a64a06a84a2 (patch)
treec2227941402d2349d502a3fff46541527aa4e694
parentf55a7d353296debaada7767b2245f1319781f70a (diff)
downloadbazelbuild-platforms-8ff1c11d9696c1d8b76710b967d74a64a06a84a2.tar.gz
Add ppc64le cpu (#64)
This is a specific cpu variant of ppc64 in little-endian mode. GOARCH has equivalent: https://gist.github.com/asukakenji/f15ba7e588ac42795f421b48b8aede63#goarch-values Debian also builds (though with weird naming): https://wiki.debian.org/ppc64el It is weird that the other entries here are ppc and ppc32, I would actually expect ppc and ppc64 but :shrug:
-rw-r--r--cpu/BUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpu/BUILD b/cpu/BUILD
index 9670e0c..6497452 100644
--- a/cpu/BUILD
+++ b/cpu/BUILD
@@ -145,6 +145,11 @@ constraint_value(
)
constraint_value(
+ name = "ppc64le",
+ constraint_setting = ":cpu",
+)
+
+constraint_value(
name = "s390x",
constraint_setting = ":cpu",
)