Closed
Bug 1259381
Opened 9 years ago
Closed 9 years ago
Move --with-ccache and --with-compiler-wrapper to moz.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)
References
(Blocks 2 open bugs)
Details
Attachments
(2 files)
No description provided.
Assignee | ||
Comment 1•9 years ago
|
||
While moving the ccache flag, we're going to make it disappear when the
compiler environment is not enabled, so adding --with-ccache will fail.
Review commit: https://reviewboard.mozilla.org/r/42639/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/42639/
Attachment #8735181 -
Flags: review?(cmanchester)
Attachment #8735182 -
Flags: review?(cmanchester)
Assignee | ||
Comment 2•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/42641/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/42641/
Comment 3•9 years ago
|
||
Comment on attachment 8735181 [details]
MozReview Request: Bug 1259381 - Don't add --with-ccache in mozconfigs doing --disable-compile-environment or --enable-artifact-builds. r=chmanchester
https://reviewboard.mozilla.org/r/42639/#review39243
Attachment #8735181 -
Flags: review?(cmanchester) → review+
Updated•9 years ago
|
Attachment #8735182 -
Flags: review?(cmanchester) → review+
Comment 4•9 years ago
|
||
Comment on attachment 8735182 [details]
MozReview Request: Bug 1259381 - Move --with-ccache and --with-compiler-wrapper to moz.configure. r=chmanchester
https://reviewboard.mozilla.org/r/42641/#review39251
::: build/moz.configure/toolchain.configure:102
(Diff revision 1)
> +def using_compiler_wrapper(compiler_wrapper):
> + return True
> +
> +set_config('MOZ_USING_COMPILER_WRAPPER', using_compiler_wrapper)
These "using" functions might work as well as lambdas in the set_config calls.
Assignee | ||
Comment 5•9 years ago
|
||
https://reviewboard.mozilla.org/r/42641/#review39251
> These "using" functions might work as well as lambdas in the set_config calls.
You mean a depends_if-wrapped lambda. I'd rather live them there for now, they're easier to identify by introspection (I want to identify some patterns "automatically" and do some bikeshedding on them later)
Comment 6•9 years ago
|
||
https://reviewboard.mozilla.org/r/42641/#review39251
> You mean a depends_if-wrapped lambda. I'd rather live them there for now, they're easier to identify by introspection (I want to identify some patterns "automatically" and do some bikeshedding on them later)
Yes, I mean that. That sounds fine.
Comment 8•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/bd956b7718c9
https://hg.mozilla.org/mozilla-central/rev/352568360a61
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox48:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
Comment 9•9 years ago
|
||
https://reviewboard.mozilla.org/r/42641/#review40653
::: build/moz.configure/toolchain.configure:79
(Diff revision 1)
> + return value
> + # If --with-ccache was given without an explicit value, we default to
> + # 'ccache'.
> + return 'ccache'
> +
> +ccache = check_prog('CCACHE', progs=(), input=ccache)
This is confusing, reusing the same name for the results of check_prog and the handler for the argument.
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
•