build/docs/environment-variables.rst

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

michael@0 1 .. _environment_variables:
michael@0 2
michael@0 3 ================================================
michael@0 4 Environment Variables Impacting the Build System
michael@0 5 ================================================
michael@0 6
michael@0 7 Various environment variables have an impact on the behavior of the
michael@0 8 build system. This document attempts to document them.
michael@0 9
michael@0 10 AUTOCLOBBER
michael@0 11 If defines, the build system will automatically clobber as needed.
michael@0 12 The default behavior is to print a message and error out when a
michael@0 13 clobber is needed.
michael@0 14
michael@0 15 This variable is typically defined in a :ref:`mozconfig <mozconfig>`
michael@0 16 file via ``mk_add_options``.
michael@0 17
michael@0 18 REBUILD_CHECK
michael@0 19 If defined, the build system will print information about why
michael@0 20 certain files were rebuilt.
michael@0 21
michael@0 22 This feature is disabled by default because it makes the build slower.
michael@0 23
michael@0 24 MACH_NO_TERMINAL_FOOTER
michael@0 25 If defined, the terminal footer displayed when building with mach in
michael@0 26 a TTY is disabled.
michael@0 27
michael@0 28 MACH_NO_WRITE_TIMES
michael@0 29 If defined, mach commands will not prefix output lines with the
michael@0 30 elapsed time since program start. This option is equivalent to
michael@0 31 passing ``--log-no-times`` to mach.
michael@0 32
michael@0 33 MOZ_PSEUDO_DERECURSE
michael@0 34 Activate an *experimental* build mode where make directory traversal
michael@0 35 is derecursified. This mode should result in faster build times at
michael@0 36 the expense of busted builds from time-to-time. The end goal is for
michael@0 37 this build mode to be the default. At which time, this variable will
michael@0 38 likely go away.
michael@0 39
michael@0 40 A value of ``1`` activates the mode with full optimizations.
michael@0 41
michael@0 42 A value of ``no-parallel-export`` activates the mode without
michael@0 43 optimizations to the *export* tier, which are known to be slightly
michael@0 44 buggy.
michael@0 45
michael@0 46 A value of ``no-skip`` activates the mode without optimizations to skip
michael@0 47 some directories during traversal.
michael@0 48
michael@0 49 Values may be combined with a comma.

mercurial