Skip to content

Commit 16c9a50

Browse files
committed
Update Windows builds to use ClangCL
1 parent 7d8bb5e commit 16c9a50

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cpython-windows/build.py

+3
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,9 @@ def run_msbuild(
653653
# This can also work around known incompatibilities with the Windows 11
654654
# SDK as of at least CPython 3.9.7.
655655
f"/property:DefaultWindowsSDKVersion={windows_sdk_version}",
656+
# Use ClangCL for better build and runtime performance
657+
# https://github.com/python/cpython/issues/130090
658+
"/p:PlatformToolset=ClangCL",
656659
]
657660

658661
if freethreaded:

0 commit comments

Comments
 (0)