How to setup ICC and Bazel on Windows
- Dominant language
- Java
- Stars
- 25.8k
- Forks
- 4.6k
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 72
Description
Hi, I setup my bazel environment on Windows, which uses clang by default. I found that `CROSSTOOL` allows me to set a compiler, but the documentation is very poor on this. Is there any resource available that explains how I can change the default compiler of Bazel to ICC on Windows?
The most promising solution I found is simply setting `CC` but `CC=icc.exe` doesn't invoke the compiler as expected and still uses clang. Any help is highly appreciated!
Contributor guide
Research direction
Review the Bazel documentation around CROSSTOOL and Windows toolchain selection, then compare it with the reported CC=icc.exe behavior. Done means a documented, reproducible way to select ICC on Windows, or a clear statement of support and limitations.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100