environment-variables.rst 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. .. _environment_variables:
  2. ================================================
  3. Environment Variables Impacting the Build System
  4. ================================================
  5. Various environment variables have an impact on the behavior of the
  6. build system. This document attempts to document them.
  7. AUTOCLOBBER
  8. If defines, the build system will automatically clobber as needed.
  9. The default behavior is to print a message and error out when a
  10. clobber is needed.
  11. This variable is typically defined in a :ref:`mozconfig <mozconfig>`
  12. file via ``mk_add_options``.
  13. REBUILD_CHECK
  14. If defined, the build system will print information about why
  15. certain files were rebuilt.
  16. This feature is disabled by default because it makes the build slower.
  17. MACH_NO_TERMINAL_FOOTER
  18. If defined, the terminal footer displayed when building with mach in
  19. a TTY is disabled.
  20. MACH_NO_WRITE_TIMES
  21. If defined, mach commands will not prefix output lines with the
  22. elapsed time since program start. This option is equivalent to
  23. passing ``--log-no-times`` to mach.