зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1507334 - Add mozconfigs for 3-stage PGO; r=firefox-build-system-reviewers,chmanchester#firefox-build-system-reviewers
These two mozconfigs are used for the 1st and 3rd stages of PGO. 'profile-generate' is used for the 1st stage to generate a firefox binary with instrumentation enabled. Since it is only used for getting profile data, we don't run tests against it or need crashreporter symbol.s The 'profile-use' mozconfig is for the 3rd and final stage were we produce the fully optimized build. The profiling information and jarlog are input artifacts produced by the 2nd stage (running the profileserver). Differential Revision: https://phabricator.services.mozilla.com/D15749 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
49fc6484f8
Коммит
e4b57ecdda
|
@ -0,0 +1,8 @@
|
|||
. $topsrcdir/browser/config/mozconfigs/linux64/nightly
|
||||
|
||||
mk_add_options "export MOZ_AUTOMATION_BUILD_SYMBOLS=0"
|
||||
mk_add_options "export MOZ_AUTOMATION_PACKAGE_TESTS=0"
|
||||
mk_add_options "export MOZ_AUTOMATION_PACKAGE_GENERATED_SOURCES=0"
|
||||
mk_add_options "export MOZ_AUTOMATION_L10N_CHECK=0"
|
||||
|
||||
ac_add_options --enable-profile-generate
|
|
@ -0,0 +1,6 @@
|
|||
. $topsrcdir/browser/config/mozconfigs/linux64/nightly
|
||||
|
||||
ac_add_options --enable-profile-use
|
||||
ac_add_options --enable-lto
|
||||
ac_add_options --with-pgo-jarlog=/builds/worker/fetches/en-US.log
|
||||
ac_add_options --with-pgo-profile-path=/builds/worker/fetches/default.profraw
|
|
@ -124,7 +124,7 @@ if CONFIG['PGO_PROFILE_PATH']:
|
|||
]
|
||||
GENERATED_FILES[profdata_gen].script = 'build/merge_profdata.py'
|
||||
GENERATED_FILES[profdata_gen].inputs = [
|
||||
CONFIG['PGO_PROFILE_PATH'],
|
||||
'/' + CONFIG['PGO_PROFILE_PATH'],
|
||||
]
|
||||
|
||||
DIRS += [
|
||||
|
|
Загрузка…
Ссылка в новой задаче