using clang-cl doesn't set the current cpu #16249
Labels
area-Windows
Windows-specific issues and feature requests
P3
We're not considering working on this, but happy to review a PR. (No assignee)
platform: windows
team-Rules-CPP
Issues for C++ rules
type: support / not a bug (process)
Description of the bug:
I'm using a platform for compiling with clang-cl and setting the cpu to x86_64 but llvm-lib.exe isn't called correctly.
!!! Compiling is working just linking is broken !!!
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
My Platform build file (located in 'bazel/Platforms'):
the important part from the workspace:
build config:
Which operating system are you running Bazel on?
Windows 10
What is the output of
bazel info release
?release 5.3.0
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse master; git rev-parse HEAD
?No response
Have you found anything relevant by searching the web?
following these instructions: https://docs.bazel.build/versions/main/windows.html#build-c-with-clang
Any other information, logs, or outputs that you want to share?
Visual Studio 2022, 14.33.31629
The text was updated successfully, but these errors were encountered: