mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 17:59:34 +00:00
Bug 1486042 - switch all existing MOZ_LTO
configs to use cross-language LTO; r=dmajor
This change is a no-op for win64 configs, as they had this feature before. Differential Revision: https://phabricator.services.mozilla.com/D33317 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
63b07e7115
commit
92be49be62
@ -1,6 +1,6 @@
|
||||
. $topsrcdir/browser/config/mozconfigs/linux64/nightly
|
||||
|
||||
export MOZ_LTO=1
|
||||
export MOZ_LTO=cross
|
||||
ac_add_options --enable-profile-use
|
||||
ac_add_options --with-pgo-jarlog=/builds/worker/fetches/en-US.log
|
||||
ac_add_options --with-pgo-profile-path=/builds/worker/fetches
|
||||
|
@ -2,6 +2,6 @@
|
||||
|
||||
ac_add_options --enable-official-branding
|
||||
|
||||
export MOZ_LTO=1
|
||||
export MOZ_LTO=cross
|
||||
|
||||
. "$topsrcdir/build/mozconfig.common.override"
|
||||
|
@ -5,7 +5,7 @@ MOZ_REQUIRE_SIGNING=0
|
||||
|
||||
ac_add_options --disable-install-strip
|
||||
|
||||
export MOZ_LTO=1
|
||||
export MOZ_LTO=cross
|
||||
|
||||
ac_add_options --enable-instruments
|
||||
|
||||
|
@ -8,7 +8,7 @@ if test `uname -s` != Linux; then
|
||||
ac_add_options --enable-dtrace
|
||||
fi
|
||||
|
||||
export MOZ_LTO=1
|
||||
export MOZ_LTO=cross
|
||||
|
||||
ac_add_options --with-branding=browser/branding/nightly
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
ac_add_options --enable-official-branding
|
||||
|
||||
export MOZ_LTO=1
|
||||
export MOZ_LTO=cross
|
||||
|
||||
# safeguard against someone forgetting to re-set EARLY_BETA_OR_EARLIER in
|
||||
# defines.sh during the beta cycle
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
ac_add_options --enable-official-branding
|
||||
|
||||
export MOZ_LTO=1
|
||||
export MOZ_LTO=cross
|
||||
|
||||
unset ENABLE_CLANG_PLUGIN
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
# Add-on signing is not required for DevEdition
|
||||
MOZ_REQUIRE_SIGNING=0
|
||||
|
||||
export MOZ_LTO=1
|
||||
export MOZ_LTO=cross
|
||||
|
||||
ac_add_options --with-branding=browser/branding/aurora
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
. "$topsrcdir/browser/config/mozconfigs/win64-aarch64/common-win64"
|
||||
. "$topsrcdir/browser/config/mozconfigs/win64-aarch64/common-opt"
|
||||
|
||||
export MOZ_LTO=1
|
||||
export MOZ_LTO=cross
|
||||
|
||||
ac_add_options --with-branding=browser/branding/nightly
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
ac_add_options --enable-official-branding
|
||||
|
||||
export MOZ_LTO=1
|
||||
export MOZ_LTO=cross
|
||||
|
||||
unset ENABLE_CLANG_PLUGIN
|
||||
|
||||
|
@ -6,4 +6,6 @@ export MOZ_PGO=1
|
||||
|
||||
ac_add_options --enable-official-branding
|
||||
|
||||
export MOZ_LTO=cross
|
||||
|
||||
. "$topsrcdir/build/mozconfig.common.override"
|
||||
|
@ -18,7 +18,3 @@ export MOZILLA_OFFICIAL=1
|
||||
|
||||
# Package js shell.
|
||||
export MOZ_PACKAGE_JSSHELL=1
|
||||
|
||||
if [ -n "$MOZ_PGO" ]; then
|
||||
RUSTFLAGS="-Clinker-plugin-lto"
|
||||
fi
|
||||
|
@ -12,4 +12,6 @@ ac_add_options --with-branding=browser/branding/aurora
|
||||
# Enable MOZ_ALLOW_LEGACY_EXTENSIONS
|
||||
ac_add_options "MOZ_ALLOW_LEGACY_EXTENSIONS=1"
|
||||
|
||||
export MOZ_LTO=cross
|
||||
|
||||
. "$topsrcdir/build/mozconfig.common.override"
|
||||
|
@ -4,4 +4,6 @@
|
||||
|
||||
ac_add_options --with-branding=browser/branding/nightly
|
||||
|
||||
export MOZ_LTO=cross
|
||||
|
||||
. "$topsrcdir/build/mozconfig.common.override"
|
||||
|
@ -9,6 +9,8 @@ export MOZ_PGO=1
|
||||
|
||||
ac_add_options --enable-official-branding
|
||||
|
||||
export MOZ_LTO=cross
|
||||
|
||||
# safeguard against someone forgetting to re-set EARLY_BETA_OR_EARLIER in
|
||||
# defines.sh during the beta cycle
|
||||
export BUILDING_RELEASE=1
|
||||
|
@ -12,7 +12,7 @@ export AR="$topsrcdir/clang/bin/llvm-ar"
|
||||
export NM="$topsrcdir/clang/bin/llvm-nm"
|
||||
export RANLIB="$topsrcdir/clang/bin/llvm-ranlib"
|
||||
|
||||
export MOZ_LTO=1
|
||||
export MOZ_LTO=cross
|
||||
|
||||
export MOZILLA_OFFICIAL=1
|
||||
export MOZ_ANDROID_POCKET=1
|
||||
|
@ -21,6 +21,6 @@ export AR="$topsrcdir/clang/bin/llvm-ar"
|
||||
export NM="$topsrcdir/clang/bin/llvm-nm"
|
||||
export RANLIB="$topsrcdir/clang/bin/llvm-ranlib"
|
||||
|
||||
export MOZ_LTO=1
|
||||
export MOZ_LTO=cross
|
||||
|
||||
. "$topsrcdir/mobile/android/config/mozconfigs/common.override"
|
||||
|
@ -19,6 +19,6 @@ export AR="$topsrcdir/clang/bin/llvm-ar"
|
||||
export NM="$topsrcdir/clang/bin/llvm-nm"
|
||||
export RANLIB="$topsrcdir/clang/bin/llvm-ranlib"
|
||||
|
||||
export MOZ_LTO=1
|
||||
export MOZ_LTO=cross
|
||||
|
||||
. "$topsrcdir/mobile/android/config/mozconfigs/common.override"
|
||||
|
@ -12,7 +12,7 @@ export AR="$topsrcdir/clang/bin/llvm-ar"
|
||||
export NM="$topsrcdir/clang/bin/llvm-nm"
|
||||
export RANLIB="$topsrcdir/clang/bin/llvm-ranlib"
|
||||
|
||||
export MOZ_LTO=1
|
||||
export MOZ_LTO=cross
|
||||
|
||||
export MOZILLA_OFFICIAL=1
|
||||
export MOZ_ANDROID_POCKET=1
|
||||
|
Loading…
x
Reference in New Issue
Block a user