-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[community triplet] adds triplets for building with clang/LLVM for Windows #31028
base: master
Are you sure you want to change the base?
Conversation
(try building python3 with these triplets) |
I'm currently building ALL ports with the |
My proposal here is to only support clang/LLVM for Windows using the MSVC-like The 'pure LLVM' implementation looks a lot more complicated. Why all the overrides when CMake already supports this scenario pretty well? |
The true home of that triplet is https://github.com/Neumann-A/my-vcpkg-triplets/blob/master/x64-win-llvm.cmake
No that is clang-cl and most of the patches have been merged. (as said i am waiting for two prs to be merged before updating that PR.)
The problem are library authors not correctly supporting it. Checking e.g. |
adadb08
to
fde148b
Compare
Trying 2130 ports, 1445 successfully built without changes using the new |
Looking into the failures, there's a few cases here:
|
The boost failures are due to a 'b2' bug filed here. |
About 290 of the 685 port failures are directly related to the boost problem which is a bug in b2 build. With the additional changes from code review, I'm able to build 30 additional ports out of the 685. |
0c042a0
to
27c1f89
Compare
Tried another full pass of all current ports with the latest version of the triplet. 1424 out of 2194 ports build ok. That leaves 770 failures (with ~100 being non-Windows ports).
|
cfd869c
to
7497a4b
Compare
Draft documentation microsoft/vcpkg-docs#76 |
f21023a
to
eaa80e3
Compare
Co-authored-by: Alexander Neumann <[email protected]>
…nto clangcltriplets
So much work here, it is impressive! |
After merging the latest changes, the try-compile tests for these new triplets pass:
|
4947417
to
4af2173
Compare
This adds ten (10) new community triplets for building with the clang/LLVM for Windows toolset which is an optional component available in Visual Studio. While MSVC and clang/LLVM for Windows are in general link compatible, some developers would prefer to avoid relying on the MSVC compiler.
These four triplets are for building Windows platform targets:
These four triplets are for building Xbox platform targets:
These two triplets are for building UWP platform targets:
These triplets should also improve the conformance testing for libraries in VCPKG.