Closed
Bug 1300290
Opened 8 years ago
Closed 8 years ago
stylo: implied --enable-jemalloc=moz with --enable-stylo conflicts with --enable-jemalloc
Categories
(Firefox Build System :: General, defect, P3)
Firefox Build System
General
Tracking
(firefox53 fixed)
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: bholley, Assigned: gps)
References
Details
Attachments
(1 file)
When I add --enable-stylo to build/mozconfig.rust on incubator/stylo, I get the following on TaskCluster builds: mozbuild.configure.options.ConflictingOptionError: Cannot add '--enable-jemalloc=moz' to the implied set because it conflicts with '--enable-jemalloc' that was added earlier Obviously this is a temporary setup, but it would be nice to get this solved somehow (in the mean time I've commented out the imply_option line. Any suggestions glandium?
Reporter | ||
Updated•8 years ago
|
Flags: needinfo?(mh+mozilla)
Reporter | ||
Comment 2•8 years ago
|
||
(In reply to Mike Hommey [:glandium] from comment #1) > Remove --enable-jemalloc from your mozconfig. This is on our CI builds, so these these are the builder mozconfigs (not local ones). Should we just hack these up in incubator/stylo? If so, what's the easiest way to do that? Modify memory.configure?
Flags: needinfo?(mh+mozilla)
Summary: stylo: impiled --enable-jemalloc=moz with --enable-stylo conflicts with --enable-jemalloc → stylo: implied --enable-jemalloc=moz with --enable-stylo conflicts with --enable-jemalloc
Comment 3•8 years ago
|
||
No, we should just remove --enable-jemalloc from all mozconfigs in the tree. (and more generally, all the things that are defaults)
Flags: needinfo?(mh+mozilla)
Updated•8 years ago
|
Priority: -- → P3
Comment 4•8 years ago
|
||
Unblocking the stylo-incubator meta bug because this jemalloc issue is not specific to the incubator/stylo test repo.
Assignee | ||
Comment 5•8 years ago
|
||
This started breaking again on the "upstream" bookmark of the stylo repo. I don't understand why it started breaking: that head should be similar to the "stylo" bookmark/head in terms of file content related to this part of the build. https://public-artifacts.taskcluster.net/ZwCFExBCSZWKuRC51YlgVQ/0/public/logs/live_backing.log
Assignee | ||
Comment 6•8 years ago
|
||
Ah, the stylo bookmark (unmerged foo into mozilla-central) has the following patch: diff --git a/toolkit/moz.configure b/toolkit/moz.configure --- a/toolkit/moz.configure +++ b/toolkit/moz.configure @@ -571,7 +571,10 @@ def stylo(value): set_config('MOZ_STYLO', stylo) set_define('MOZ_STYLO', stylo) -imply_option('--enable-jemalloc', depends_if('--enable-stylo')(lambda _: 'moz')) + +# Avoid mozbuild.configure.options.ConflictingOptionError until bug 1300290 is +# resolved. +#imply_option('--enable-jemalloc', depends_if('--enable-stylo')(lambda _: 'moz')) We should get this unhacked and integrated into mozilla-central.
Assignee: nobody → gps
Status: NEW → ASSIGNED
Component: CSS Parsing and Computation → Build Config
Comment hidden (mozreview-request) |
Reporter | ||
Comment 8•8 years ago
|
||
Yeah, sorry I never followed up here - thanks for taking this Greg!
Comment 9•8 years ago
|
||
mozreview-review |
Comment on attachment 8815962 [details] Bug 1300290 - Avoid --enable-dmd and --enable-stylo setting conflicting --enable-jemalloc values; https://reviewboard.mozilla.org/r/96730/#review96960 ::: toolkit/moz.configure:68 (Diff revision 1) > > set_config('MOZ_DMD', dmd) > set_define('MOZ_DMD', dmd) > add_old_configure_assignment('MOZ_DMD', dmd) > imply_option('--enable-profiling', dmd) > -imply_option('--enable-jemalloc', dmd) > +# --enable-jemalloc is handled below. s/handled/implied/ ::: toolkit/moz.configure:582 (Diff revision 1) > + if stylo: > + return 'moz' > + elif dmd: > + return True > + > +imply_option('--enable-jemalloc', depends_if(jemalloc)(lambda x: x), depends_if(jemalloc)(lambda x: x), considering jemalloc returns one of ('moz', True, None) is equivalent to: depends(jemalloc)(lambda x: x), which is equivalent to: jemalloc. ::: toolkit/moz.configure:583 (Diff revision 1) > + return 'moz' > + elif dmd: > + return True > + > +imply_option('--enable-jemalloc', depends_if(jemalloc)(lambda x: x), > + '--enable-dmd or --enable-stylo') reason=
Attachment #8815962 -
Flags: review?(mh+mozilla)
Comment hidden (mozreview-request) |
Comment 11•8 years ago
|
||
mozreview-review |
Comment on attachment 8815962 [details] Bug 1300290 - Avoid --enable-dmd and --enable-stylo setting conflicting --enable-jemalloc values; https://reviewboard.mozilla.org/r/96730/#review97420
Attachment #8815962 -
Flags: review?(mh+mozilla) → review+
Comment 12•8 years ago
|
||
Pushed by gszorc@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e907fb6bfcfe Avoid --enable-dmd and --enable-stylo setting conflicting --enable-jemalloc values; r=glandium
Comment 13•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e907fb6bfcfe
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
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
•