-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This should catch issues like #801. This uses the new `tasks` syntax to define multiple Windows tasks: https://github.com/bazelbuild/continuous-integration/blob/master/buildkite/README.md#basic-syntax
- Loading branch information
Showing
2 changed files
with
46 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,22 @@ | ||
licenses(['notice']) | ||
licenses(["notice"]) | ||
|
||
exports_files(["COPYING"]) | ||
|
||
load(':bazel/glog.bzl', 'glog_library') | ||
load(":bazel/glog.bzl", "glog_library") | ||
|
||
glog_library() | ||
|
||
# platform() to build with clang-cl on Bazel CI. This is enabled with | ||
# the flags in .bazelci/presubmit.yml: | ||
# | ||
# --incompatible_enable_cc_toolchain_resolution | ||
# --extra_toolchains=@local_config_cc//:cc-toolchain-x64_windows-clang-cl | ||
# --extra_execution_platforms=//:x64_windows-clang-cl | ||
platform( | ||
name = "x64_windows-clang-cl", | ||
constraint_values = [ | ||
"@platforms//cpu:x86_64", | ||
"@platforms//os:windows", | ||
"@bazel_tools//tools/cpp:clang-cl", | ||
], | ||
) |