Bug 1528499 - Don't PGO the base-toolchain tasks on release branches. r=ted

Differential Revision: https://phabricator.services.mozilla.com/D20080
This commit is contained in:
Mike Hommey 2019-02-17 10:22:37 +09:00
Родитель 2ead86b7c1
Коммит 079a4d2441
4 изменённых файлов: 10 добавлений и 3 удалений

Просмотреть файл

@ -1,4 +1,4 @@
export MOZ_PGO=1
. "$topsrcdir/build/mozconfig.pgo"
. "$topsrcdir/browser/config/mozconfigs/linux64/common-opt"

Просмотреть файл

@ -1,7 +1,7 @@
# This make file should be identical to the beta mozconfig, apart from the
# safeguard below
export MOZ_PGO=1
. "$topsrcdir/build/mozconfig.pgo"
. "$topsrcdir/browser/config/mozconfigs/linux64/common-opt"

Просмотреть файл

@ -42,7 +42,7 @@ whitelist['release']['linux32'] += [
whitelist['release']['linux64'] += [
'export MOZILLA_OFFICIAL=1',
'export MOZ_TELEMETRY_REPORTING=1',
'export MOZ_PGO=1',
'. "$topsrcdir/build/mozconfig.pgo"',
]
if __name__ == '__main__':

7
build/mozconfig.pgo Normal file
Просмотреть файл

@ -0,0 +1,7 @@
case "$PERFHERDER_EXTRA_OPTIONS" in
base-toolchains*)
;;
*)
export MOZ_PGO=1
;;
esac