forked from mirrors/gecko-dev
Bug 1794517 - Make CI plain builds a little closer to local builds. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D159005
This commit is contained in:
parent
a71bf65582
commit
f47fc4dad4
4 changed files with 6 additions and 2 deletions
|
|
@ -0,0 +1 @@
|
||||||
|
ac_add_options --disable-release
|
||||||
|
|
@ -1 +1,2 @@
|
||||||
|
ac_add_options --disable-release
|
||||||
export MACOS_SDK_DIR=$MOZ_FETCHES_DIR/MacOSX11.3.sdk
|
export MACOS_SDK_DIR=$MOZ_FETCHES_DIR/MacOSX11.3.sdk
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
ac_add_options --disable-release
|
||||||
ac_add_options --target=x86_64-pc-mingw32
|
ac_add_options --target=x86_64-pc-mingw32
|
||||||
|
|
||||||
. $topsrcdir/build/win64/mozconfig.vs-latest
|
. $topsrcdir/build/win64/mozconfig.vs-latest
|
||||||
|
|
|
||||||
|
|
@ -154,12 +154,13 @@ option(env="MOZ_PGO", help="Build with profile guided optimizations")
|
||||||
set_config("MOZ_PGO", depends("MOZ_PGO")(lambda x: bool(x)))
|
set_config("MOZ_PGO", depends("MOZ_PGO")(lambda x: bool(x)))
|
||||||
|
|
||||||
|
|
||||||
|
# Imply --enable-release when MOZILLA_OFFICIAL is set rather than adjusting the
|
||||||
|
# default so that we can't have both MOZILLA_OFFICIAL and --disable-release set.
|
||||||
imply_option("--enable-release", mozilla_official)
|
imply_option("--enable-release", mozilla_official)
|
||||||
imply_option("--enable-release", depends_if("MOZ_AUTOMATION")(lambda x: True))
|
|
||||||
|
|
||||||
option(
|
option(
|
||||||
"--enable-release",
|
"--enable-release",
|
||||||
default=milestone.is_release_or_beta,
|
default=milestone.is_release_or_beta | depends("MOZ_AUTOMATION")(lambda x: bool(x)),
|
||||||
help="{Build|Do not build} with more conservative, release "
|
help="{Build|Do not build} with more conservative, release "
|
||||||
"engineering-oriented options.{ This may slow down builds.|}",
|
"engineering-oriented options.{ This may slow down builds.|}",
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue