2015-07-14 14:02:22 +03:00
|
|
|
if test `uname -s` = Linux; then
|
|
|
|
. $topsrcdir/build/macosx/cross-mozconfig.common
|
|
|
|
else
|
|
|
|
. $topsrcdir/build/macosx/local-mozconfig.common
|
2014-07-04 06:05:45 +04:00
|
|
|
fi
|
2017-07-08 04:42:01 +03:00
|
|
|
|
2019-12-17 02:25:07 +03:00
|
|
|
if [ -z "$USE_ARTIFACT" ]; then
|
2019-12-18 20:53:36 +03:00
|
|
|
if [ -n "$TASKCLUSTER_PGO_PROFILE_USE" ]; then
|
2019-12-17 02:25:07 +03:00
|
|
|
export LLVM_PROFDATA="$MOZ_FETCHES_DIR/clang/bin/llvm-profdata"
|
|
|
|
export MOZ_LTO=cross
|
|
|
|
ac_add_options --enable-profile-use=cross
|
2020-03-11 13:36:11 +03:00
|
|
|
ac_add_options --with-pgo-jarlog=${MOZ_FETCHES_DIR}/en-US.log
|
|
|
|
ac_add_options --with-pgo-profile-path=${MOZ_FETCHES_DIR}/merged.profdata
|
2019-12-17 02:25:07 +03:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2017-07-20 08:06:23 +03:00
|
|
|
. $topsrcdir/build/mozconfig.stylo
|