Closed
Bug 1256622
Opened 10 years ago
Closed 10 years ago
Allow to build spidermonkey from the top-level configure
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(firefox48 fixed)
RESOLVED
FIXED
mozilla48
| Tracking | Status | |
|---|---|---|
| firefox48 | --- | fixed |
People
(Reporter: glandium, Assigned: glandium)
Details
Attachments
(1 file)
To bootstrap the transition of spidermonkey builds from js/src/configure to using top-level configure, we should allow both to work, and it should actually be possible. The notable difference I would like to be when using top-level configure is that it would read a mozconfig (and expect --enable-project=js there or on the command line).
| Assignee | ||
Comment 1•10 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/40245/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/40245/
Attachment #8730937 -
Flags: review?(gps)
Comment 2•10 years ago
|
||
Comment on attachment 8730937 [details]
MozReview Request: Bug 1256622 - Allow to build spidermonkey from the top-level configure
https://reviewboard.mozilla.org/r/40245/#review36773
Given the typo I found, I'm surprised this worked at all. So I'm holding off granting review in case fixing the typo breaks things. Ping me on IRC if you want me to grant a quick r+ on the fixup once you confirm it works.
::: build/moz.configure/old.configure:103
(Diff revision 1)
> # as $0, and backslashes there breaks autoconf's detection of the source
> # directory.
> old_configure = os.path.abspath(old_configure[0])
> + if build_project == 'js':
> + old_configure_dir = os.path.dirname(old_configure)
> + if not old_configure.endswith('/js/src'):
Shouldn't this be old_configure_dir since `old_configure` points to a file?
Attachment #8730937 -
Flags: review?(gps)
| Assignee | ||
Comment 3•10 years ago
|
||
That's because I only tested building js, not firefox. facepalm.
| Assignee | ||
Comment 4•10 years ago
|
||
Comment on attachment 8730937 [details]
MozReview Request: Bug 1256622 - Allow to build spidermonkey from the top-level configure
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/40245/diff/1-2/
Attachment #8730937 -
Flags: review?(gps)
Comment 5•10 years ago
|
||
Comment on attachment 8730937 [details]
MozReview Request: Bug 1256622 - Allow to build spidermonkey from the top-level configure
https://reviewboard.mozilla.org/r/40245/#review36785
Attachment #8730937 -
Flags: review?(gps) → review+
Comment 7•10 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox48:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
Updated•8 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•