-
Notifications
You must be signed in to change notification settings - Fork 147
Description
I work on a project that is a dependency of several other projects. I've been able to get this project successfully building on windows with bazel, using @rules_cc//cc/compiler:clang-cl as a condition to select on.
However, one of our dependencies appears to make a custom toolchain, with @bazel_tools//tools/cpp:clang-cl as its constraint. I tried to simply select on either one: google/XNNPACK@dc05a09 But that doesn't seem to be working either. (The dependency's build is hard for me to reproduce, so it's difficult to troubleshoot exactly what the problem is.)
Maybe @rules_cc//cc/compiler:x being true should also cause @bazel_tools//tools/cpp:x to be true? Or is that already the case, and my problem is elsewhere?
Is one of these deprecated, or will be deprecated at some point?