Closed
Bug 107302
Opened 24 years ago
Closed 17 years ago
mozilla/Makefile.* needs to support componentized builds
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: jud, Unassigned)
References
Details
Attachments
(2 files, 5 obsolete files)
3.29 KB,
patch
|
blythe
:
review+
alecf
:
superreview+
|
Details | Diff | Splinter Review |
8.94 KB,
patch
|
bryner
:
review+
leaf
:
superreview+
|
Details | Diff | Splinter Review |
Currently the only way to build XPCOM standalone is via modules.mk. We need to
migrate the specific dir pulling/building mechanism to the top level
mozilla/Makefile.* build system.
Eventually, this will allow for "layered" builds that will let the developer
determine how much they want to build (just the core, core+embedding,
core+embedding+mozilla-proper, etc).
Reporter | ||
Comment 1•24 years ago
|
||
To clarify, I didn't mean that we pull the existing dir pulling/building
mechanism over, rather, that we just wind up w/ some model defining what to
pull/build. Ideally that's dynamically built up at build time (perhaps based of
REQUIRES).
Comment 2•24 years ago
|
||
We can do the pull part of this via some static form
of alecf's module-graph.pl script + module2dir.pl lookup.
Comment 3•24 years ago
|
||
Updated•24 years ago
|
Attachment #55699 -
Attachment is obsolete: true
Comment 4•24 years ago
|
||
Comment 5•24 years ago
|
||
As long as the perl script generated makefile operates on a module level, then
we're fine (I think). I do not want to use the current modules.mk mechanism of
cherry-picking directories from various modules in order to get a particular
module to build. That mechanism was meant as a workaround for the module
dependency mess not as the final solution.
Right now, the only things that can be "layered" are nspr, xpidl & js. xpcom
isn't going to make it into the base list until the follow deps are cut:
xpcom -> string -> unicharutil -> necko
xpcom -> necko
xpcom -> libjar -> caps
xpcom -> uconv
Comment 6•24 years ago
|
||
as discussed with cls on irc (but recorded here for the record)
xpcom->unicharutil is bug 100214
xpcom->necko is bug 100212
xpcom->uconv is bug 100676
jar<->uconv is bug 102943
xpcom->jar is bug 107289 (but this is lower priority than bug 102943)
string->unicharutil is bug 10575 (just filed)
you might also want to see bug 66759, which is the tracking bug for XPCOM_STANDALONE
Comment 7•24 years ago
|
||
Comment on attachment 55702 [details] [diff] [review]
last minute tweaks are bad
looks like a good start. sr=alecf
Attachment #55702 -
Flags: superreview+
Comment 8•24 years ago
|
||
*** Bug 107301 has been marked as a duplicate of this bug. ***
Updated•24 years ago
|
OS: Windows 2000 → All
Priority: -- → P2
Hardware: PC → All
Target Milestone: --- → mozilla0.9.9
Comment 9•24 years ago
|
||
Ugh, so after some extended testing, I discovered that this could potentially
screwup our REQUIRES dependency system since the purge script doesn't know about
the split. Running the purge script for each portion of the split cases headers
to be missing and only running the purge script for the final portion of the
split (currently the largest segment) could cause dependency problems in the
first portions to be hidden until the build is clobbered.
Comment 10•24 years ago
|
||
Ok, crisis averted. Turns out that I was doing a boneheaded thing by putting
xpcom/typelib (xpidl) into the base group w/o the rest of xpcom. REQUIRES will
force us to group on module boundaries, which is what we want...I was just
jumping the gun a bit with xpidl.
Comment 11•24 years ago
|
||
I added a generic rule to handle multiple lists of "tier" dirs. No more
copy-n-paste ugliness. I had to invoke a separate make process for each
toplevel tier compile so that parallel builds still worked. No clue how to
make this work for win32. I'm tempted to just make win32 use a gmakefile for
the toplevel makefile.
Attachment #55702 -
Attachment is obsolete: true
Comment 12•24 years ago
|
||
Comment on attachment 58073 [details] [diff] [review]
use generic rule to handle multiple tiers of dirs
r=bryner
Attachment #58073 -
Flags: review+
Comment 13•24 years ago
|
||
in comment #6 alecf meant string->unicharutil is bug 107575
Comment 14•24 years ago
|
||
Comment 15•24 years ago
|
||
Comment on attachment 60731 [details] [diff] [review]
Add tiers for psm, mailnews, calendar & final binary.
r=bryner
Attachment #60731 -
Flags: review+
Updated•23 years ago
|
Target Milestone: mozilla0.9.9 → mozilla1.0.1
Comment 16•23 years ago
|
||
Attachment #58073 -
Attachment is obsolete: true
Attachment #60731 -
Attachment is obsolete: true
Comment 17•23 years ago
|
||
Comment on attachment 74626 [details] [diff] [review]
Add separate tier for extensions
cool. sr=alecf
Attachment #74626 -
Flags: superreview+
Comment 18•23 years ago
|
||
Comment on attachment 74626 [details] [diff] [review]
Add separate tier for extensions
a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #74626 -
Flags: approval+
Updated•23 years ago
|
Attachment #74626 -
Attachment is obsolete: true
Comment 19•23 years ago
|
||
Has this been checked in ?
Comment 20•23 years ago
|
||
This patch cleans up the xpcom entry for modules.mk since all of xpcom's major
external dependencies have been broken. (Go Team!) It also rearranges the
tiers so that tier_1 is the 3rd party libs that we've sucked into the the tree
and tier_2 is the base application level libs (that have no other
dependencies).
Comment 21•23 years ago
|
||
Comment on attachment 81970 [details] [diff] [review]
move over Beyonce, xpcom is going solo!
sr=alecf
nice.
Attachment #81970 -
Flags: superreview+
Comment 22•23 years ago
|
||
Comment on attachment 81970 [details] [diff] [review]
move over Beyonce, xpcom is going solo!
r=blythe
Attachment #81970 -
Flags: review+
Comment 23•23 years ago
|
||
Attachment 81970 [details] [diff] has been checked in on the trunk.
Updated•23 years ago
|
Whiteboard: [fixed on trunk] → [fixed on trunk][drivers queue]
Updated•23 years ago
|
No longer blocks: 138348
Keywords: mozilla1.0.1
Whiteboard: [fixed on trunk][drivers queue] → [fixed on trunk]
Updated•23 years ago
|
Whiteboard: [fixed on trunk]
Target Milestone: mozilla1.0.1 → mozilla1.2alpha
Updated•23 years ago
|
Priority: P2 → P3
Target Milestone: mozilla1.2alpha → Future
Comment 24•22 years ago
|
||
Mass reassign to new default build assignee
Assignee: seawood → mozbugs-build
Priority: P3 → --
Comment 25•22 years ago
|
||
Updated•22 years ago
|
Attachment #127478 -
Flags: superreview?(leaf)
Attachment #127478 -
Flags: review?(bryner)
Updated•22 years ago
|
Attachment #127478 -
Flags: review?(bryner) → review+
Comment 26•22 years ago
|
||
Comment on attachment 127478 [details] [diff] [review]
split xpfe & toolkit into separate tiers
this is great stuff! can I sr=alecf this or do we have to wait for leaf? :) I
especially like the renaming of xpfe/components/history/public's module to
"history" - I've had similar changes in my tree for a long time.
Comment 27•22 years ago
|
||
Well, I was hoping to get the module owner's input on this but I won't squabble
over a free sr. :) Bryner's a module peer anyways.
Comment 28•22 years ago
|
||
Comment on attachment 127478 [details] [diff] [review]
split xpfe & toolkit into separate tiers
sr=leaf
Attachment #127478 -
Flags: superreview?(leaf) → superreview+
Comment 29•22 years ago
|
||
Can anyone check whether bug 212909 ('Build failure due missing
"nsToolkitCompsCID.h"') is a regression due the last checkin, please ?
This caused bustage in Firebird and Thunderbird in three different ways. See
bug 212509 for details. (more problems with the forked nsIGlobalHistory,
xpfe/components/search/src/ depends on browser/components/bookmarks/public/, and
toolkit/xre/ depends on xpinstall/.)
Comment 31•22 years ago
|
||
ack! who forked nsIGlobalHistory? that interface is FROZEN!
Comment 32•22 years ago
|
||
ack! who forked nsIGlobalHistory? that interface is FROZEN!
Mass reassign of Build/Config bugs to Leaf.
Assignee: mozbugs-build → leaf
Target Milestone: Future → ---
Updated•21 years ago
|
Assignee: leaf → cmp
Updated•21 years ago
|
Product: Browser → Seamonkey
Comment 34•20 years ago
|
||
Mass reassign of open bugs for chase@mozilla.org to build@mozilla-org.bugs.
Assignee: chase → build
Comment 35•19 years ago
|
||
Mass re-assign of bugs that aren't on the build team radar, so bugs assigned to build@mozilla-org.bugs reflects reality.
If there is a bug you really think we need to be looking at, please *email* build@mozilla.org with a bug number and explanation.
Assignee: build → nobody
Updated•17 years ago
|
QA Contact: granrosebugs → build-config
Updated•17 years ago
|
Product: SeaMonkey → Core
Updated•17 years ago
|
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WONTFIX
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
•