-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1345086 - add option to use system sqlite, r=ttaubert
Differential Revision: https://nss-review.dev.mozaws.net/D239 --HG-- extra : rebase_source : 10e4da4a3e35fd7b94a46731aef719c943ed1591 extra : histedit_source : 011b2a869b820fc61b796af1ca54f7a42ed2d960%2C2dfd1530da47c3cbea9ae6c6a0acfde90bea1db4
- Loading branch information
1 parent
262b163
commit bf0c68c
Showing
3 changed files
with
59 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
Usage: ${0##*/} [-hcv] [-j <n>] [--nspr] [--gyp|-g] [--opt|-o] [-m32] | ||
[--test] [--pprof] [--scan-build[=output]] [--ct-verif] | ||
[--asan] [--ubsan] [--msan] [--sancov[=edge|bb|func|...]] | ||
[--disable-tests] [--fuzz[=tls|oss]] [--system-sqlite] | ||
[--no-zdefs] [--with-nspr] [--system-nspr] | ||
|
||
This script builds NSS with gyp and ninja. | ||
|
||
This build system is still under development. It does not yet support all | ||
the features or platforms that NSS supports. | ||
|
||
NSS build tool options: | ||
|
||
-h display this help and exit | ||
-c clean before build | ||
-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 build fuzzing targets (this always enables test builds) | ||
--fuzz=tls to enable TLS fuzzing mode | ||
--fuzz=oss to build for OSS-Fuzz | ||
--pprof build with gperftool support | ||
--ct-verif build with valgrind for ct-verif | ||
--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 | ||
--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 | ||
--disable-tests don't build tests and corresponding cmdline utils | ||
--system-sqlite use system sqlite | ||
--no-zdefs don't set -Wl,-z,defs | ||
--with-nspr don't build NSPR but use the one at the given location, e.g. | ||
--with-nspr=/path/to/nspr/include:/path/to/nspr/lib | ||
--system-nspr use system nspr. This requires an installation of NSPR and | ||
might not work on all systems. |