Closed Bug 784262 Opened 12 years ago Closed 12 years ago

Use generic install/copy rule in rules.mk

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla18

People

(Reporter: glandium, Assigned: glandium)

References

Details

(Whiteboard: [buildfaster:?])

Attachments

(2 files, 4 obsolete files)

      No description provided.
Depends on: 773202
Summary: export-idl rule always copies files → Use generic install/copy rule in rules.mk
Whiteboard: [buildfaster:?]
I suspect this will make incremental builds on windows much faster.
Attachment #653666 - Flags: review?(ted.mielczarek)
Forgot to change a variable in preprocessor template.
Attachment #653673 - Flags: review?(ted.mielczarek)
Attachment #653666 - Attachment is obsolete: true
Attachment #653666 - Flags: review?(ted.mielczarek)
Comment on attachment 653673 [details] [diff] [review]
Use generic install/copy rule in rules.mk

Erm... broke clobber builds (worked as incremental)
Attachment #653673 - Flags: review?(ted.mielczarek)
This works better, although it required a trick: don't build nsinstall directly, but build nsinstall_real and move it. Without this, there's actually a race condition where the file is there, but it actually doesn't work properly (i got segfaults on linux builds). Making all the install rules depend on nsinstall could also work, but with -jn, we end up building it several times in parallel, so another trick is to use nsinstall.py while nsinstall is building.

https://tbpl.mozilla.org/?tree=Try&rev=7c7c3b6aa98b
Attachment #653829 - Flags: review?(ted.mielczarek)
Attachment #653673 - Attachment is obsolete: true
Attachment #653829 - Flags: review?(ted.mielczarek) → review+
https://hg.mozilla.org/mozilla-central/rev/40e82036f9ec
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
Backed out because of Pymake bustage and GNU Make "warning: overriding commands for target".

http://hg.mozilla.org/mozilla-central/rev/790fb17b1fe3
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
This changes a few things: this avoids duplicate rules for EXPORTS and XPIDLSRCS where there are duplicates between EXPORTS and SDK_HEADERS or XPIDLSRCS and SDK_XPIDLSRCS, which is why we had to backout, removes some export rules in config/Makefile.in, and avoid breaking comm-central because ldap/c-sdk uses nsinstall from dist/bin.
Attachment #656913 - Flags: review?(ted.mielczarek)
Attachment #653829 - Attachment is obsolete: true
Attachment #656913 - Flags: review?(ted.mielczarek) → review+
Attached patch Additional patch for pymake (obsolete) — Splinter Review
EXPORTS_mozilla/ipc contains SharedMemoryBasic_chromium.h twice on non-android.
Attachment #658403 - Flags: review?(ted.mielczarek)
More duplicates.
Attachment #658417 - Flags: review?(ted.mielczarek)
Attachment #658403 - Attachment is obsolete: true
Attachment #658403 - Flags: review?(ted.mielczarek)
Attachment #658417 - Flags: review?(ted.mielczarek) → review+
https://hg.mozilla.org/mozilla-central/rev/1d5efeb13af4
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
Depends on: 788954
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: