Skip to content

Commit 9ac57e9

Browse files
committed
Changing MSVC to clang-cl on win (V)
1 parent 8e5ed3b commit 9ac57e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cibuildwheels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ env:
1717
# Skip PyPy wheels for now (numexpr needs some adjustments first)
1818
# musllinux takes too long to build, and it's not worth it for now
1919
CIBW_SKIP: "pp* *musllinux* *-win32"
20-
# Keep generator/compiler settings here to avoid quoting pitfalls in CIBW_ENVIRONMENT_WINDOWS.
20+
# Keep generator/toolset settings here to avoid quoting pitfalls in CIBW_ENVIRONMENT_WINDOWS.
2121
CIBW_ENVIRONMENT_WINDOWS: "PATH=C:\\Program Files\\LLVM\\bin;%PATH% CC=clang-cl CXX=clang-cl"
22-
CIBW_CONFIG_SETTINGS_WINDOWS: "cmake.generator=Ninja;cmake.define.CMAKE_C_COMPILER=clang-cl;cmake.define.CMAKE_CXX_COMPILER=clang-cl"
22+
CIBW_CONFIG_SETTINGS_WINDOWS: "cmake.generator=Visual Studio 17 2022;cmake.define.CMAKE_GENERATOR_TOOLSET=ClangCL"
2323

2424
jobs:
2525

0 commit comments

Comments
 (0)