James Kuszmaul | ba0ac1a | 2022-08-12 16:29:30 -0700 | [diff] [blame] | 1 | licenses(["notice"]) |
| 2 | |
| 3 | exports_files(["COPYING"]) |
| 4 | |
| 5 | load(":bazel/glog.bzl", "glog_library") |
| 6 | |
| 7 | glog_library() |
| 8 | |
| 9 | # platform() to build with clang-cl on Bazel CI. This is enabled with |
| 10 | # the flags in .bazelci/presubmit.yml: |
| 11 | # |
| 12 | # --incompatible_enable_cc_toolchain_resolution |
| 13 | # --extra_toolchains=@local_config_cc//:cc-toolchain-x64_windows-clang-cl |
| 14 | # --extra_execution_platforms=//:x64_windows-clang-cl |
| 15 | platform( |
| 16 | name = "x64_windows-clang-cl", |
| 17 | constraint_values = [ |
| 18 | "@platforms//cpu:x86_64", |
| 19 | "@platforms//os:windows", |
| 20 | "@bazel_tools//tools/cpp:clang-cl", |
| 21 | ], |
| 22 | ) |