Closed
Bug 903341
Opened 11 years ago
Closed 11 years ago
Running configure with no configure.in change overwrites gyp generated Makefiles
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla26
People
(Reporter: glandium, Assigned: glandium)
Details
Attachments
(1 file, 1 obsolete file)
2.78 KB,
patch
|
gps
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #903321 +++ Namely, at least $objdir/Makefile and $objdir/js/src/Makefile. There's also media/webrtc and media/mtransport Makefiles, but that comes from gyp, so that would be a separate bug. This makes us rebuild all of js, and a lot of tests that link against js_static.
Assignee | ||
Comment 1•11 years ago
|
||
This gets me, after bug 903321, from 858 to 124 files rebuilt after touch configure.in.
Attachment #788053 -
Flags: review?(gps)
Assignee | ||
Comment 2•11 years ago
|
||
Like the second iteration of bug 903321, this avoids makefiles being regenerated each time when the python script changes.
Attachment #788168 -
Flags: review?(gps)
Assignee | ||
Updated•11 years ago
|
Attachment #788053 -
Attachment is obsolete: true
Attachment #788053 -
Flags: review?(gps)
Comment 3•11 years ago
|
||
Comment on attachment 788168 [details] [diff] [review] Avoid gyp overwriting Makefiles when they wouldn't be modified Review of attachment 788168 [details] [diff] [review]: ----------------------------------------------------------------- Looks good!
Attachment #788168 -
Flags: review?(gps) → review+
Comment 4•11 years ago
|
||
I was confused by your comment 0, but it's just from the bug you cloned from. If the gyp->Makefile code was overwriting $objdir/Makefile I was going to be very worried! I think I looked at doing this, but didn't because of the weird dependency problems (similar to what we have for moz.build). If, for example, you have: foo.gyp --> $objdir/foo/project_one $objdir/foo/project_two and foo.gyp has changed, but only in the project_two bits, then running "make" in project_one could result in $objdir/foo/project_one/Makefile not being changed, which might result in an infinite dependency loop.
Assignee | ||
Comment 5•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/6ddea989dcb9
Comment 6•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/6ddea989dcb9
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•