Skip to content

Commit 7ab647d

Browse files
authored
Use multi-file builds on Windows (#10110)
This may reduce memory use and thus fix the builds.
1 parent 645ea62 commit 7ab647d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc/build_wheel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def create_environ(python_version: str) -> Dict[str, str]:
7373
'CC=/opt/llvm/bin/clang'
7474
)
7575
env['CIBW_ENVIRONMENT_WINDOWS'] = (
76-
'MYPY_USE_MYPYC=1 MYPYC_OPT_LEVEL=2 PIP_NO_BUILD_ISOLATION=no'
76+
'MYPY_USE_MYPYC=1 MYPYC_OPT_LEVEL=2 MYPYC_MULTI_FILE=1 PIP_NO_BUILD_ISOLATION=no'
7777
)
7878

7979
# lxml is slow to build wheels for new releases, so allow installing reqs to fail

0 commit comments

Comments
 (0)