Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 1.07 KB

BUILDING.md

File metadata and controls

13 lines (9 loc) · 1.07 KB

Building

The scripts assume the Mercury source is at $HOME/Mercury/ and Mozilla source is at $HOME/mozilla-unified/. You may have to 'sudo chmod +x' the scripts to make them executable.

  • In general we follow build instructions at https://firefox-source-docs.mozilla.org/setup/linux_build.html
  • bootstrap.sh can be used to download the Mozilla tree for the first time.
  • trunk.sh can be used to revert and sync the Mozilla tree to trunk.
  • setup.sh copies relevant Mercury source files over the Mozilla tree. NOTE: Use the --help flag to see options for Linux and Windows
  • To build, run ./build.sh (--help for help). The -j# variable can be changed to limit or increase the number of jobs (generally should be the number of CPU cores on your machine)

Happy Mercury Building!