diff options
author | Martin Thomson <martin.thomson@gmail.com> | 2017-01-06 12:03:48 +1300 |
---|---|---|
committer | Martin Thomson <martin.thomson@gmail.com> | 2017-01-06 12:03:48 +1300 |
commit | aa0c2d9fbbcb756e584d98263ed6eb6de4e14a9a (patch) | |
tree | 0829e210aff26971e96113ace9aea4bce06fc78c /readme.md | |
parent | a9d64155321a8b558909df2728f19fdc73df054a (diff) | |
download | nss-hg-aa0c2d9fbbcb756e584d98263ed6eb6de4e14a9a.tar.gz |
Bug 1328205 - Improve argument handling in scripts, r=ttaubert
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -40,9 +40,9 @@ library files in directory `lib`, and tools in directory `bin`. In order to run the tools, set your system environment to use the libraries of your build from the "lib" directory, e.g., using the `LD_LIBRARY_PATH` or `DYLD_LIBRARY_PATH`. - Usage: build.sh [-hcgv] [-j <n>] [--test] [--fuzz] [--scan-build[=output]] - [-m32] [--opt|-o] [--asan] [--ubsan] [--sancov[=edge|bb|func|...]] - [--pprof] [--msan] + Usage: ${0##*/} [-hcv] [-j <n>] [--nspr] [--gyp|-g] [--opt|-o] [-m32] + [--test] [--fuzz] [--pprof] [--scan-build[=output]] + [--asan] [--ubsan] [--msan] [--sancov[=edge|bb|func|...]] This script builds NSS with gyp and ninja. @@ -53,22 +53,23 @@ the "lib" directory, e.g., using the `LD_LIBRARY_PATH` or `DYLD_LIBRARY_PATH`. -h display this help and exit -c clean before build - -g force a rebuild of gyp (and NSPR, because why not) - -j <n> run at most <n> concurrent jobs -v verbose build + -j <n> run at most <n> concurrent jobs + --nspr force a rebuild of NSPR + --gyp|-g force a rerun of gyp + --opt|-o do an opt build -m32 do a 32-bit build on a 64-bit system --test ignore map files and export everything we have --fuzz enable fuzzing mode. this always enables test builds + --pprof build with gperftool support --scan-build run the build with scan-build (scan-build has to be in the path) --scan-build=/out/path sets the output path for scan-build - --opt|-o do an opt build --asan do an asan build --ubsan do an ubsan build --ubsan=bool,shift,... sets specific UB sanitizers --msan do an msan build --sancov do sanitize coverage builds --sancov=func sets coverage to function level for example - --pprof build with gperftool support ## Building NSS (legacy build system) |