Giving Bazel a try on Win10 by following the README. It needs these fixes
to build through. Think that I should sent it out in case it is useful.
Details
- Reviewers
GMNGeoffrey
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Thanks for upstreaming your fixes :-) It looks like this has some overlap with https://reviews.llvm.org/D112399 and https://reviews.llvm.org/D111930. Let's let those land and then see what's still necessary here
utils/bazel/llvm-project-overlay/clang/BUILD.bazel | ||
---|---|---|
1336 | @chandlerc thoughts on this? | |
1805 | I don't understand why we need this at all, actually :-/ Let me investigate | |
utils/bazel/llvm-project-overlay/clang/include/clang/Config/config.h | ||
78 | FYI, https://reviews.llvm.org/D112399 is also fixing this | |
utils/bazel/llvm-project-overlay/llvm/config.bzl | ||
63 | Just commenting these out isn't right. I believe you're likely hitting the same issue fixed in https://reviews.llvm.org/D112399 with macro redefines |
utils/bazel/llvm-project-overlay/llvm/config.bzl | ||
---|---|---|
63 | Thanks for the link. Yeah, I wasn't sure about this part. |
If you'd like to rebase this and see what's still outstanding, I can take another look :-)
Thanks for getting around to this. I rebased the patch and reran the build. It seems the newly added libc build causes many errors. It is vague about its windows support (https://releases.llvm.org/12.0.0/docs/Proposals/LLVMLibC.html#platform-support). Maybe it should be excluded by default for windows?
clang-format: please reformat the code