зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1557785 - Hook MOZ_PGO_PROFILE_USE environment variable into common Windows mozconfig; r=firefox-build-system-reviewers,chmanchester
MOZ_PGO_PROFILE_USE is set when the use-pgo attribute is defined in the task. This environment variable is used to enable --enable-profile-use and related configure flags. Differential Revision: https://phabricator.services.mozilla.com/D34798 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
7453191883
Коммит
5e2e67f17f
|
@ -4,3 +4,11 @@
|
|||
|
||||
TOOLTOOL_DIR=${TOOLTOOL_DIR:-$topsrcdir}
|
||||
export MAKECAB=$TOOLTOOL_DIR/makecab.exe
|
||||
|
||||
if [ -z "$USE_ARTIFACT" ]; then
|
||||
if [ -n "$MOZ_PGO_PROFILE_USE" ]; then
|
||||
ac_add_options --enable-profile-use
|
||||
ac_add_options --with-pgo-jarlog="${WORKSPACE}/fetches/en-US.log"
|
||||
ac_add_options --with-pgo-profile-path="${WORKSPACE}/fetches"
|
||||
fi
|
||||
fi
|
||||
|
|
Загрузка…
Ссылка в новой задаче