MOZ_OPTIMIZE is always 1 even with --disable-optimize
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox-esr115 unaffected, firefox-esr128 unaffected, firefox129 unaffected, firefox130 unaffected, firefox131 fixed)
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox-esr128 | --- | unaffected |
firefox129 | --- | unaffected |
firefox130 | --- | unaffected |
firefox131 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
MOZ_OPTIMIZE
is set to "1"
depending on MOZ_OPTIMIZE_FLAGS
environment variable, where the condition env_flags
becomes truthy if the environment variable has any value, including empty string, given the value is represented as a tuple ("",)
.
@depends("--enable-optimize", "MOZ_OPTIMIZE_FLAGS")
def moz_optimize(enable_optimize, env_flags):
return "1" if enable_optimize or env_flags else None
set_config("MOZ_OPTIMIZE", moz_optimize)
The MOZ_OPTIMIZE_FLAGS
environment variable has default value ""
, which means the option is always truthy, and MOZ_OPTIMIZE
is always "1"
, and --disable-optimize
has no effect.
option(
env="MOZ_OPTIMIZE_FLAGS",
help="Extra optimization flags.",
nargs=1,
default="",
)
Comment 1•9 months ago
|
||
Set release status flags based on info from the regressing bug 1906599
:sergesanspaille, since you are the author of the regressor, bug 1906599, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Assignee | ||
Comment 2•9 months ago
|
||
Updated•9 months ago
|
Comment 3•9 months ago
|
||
Bug 1906824 if where the return "1" if enable_optimize or env_flags else None
was added.
Comment 5•9 months ago
|
||
bugherder |
Updated•9 months ago
|
Description
•