This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Enable parallel compilation on Windows builds
Type: Stage: resolved
Components: Build, Windows Versions: Python 3.11
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: jkloth, paul.moore, steve.dower, tim.golden, zach.ware
Priority: normal Keywords: patch

Created on 2022-02-17 16:24 by jkloth, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 31390 merged jkloth, 2022-02-17 16:28
Messages (3)
msg413412 - (view) Author: Jeremy Kloth (jkloth) * Date: 2022-02-17 16:24
While the current build does enable building of projects in parallel 
(msbuild -m), the compilation of each project's source files is done sequentially.  For large projects like pythoncore or _freeze_module this can take quite some time.

This simple PR speeds things up significantly, ~2x on machines that I have access.
msg413431 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2022-02-17 18:41
Easy, and thanks for the PR!
msg413432 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2022-02-17 18:41
New changeset 98dd0aec2d0cb8971fb5363532c25041a5ba6fdc by Jeremy Kloth in branch 'main':
bpo-46778: Enable multiprocess compilation for source files when building on Windows (GH-31390)
https://github.com/python/cpython/commit/98dd0aec2d0cb8971fb5363532c25041a5ba6fdc
History
Date User Action Args
2022-04-11 14:59:56adminsetgithub: 90934
2022-02-17 18:41:09steve.dowersetmessages: + msg413432
2022-02-17 18:41:07steve.dowersetstatus: open -> closed
resolution: fixed
messages: + msg413431

stage: patch review -> resolved
2022-02-17 16:28:20jklothsetkeywords: + patch
stage: patch review
pull_requests: + pull_request29535
2022-02-17 16:24:10jklothcreate