Closed Bug 720908 Opened 12 years ago Closed 12 years ago

cl.py execution enhancements

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 585011

People

(Reporter: gps, Unassigned)

Details

cl.py is currently executed inefficiently on Windows.

Every CC and CXX is prepended with CC_WRAPPER and CXX_WRAPPER, which executes "python.exe cl.py". If we are using PyMake, we should execute the Python method natively. This will save two extra processes per compiler invocation (1 for python.exe and 1 for the shell that PyMake will spawn to process the command string containing python.exe).

As part of filing this, I thought we would also incur an extra process as part of passing a string to Python's subprocess.Popen(). But, Process Explorer shows cl.exe as the immediate child of python.exe, so I think we're fine.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.