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 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
520 runtime: $(RT_OBJ) | 520 runtime: $(RT_OBJ) |
521 | 521 |
522 # Use runtime.is.built so that build-runtime.py is invoked only once | 522 # Use runtime.is.built so that build-runtime.py is invoked only once |
523 # even in a parallel build. | 523 # even in a parallel build. |
524 .INTERMEDIATE: runtime.is.built | 524 .INTERMEDIATE: runtime.is.built |
525 $(RT_OBJ): runtime.is.built | 525 $(RT_OBJ): runtime.is.built |
526 runtime.is.built: $(RT_SRC) pydir/build-runtime.py | 526 runtime.is.built: $(RT_SRC) pydir/build-runtime.py |
527 @echo ================ Building Subzero runtime ================ | 527 @echo ================ Building Subzero runtime ================ |
528 ./pydir/build-runtime.py -v --pnacl-root $(PNACL_TOOLCHAIN_ROOT) | 528 ./pydir/build-runtime.py -v --pnacl-root $(PNACL_TOOLCHAIN_ROOT) |
529 | 529 |
530 check-lit: $(OBJDIR)/pnacl-sz make_symlink | 530 check-lit: $(OBJDIR)/pnacl-sz make_symlink runtime |
531 PNACL_BIN_PATH=$(PNACL_BIN_PATH) \ | 531 PNACL_BIN_PATH=$(PNACL_BIN_PATH) \ |
532 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv $(CHECK_LIT_TESTS) \ | 532 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv $(CHECK_LIT_TESTS) \ |
533 $(FORCEASM_LIT_TEST_EXCLUDES) $(FORCEASM_LIT_PARAM) | 533 $(FORCEASM_LIT_TEST_EXCLUDES) $(FORCEASM_LIT_PARAM) |
534 | 534 |
535 ifdef MINIMAL | 535 ifdef MINIMAL |
536 check-xtest check-xtest-lite: $(OBJDIR)/pnacl-sz make_symlink runtime | 536 check-xtest check-xtest-lite: $(OBJDIR)/pnacl-sz make_symlink runtime |
537 @echo "Crosstests disabled, minimal build" | 537 @echo "Crosstests disabled, minimal build" |
538 else | 538 else |
539 check-xtest: $(OBJDIR)/pnacl-sz make_symlink runtime \ | 539 check-xtest: $(OBJDIR)/pnacl-sz make_symlink runtime \ |
540 exists-nonsfi-x8632 exists-nonsfi-arm32 crosstest/test_arith_ll.ll | 540 exists-nonsfi-x8632 exists-nonsfi-arm32 crosstest/test_arith_ll.ll |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
788 | 788 |
789 help-check-xtest: | 789 help-check-xtest: |
790 @cat Makefile.standalone-help/check-xtest.txt | 790 @cat Makefile.standalone-help/check-xtest.txt |
791 | 791 |
792 clean: | 792 clean: |
793 rm -rf pnacl-sz *.o $(foreach nexe,$(NEXES),$(notdir $(nexe))) \ | 793 rm -rf pnacl-sz *.o $(foreach nexe,$(NEXES),$(notdir $(nexe))) \ |
794 $(OBJDIR) $(SB_OBJDIR) $(SBB_OBJDIR) build/*.bloat.json | 794 $(OBJDIR) $(SB_OBJDIR) $(SBB_OBJDIR) build/*.bloat.json |
795 | 795 |
796 clean-all: clean | 796 clean-all: clean |
797 rm -rf build/ crosstest/Output/ | 797 rm -rf build/ crosstest/Output/ |
OLD | NEW |