mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-09 05:14:24 +00:00
5e2e67f17f
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
15 lines
556 B
Plaintext
15 lines
556 B
Plaintext
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
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
|