forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump rules_cc to support llvm 11.0.0 clang-cl compiler on Windows
The clang-cl compiler version 11.0.0 number was missing a trailing whitespace that bazel rules_cc expected. This commit picks up the most recent commit of rules_cc. We would appreciate seeing this backported to 3.7.1 prior to the 4.0.0 release, since it represented a showstopper and has no side effects to users of earlier clang-cl compilers. Signed-off-by: William A Rowe Jr <[email protected]> Closes bazelbuild#12458. PiperOrigin-RevId: 342650689
- Loading branch information
Showing
2 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
src/main/java/com/google/devtools/build/lib/bazel/rules/cpp/cc_configure.WORKSPACE
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,3 +1,15 @@ | ||
load("@bazel_tools//tools/cpp:cc_configure.bzl", "cc_configure") | ||
|
||
# rules_cc is used in @bazel_tools//tools/cpp, so must be loaded here. | ||
maybe( | ||
http_archive, | ||
"rules_cc", | ||
sha256 = "d0c573b94a6ef20ef6ff20154a23d0efcb409fb0e1ff0979cec318dfe42f0cdd", | ||
strip_prefix = "rules_cc-b1c40e1de81913a3c40e5948f78719c28152486d", | ||
urls = [ | ||
"https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/b1c40e1de81913a3c40e5948f78719c28152486d.zip", | ||
"https://github.com/bazelbuild/rules_cc/archive/b1c40e1de81913a3c40e5948f78719c28152486d.zip", | ||
], | ||
) | ||
|
||
cc_configure() |
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