Closed
Bug 827934
Opened 12 years ago
Closed 12 years ago
We build gfxUtils.cpp every time even if nothing has changed
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla21
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
(Whiteboard: [buildfaster:?])
Attachments
(1 file)
(deleted),
patch
|
ted
:
review+
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
This is stupid, and I got fed up with it!
Assignee | ||
Comment 1•12 years ago
|
||
Over to Ted for the Makefile review and to Jeff for the rest.
Assignee: nobody → ehsan
Status: NEW → ASSIGNED
Attachment #699342 -
Flags: review?(ted)
Attachment #699342 -
Flags: review?(jmuizelaar)
Comment 2•12 years ago
|
||
Comment on attachment 699342 [details] [diff] [review] Patch (v1) Review of attachment 699342 [details] [diff] [review]: ----------------------------------------------------------------- ::: gfx/thebes/genTables.py @@ +3,4 @@ > def table_generator(f): > return ",\n".join([", ".join(["0x%2.2x" % h for h in [f(i) for i in range(r,r+16)]]) for r in range(0, 65536, 16)]) > > +f = open("PremultiplyTable.h", "w") PremulitplyTables.h
Attachment #699342 -
Flags: review?(jmuizelaar) → review+
Comment 3•12 years ago
|
||
Comment on attachment 699342 [details] [diff] [review] Patch (v1) Review of attachment 699342 [details] [diff] [review]: ----------------------------------------------------------------- ::: gfx/thebes/Makefile.in @@ +394,4 @@ > endif > endif > > +PremultiplyTable.h: This should depend on genTables.py. ::: gfx/thebes/genTables.py @@ +13,1 @@ > f.close() You could switch this to use with open("PremultiplyTable.h", "w") as f: f.write(...) and drop the close.
Attachment #699342 -
Flags: review?(ted) → review+
Comment 4•12 years ago
|
||
Also, this is why we shouldn't let non-build peers review Makefile changes.
Assignee | ||
Comment 5•12 years ago
|
||
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #4) > Also, this is why we shouldn't let non-build peers review Makefile changes. Good material for a blog post. ;-)
Assignee | ||
Comment 6•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/fc2539dbe5f0
Comment 7•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/fc2539dbe5f0
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Comment 8•12 years ago
|
||
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #4) > Also, this is why we shouldn't let non-build peers review Makefile changes. FWIW, I did suggest this exact Makefile change in the bug. But I also suggested using PHONY as an alternative; I guess that was my mistake. I'm sorry.
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
•