chore: Update mozconfig to disable profile generation and use cross profile for Windows builds

This commit is contained in:
Mauro Balades
2024-08-02 17:14:11 +02:00
parent ec1eef6159
commit e3774d666f

View File

@@ -56,17 +56,17 @@ fi
export POLLY="-mllvm -polly -mllvm -polly-2nd-level-tiling -mllvm -polly-loopfusion-greedy -mllvm -polly-pattern-matching-based-opts -mllvm -polly-position=before-vectorizer -mllvm -polly-vectorizer=stripmine" export POLLY="-mllvm -polly -mllvm -polly-2nd-level-tiling -mllvm -polly-loopfusion-greedy -mllvm -polly-pattern-matching-based-opts -mllvm -polly-position=before-vectorizer -mllvm -polly-vectorizer=stripmine"
export VERBOSE=1 export VERBOSE=1
if test "$ZEN_GA_GENERATE_PROFILE"; then #if test "$ZEN_GA_GENERATE_PROFILE"; then
mk_add_options "export MOZ_AUTOMATION_PACKAGE_GENERATED_SOURCES=0" # mk_add_options "export MOZ_AUTOMATION_PACKAGE_GENERATED_SOURCES=0"
ac_add_options --enable-profile-generate=cross # ac_add_options --enable-profile-generate=cross
else #else
ac_add_options --enable-profile-use=cross # ac_add_options --enable-profile-use=cross
if test "$SURFER_COMPAT" = "true"; then # if test "$SURFER_COMPAT" = "true"; then
ac_add_options --with-pgo-profile-path=$(echo ~)/artifact/merged-generic.profdata # ac_add_options --with-pgo-profile-path=$(echo ~)/artifact/merged-generic.profdata
ac_add_options --with-pgo-jarlog=$(echo ~)/artifact/en-US-generic.log # ac_add_options --with-pgo-jarlog=$(echo ~)/artifact/en-US-generic.log
else # else
ac_add_options --with-pgo-profile-path=$(echo ~)/artifact/merged-specific.profdata # ac_add_options --with-pgo-profile-path=$(echo ~)/artifact/merged-specific.profdata
ac_add_options --with-pgo-jarlog=$(echo ~)/artifact/en-US-specific.log # ac_add_options --with-pgo-jarlog=$(echo ~)/artifact/en-US-specific.log
fi # fi
fi #fi