Closed Bug 875099 Opened 12 years ago Closed 12 years ago

Avoid including MDDEPEND_FILES twice

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla24

People

(Reporter: glandium, Assigned: glandium)

Details

Attachments

(1 file, 2 obsolete files)

Some .deps files are included twice, and that contributes greatly to pymake being slow especially under dom/bindings.
Attached patch Allow recursive calls in pymake (obsolete) — Splinter Review
Attachment #752977 - Flags: review?(ted)
Attachment #752979 - Flags: review?(ted)
Comment on attachment 752979 [details] [diff] [review] Avoid including MDDEPEND_FILES twice Review of attachment 752979 [details] [diff] [review]: ----------------------------------------------------------------- ::: config/rules.mk @@ +1615,5 @@ > # dependency directory in the object directory, where we really need > # it. > > ifneq (,$(filter-out all chrome default export realchrome tools clean clobber clobber_all distclean realclean,$(MAKECMDGOALS))) > +uniq = $(if $1,$(firstword $1) $(call uniq,$(filter-out $(firstword $1),$1))) Should just use $(sort) here, as that gives you unique results.
Attachment #752979 - Flags: review?(ted) → review+
Comment on attachment 752977 [details] [diff] [review] Allow recursive calls in pymake Review of attachment 752977 [details] [diff] [review]: ----------------------------------------------------------------- If you use $(sort) you shouldn't need this, right?
Attachment #752977 - Flags: review?(ted)
Attachment #752985 - Flags: review?(ted)
Attachment #752979 - Attachment is obsolete: true
Comment on attachment 752977 [details] [diff] [review] Allow recursive calls in pymake Not needed anymore.
Attachment #752977 - Attachment is obsolete: true
Attachment #752985 - Flags: review?(ted) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
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: