Closed
Bug 799189
Opened 12 years ago
Closed 11 years ago
Use mozprocess in cl.py
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla27
People
(Reporter: gps, Assigned: gps)
References
Details
Attachments
(1 file, 3 obsolete files)
(deleted),
patch
|
mshal
:
review+
|
Details | Diff | Splinter Review |
See bug 794490 comment #10.
I'm holding off review until Try comes back.
https://tbpl.mozilla.org/?tree=Try&rev=fae525b15083
Assignee | ||
Comment 1•12 years ago
|
||
New try is https://tbpl.mozilla.org/?tree=Try&rev=48d84e31bd15 and I can make no sense of the build log.
Comment 2•12 years ago
|
||
Can we move forward on this? Just got another confused dev hitting it (or some variant) in bug 814619
Assignee | ||
Comment 3•12 years ago
|
||
I forgot why this failed. https://tbpl.mozilla.org/?tree=Try&rev=493da76f6dce
Assignee | ||
Comment 4•11 years ago
|
||
I'd like to get cl.py invoked as a native pymake command. This might be
a blocker since the last time we landed native cl.py we ran into issues
with output buffering. mozprocess should make things more flexible so we
can address that.
https://tbpl.mozilla.org/?tree=Try&rev=c59d58433b59
Attachment #801926 -
Flags: review?(ted)
Assignee | ||
Updated•11 years ago
|
Attachment #669210 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → gps
Assignee | ||
Comment 5•11 years ago
|
||
The API of mozprocess changed slightly. This patch appears to be
building fine on my Windows machine.
https://tbpl.mozilla.org/?tree=Try&rev=c25f7cdb647e
Attachment #801978 -
Flags: review?(ted)
Assignee | ||
Updated•11 years ago
|
Attachment #801926 -
Attachment is obsolete: true
Attachment #801926 -
Flags: review?(ted)
Assignee | ||
Comment 6•11 years ago
|
||
mozprocess swallows newlines. This patch re-adds them and makes the
output look sane again.
https://tbpl.mozilla.org/?tree=Try&rev=c958cacd0d5f
Attachment #802054 -
Flags: review?(ted)
Assignee | ||
Updated•11 years ago
|
Attachment #801978 -
Attachment is obsolete: true
Attachment #801978 -
Flags: review?(ted)
Assignee | ||
Updated•11 years ago
|
Attachment #802054 -
Flags: review?(ted) → review?(mshal)
Comment 7•11 years ago
|
||
The patch looks fine to me, though there seems to be a small speed penalty when using it. I am trying:
$ touch xpcom/base/*.cpp
$ time ./mach build xpcom/base
(which builds with -j4)
With patch: 15.035s
Without patch: 13.395s
I've run it several times and the numbers are pretty consistent. Do you get similar results? Is this an acceptable trade-off for this bug?
Flags: needinfo?(gps)
Assignee | ||
Comment 8•11 years ago
|
||
That slowdown is interesting! I wonder if mozprocess is just that much slower, if this is lack of bytecode caching, etc.
This bug is on the road to making cl.py a native pymake command. I would think that step would make things faster overall. So, I'm willing to tolerate a temporary regression as long as we verify the end state if faster.
Flags: needinfo?(gps)
Comment 9•11 years ago
|
||
Comment on attachment 802054 [details] [diff] [review]
Use mozprocess in cl.py
Ok, hopefully that will negate any losses here.
Attachment #802054 -
Flags: review?(mshal) → review+
Assignee | ||
Comment 10•11 years ago
|
||
Status: NEW → ASSIGNED
Flags: in-testsuite-
Assignee | ||
Comment 11•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•