Reed Kotler | 2c3c82e | 2016-01-21 20:33:08 -0800 | [diff] [blame] | 1 | Targets: |
| 2 | |
| 3 | check-lit - run the lit tests |
| 4 | check-xtest - run the cross tests |
| 5 | |
Jim Stichnoth | 999a22f | 2016-03-12 10:22:53 -0800 | [diff] [blame] | 6 | Additional '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} |
| 28 | Most of these options can be combined, e.g. |
| 29 | make -f Makefile.standalone NOASSERT=1 NODUMP=1 |
Reed Kotler | 2c3c82e | 2016-01-21 20:33:08 -0800 | [diff] [blame] | 30 | |
Jim Stichnoth | 999a22f | 2016-03-12 10:22:53 -0800 | [diff] [blame] | 31 | For 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 |