Граф коммитов

4 Коммитов

Автор SHA1 Сообщение Дата
Gabriele Svelto b48b3e4db0 Bug 1473821 - The MOZ_PGO_INSTRUMENTED environment variable is not used anymore so remove all remaining mentions of it r=gps
Differential Revision: https://phabricator.services.mozilla.com/D3219

--HG--
extra : moz-landing-system : lando
2018-08-17 16:40:10 +00:00
Gregory Szorc c2d58c7edd Bug 1412932 - Set MOZ_PGO for configure; r=ted
The mechanism by which PGO builds are kicked off is kinda wonky.

The MOZ_PGO environment variable is recognized by configure and setting
it will result in MOZ_PGO being defined in substs. In addition, the
build backend (previously client.mk, now Makefile.in) also recognizes
MOZ_PGO (from mozconfig or environment) and takes appropriate action.

In-tree mozconfigs set MOZ_PGO via mk_add_options. mk_add_options
is intended as a mechanism to inject state into client.mk and the
make-based build system.

In addition, there is code in mozharness (unchanged by this commit)
that sets MOZ_PGO if appropriate.

A PGO build configuration is different from a non-PGO build
configuration. Therefore a make-centric environment variable to
control PGO is not ideal. Instead, this should be defined as a
configure-time flag and the build invocation should key off that.

This commit normalizes in-tree mozconfigs to set MOZ_PGO via
ac_add_options and updates the PGO documentation to recommend
this method.

MozReview-Commit-ID: k6AZyJuXjs

--HG--
extra : rebase_source : b1a6348611eba08dd67ec938cca5586fbe8e6910
extra : source : 25c7ebc7c44dd253f421b6de3d0337635d0c99d0
2017-11-07 15:13:02 -08:00
Gregory Szorc 9963be512d Bug 1412356 - Update docs on PGO builds to not reference client.mk; r=chmanchester
As part of moving away from client.mk.

MozReview-Commit-ID: IMeM0k1tTsS

--HG--
extra : rebase_source : 2404f868300c4d40e9e154167654bbd596c3abe7
2017-10-27 10:14:40 -07:00
Gregory Szorc 60010fa7c3 Bug 917988 - Sphinx managed build system documentation; add mach build-docs; r=bsmedberg
--HG--
rename : python/mozbuild/dumbmake/README.rst => build/docs/mozbuild/dumbmake.rst
rename : python/mozbuild/mozbuild/frontend/README.rst => build/docs/mozbuild/frontend.rst
rename : python/mozbuild/README.rst => build/docs/mozbuild/index.rst
2013-09-20 15:46:43 -07:00