mirror of
https://github.com/zen-browser/desktop
synced 2026-04-26 01:25:02 +02:00
no-bug: Add more PGO training and enable clang plugins (gh-13325)
This commit is contained in:
@@ -18,8 +18,14 @@ if test "$ZEN_RELEASE"; then
|
||||
|
||||
# Enable Profile Guided Optimization
|
||||
if ! test "$ZEN_GA_DISABLE_PGO"; then
|
||||
export MOZ_PGO=1
|
||||
ac_add_options MOZ_PGO=1
|
||||
if test "$ZEN_GA_GENERATE_PROFILE"; then
|
||||
mk_add_options "export MOZ_AUTOMATION_PACKAGE_GENERATED_SOURCES=0"
|
||||
ac_add_options --enable-profile-generate=cross
|
||||
else
|
||||
ac_add_options --enable-profile-use=cross
|
||||
ac_add_options --with-pgo-profile-path="$(echo ~)/artifact/merged.profdata"
|
||||
ac_add_options --with-pgo-jarlog="$(echo ~)/artifact/en-US.log"
|
||||
fi
|
||||
fi
|
||||
elif test "$SURFER_COMPAT" = "aarch64"; then
|
||||
ac_add_options --target=aarch64-linux-gnu
|
||||
|
||||
Reference in New Issue
Block a user