blob: d005fc749eb82ae35db6240625018b643178da59 [file] [log] [blame]
Reed Kotler2c3c82e2016-01-21 20:33:08 -08001Targets:
2
3check-lit - run the lit tests
4check-xtest - run the cross tests
5
Jim Stichnoth999a22f2016-03-12 10:22:53 -08006Additional 'make' command options:
7 MINIMAL=1
8 Create a minimal build, as small and fast as possible
9 DEBUG=1
10 Compile with -O0 instead of -O2
11 NODUMP=1
12 Disable textual dump/emission support and other verbose options
13 NOASSERT=1
14 Disable assert() calls, via -DNDEBUG
15 UBSAN=1
16 Enable UBSan support, i.e. -fsanitize=undefined
17 UBSAN_TRAP=1
18 Enable UBSan support, trapping on errors
19 TSAN=1
20 Enable TSan support, i.e. -fsanitize=thread
21 ASAN=1
22 Enable ASan support, i.e. -fsanitize=address
23 MSAN=1
24 Enable MSan support, i.e. -fsanitize=memory
25 SZTARGET=<target>
26 Restrict support to a single processor target,
27 where <target> is one of {ARM32,MIPS32,X8632,X8664}
28Most of these options can be combined, e.g.
29 make -f Makefile.standalone NOASSERT=1 NODUMP=1
Reed Kotler2c3c82e2016-01-21 20:33:08 -080030
Jim Stichnoth999a22f2016-03-12 10:22:53 -080031For more detailed help on a 'make' target:
32
33 make -f Makefile.standalone help-<target> , e.g:
34 make -f Makefile.standalone help-check-lit