summaryrefslogtreecommitdiff
path: root/absl/BUILD.bazel
diff options
context:
space:
mode:
authorGravatar Derek Mauro <dmauro@google.com>2024-01-09 09:57:27 -0800
committerGravatar Copybara-Service <copybara-worker@google.com>2024-01-09 09:58:40 -0800
commit19599937197b3506c3bdd2e81dc185141b6f436c (patch)
tree925fc01c4949269f1155f4701d3cecb13c129d9e /absl/BUILD.bazel
parent6d21df714aa6a2ab2fc4029ca71dcff2daa03ca1 (diff)
Update Windows and MacOS CI builds to Bazel 7.0.0
This changes the way in which clang-cl is selected on Windows as it has changed: https://bazel.build/configure/windows#clang --features=external_include_paths has been removed from Windows builds since it appears cause build command errors currently PiperOrigin-RevId: 596965732 Change-Id: I95b636a9a4fdcc4172c3bb8c6cb28d5f7db592c9
Diffstat (limited to 'absl/BUILD.bazel')
-rw-r--r--absl/BUILD.bazel11
1 files changed, 11 insertions, 0 deletions
diff --git a/absl/BUILD.bazel b/absl/BUILD.bazel
index 253c0aef..14c30b38 100644
--- a/absl/BUILD.bazel
+++ b/absl/BUILD.bazel
@@ -68,6 +68,17 @@ config_setting(
visibility = [":__subpackages__"],
)
+# x64_windows-clang-cl - used for selecting clang-cl for CI builds
+platform(
+ name = "x64_windows-clang-cl",
+ constraint_values = [
+ "@platforms//cpu:x86_64",
+ "@platforms//os:windows",
+ "@bazel_tools//tools/cpp:clang-cl",
+ ],
+ visibility = [":__subpackages__"],
+)
+
config_setting(
name = "osx",
constraint_values = [