Closed
Bug 419348
Opened 17 years ago
Closed 17 years ago
build config fixes for profile-guided optimization on mac
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ted, Assigned: ted)
References
Details
Attachments
(3 files, 1 obsolete file)
1.19 KB,
patch
|
benjamin
:
review+
damons
:
approval1.9+
|
Details | Diff | Splinter Review |
3.08 KB,
patch
|
benjamin
:
review+
beltzner
:
approval1.9+
|
Details | Diff | Splinter Review |
5.08 KB,
patch
|
benjamin
:
review+
beltzner
:
approval1.9+
|
Details | Diff | Splinter Review |
Mac needs a few tweaks for PGO.
Assignee | ||
Comment 1•17 years ago
|
||
xpidl doesn't work at all with PGO enabled, and we don't really want it there anyway, so this uses the new NO_PROFILE_GUIDED_OPTIMIZE make var I added in some other patch.
Assignee: nobody → ted.mielczarek
Status: NEW → ASSIGNED
Attachment #305394 -
Flags: review?(benjamin)
Assignee | ||
Comment 2•17 years ago
|
||
This doesn't get us all the way there. My builds with this don't start, so I never get to the second build pass. Might need to make MOZ_PROFILE_MODULES work with PGO builds so we can restrict the set of modules we enable this on. sayrer says he was able to build spidermonkey with PGO and it worked.
Updated•17 years ago
|
Attachment #305394 -
Flags: review?(benjamin) → review+
Assignee | ||
Updated•17 years ago
|
Attachment #305394 -
Flags: approval1.9?
Comment 3•17 years ago
|
||
Comment on attachment 305394 [details] [diff] [review]
fix xpidl [checked in]
a1.9+=damons
Attachment #305394 -
Flags: approval1.9? → approval1.9+
Assignee | ||
Comment 4•17 years ago
|
||
Comment on attachment 305394 [details] [diff] [review]
fix xpidl [checked in]
More investigation needed to figure out what modules are breaking us here. We could either conditionally add makefile variables to disable PGO in certain modules, or hack --enable-profile-modules to allow us to specify a whitelist of modules for PGO.
Attachment #305394 -
Attachment description: fix xpidl → fix xpidl [checked in]
Assignee | ||
Comment 5•17 years ago
|
||
This is going to be a prerequisite to using PGO on mac, since we're doing universal builds there. This would also be necessary for doing other multi-pass builds with PGO, like FF-on-XR.
Attachment #307032 -
Flags: review?(benjamin)
Assignee | ||
Comment 6•17 years ago
|
||
This is also useful, since we can disable PGO on the ppc half of the build (since we won't be running that code in the profiling anyway). This will save us a clobber and rebuild on that half of the build, which is nice.
Attachment #307054 -
Flags: review?(benjamin)
Assignee | ||
Comment 7•17 years ago
|
||
Comment on attachment 307032 [details] [diff] [review]
make profiledbuild work for universal builds
This isn't quite right. I can't use $(OBJDIR) there, since in the MOZ_BUILD_PROJECTS case it's explicitly set to error out. Need a little special casing for this.
Attachment #307032 -
Attachment is obsolete: true
Attachment #307032 -
Flags: review?(benjamin)
Assignee | ||
Comment 8•17 years ago
|
||
Right, this should actually work.
Attachment #307056 -
Flags: review?(benjamin)
Updated•17 years ago
|
Attachment #307056 -
Flags: review?(benjamin) → review+
Updated•17 years ago
|
Attachment #307054 -
Flags: review?(benjamin) → review+
Assignee | ||
Updated•17 years ago
|
Attachment #307054 -
Flags: approval1.9?
Assignee | ||
Updated•17 years ago
|
Attachment #307056 -
Flags: approval1.9?
Comment 9•17 years ago
|
||
Comment on attachment 307054 [details] [diff] [review]
allow disabling PGO from configure [checked in]
a1.9=beltzner
Attachment #307054 -
Flags: approval1.9? → approval1.9+
Comment 10•17 years ago
|
||
Comment on attachment 307056 [details] [diff] [review]
make profiledbuild work on universal builds [checked in]
a1.9=beltzner
Attachment #307056 -
Flags: approval1.9? → approval1.9+
Assignee | ||
Updated•17 years ago
|
Attachment #307054 -
Attachment description: allow disabling PGO from configure → allow disabling PGO from configure [checked in]
Assignee | ||
Updated•17 years ago
|
Attachment #307056 -
Attachment description: slightly better → make profiledbuild work on universal builds [checked in]
Assignee | ||
Comment 11•17 years ago
|
||
Closing this out to get it off the radar, we'll look at additional fixes in other bugs.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
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
•