OLD | NEW |
1 # The following variables will likely need to be modified, depending on where | 1 # The following variables will likely need to be modified, depending on where |
2 # and how you built LLVM & Clang. They can be overridden in a command-line | 2 # and how you built LLVM & Clang. They can be overridden in a command-line |
3 # invocation of make, like: | 3 # invocation of make, like: |
4 # | 4 # |
5 # make LLVM_SRC_PATH=<path> LIBCXX_INSTALL_PATH=<path> CLANG_PATH=<path> \ | 5 # make LLVM_SRC_PATH=<path> LIBCXX_INSTALL_PATH=<path> CLANG_PATH=<path> \ |
6 # PNACL_BIN_PATH=<path> ... | 6 # PNACL_BIN_PATH=<path> ... |
7 # | 7 # |
8 | 8 |
9 # LLVM_SRC_PATH is the path to the root of the checked out source code. This | 9 # LLVM_SRC_PATH is the path to the root of the checked out source code. This |
10 # directory should contain the configure script, the include/ and lib/ | 10 # directory should contain the configure script, the include/ and lib/ |
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 SPECFLAGS='--sz=--phi-edge-split=0' check-spec | 505 SPECFLAGS='--sz=--phi-edge-split=0' check-spec |
506 # Run cross tests and lit tests to validate filetype=asm output. | 506 # Run cross tests and lit tests to validate filetype=asm output. |
507 +make -f Makefile.standalone \ | 507 +make -f Makefile.standalone \ |
508 FORCEASM=1 check-xtest check-lit | 508 FORCEASM=1 check-xtest check-lit |
509 # Build spec2k for arm32. | 509 # Build spec2k for arm32. |
510 +make -f Makefile.standalone \ | 510 +make -f Makefile.standalone \ |
511 TARGET=arm32 SPECBUILDONLY=true check-spec | 511 TARGET=arm32 SPECBUILDONLY=true check-spec |
512 # Build spec2k under -Om1/arm32. | 512 # Build spec2k under -Om1/arm32. |
513 +make -f Makefile.standalone \ | 513 +make -f Makefile.standalone \ |
514 TARGET=arm32 SPECFLAGS='-Om1' SPECBUILDONLY=true check-spec | 514 TARGET=arm32 SPECFLAGS='-Om1' SPECBUILDONLY=true check-spec |
515 # Run a few spec2k tests for arm32 using qemu. | 515 # Run a few spec2k tests for arm32 using qemu. Keep the list sorted in |
| 516 # roughly reverse order of runtime. |
516 +make -f Makefile.standalone \ | 517 +make -f Makefile.standalone \ |
517 TARGET=arm32 ALLSPEC='176.gcc 181.mcf 254.gap' check-spec | 518 TARGET=arm32 ALLSPEC='252.eon 254.gap 176.gcc 181.mcf' check-spec |
518 # Provide validation of user awesomeness! | 519 # Provide validation of user awesomeness! |
519 echo Success | 520 echo Success |
520 | 521 |
521 FORMAT_BLACKLIST = | 522 FORMAT_BLACKLIST = |
522 # Add one of the following lines for each source file to ignore. | 523 # Add one of the following lines for each source file to ignore. |
523 FORMAT_BLACKLIST += ! -name IceParseInstsTest.cpp | 524 FORMAT_BLACKLIST += ! -name IceParseInstsTest.cpp |
524 FORMAT_BLACKLIST += ! -name IceParseTypesTest.cpp | 525 FORMAT_BLACKLIST += ! -name IceParseTypesTest.cpp |
525 FORMAT_BLACKLIST += ! -name assembler_arm.h | 526 FORMAT_BLACKLIST += ! -name assembler_arm.h |
526 FORMAT_BLACKLIST += ! -name assembler_arm.cc | 527 FORMAT_BLACKLIST += ! -name assembler_arm.cc |
527 format: | 528 format: |
(...skipping 12 matching lines...) Expand all Loading... |
540 @echo See Subzero size breakdown in bloat/pnacl-sz.bloat.html | 541 @echo See Subzero size breakdown in bloat/pnacl-sz.bloat.html |
541 | 542 |
542 docs: | 543 docs: |
543 make -C docs -f Makefile.standalone | 544 make -C docs -f Makefile.standalone |
544 | 545 |
545 clean: | 546 clean: |
546 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json | 547 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json |
547 | 548 |
548 clean-all: clean | 549 clean-all: clean |
549 rm -rf build/ crosstest/Output/ | 550 rm -rf build/ crosstest/Output/ |
OLD | NEW |