| 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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 428 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv $(CHECK_LIT_TESTS) \ | 428 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv $(CHECK_LIT_TESTS) \ |
| 429 $(FORCEASM_LIT_TEST_EXCLUDES) $(FORCEASM_LIT_PARAM) | 429 $(FORCEASM_LIT_TEST_EXCLUDES) $(FORCEASM_LIT_PARAM) |
| 430 | 430 |
| 431 ifdef MINIMAL | 431 ifdef MINIMAL |
| 432 check-xtest: $(OBJDIR)/pnacl-sz make_symlink runtime | 432 check-xtest: $(OBJDIR)/pnacl-sz make_symlink runtime |
| 433 @echo "Crosstests disabled, minimal build" | 433 @echo "Crosstests disabled, minimal build" |
| 434 else | 434 else |
| 435 check-xtest: $(OBJDIR)/pnacl-sz make_symlink runtime | 435 check-xtest: $(OBJDIR)/pnacl-sz make_symlink runtime |
| 436 # Do all native/sse2 tests, but only test_vector_ops for native/sse4.1. | 436 # Do all native/sse2 tests, but only test_vector_ops for native/sse4.1. |
| 437 # For (slow) sandboxed tests, limit to Om1/sse4.1. | 437 # For (slow) sandboxed tests, limit to Om1/sse4.1. |
| 438 # run.py (used to run the sandboxed xtests) does not support |
| 439 # specifying -cpu cortex-a15 to qemu, hence we disable the |
| 440 # hwdiv-arm tests. |
| 438 ./pydir/crosstest_generator.py -v --lit \ | 441 ./pydir/crosstest_generator.py -v --lit \ |
| 439 --toolchain-root $(TOOLCHAIN_ROOT) \ | 442 --toolchain-root $(TOOLCHAIN_ROOT) \ |
| 440 $(FORCEASM_FLAG) \ | 443 $(FORCEASM_FLAG) \ |
| 441 $(FORCEASM_XTEST_EXCLUDES) \ | 444 $(FORCEASM_XTEST_EXCLUDES) \ |
| 442 -i x8632,native,sse2 \ | 445 -i x8632,native,sse2 \ |
| 443 -i x8632,native,sse4.1,test_vector_ops \ | 446 -i x8632,native,sse4.1,test_vector_ops \ |
| 444 -i x8632,sandbox,sse4.1,Om1 \ | 447 -i x8632,sandbox,sse4.1,Om1 \ |
| 445 -i x8632,nonsfi,sse2,O2 \ | 448 -i x8632,nonsfi,sse2,O2 \ |
| 446 -i x8664,native,sse2 \ | 449 -i x8664,native,sse2 \ |
| 447 -i x8664,native,sse4.1,test_vector_ops \ | 450 -i x8664,native,sse4.1,test_vector_ops \ |
| 448 -i x8664,sandbox,sse4.1,Om1 \ | 451 -i x8664,sandbox,sse4.1,Om1 \ |
| 449 -i arm32,neon | 452 -i arm32 \ |
| 453 -e arm32,sandbox,hwdiv-arm \ |
| 454 -e arm32,neon,test_vector_ops |
| 450 PNACL_BIN_PATH=$(PNACL_BIN_PATH) \ | 455 PNACL_BIN_PATH=$(PNACL_BIN_PATH) \ |
| 451 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv $(CHECK_XTEST_TESTS) | 456 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv $(CHECK_XTEST_TESTS) |
| 452 endif | 457 endif |
| 453 | 458 |
| 454 check-unit: $(OBJDIR)/run_unittests | 459 check-unit: $(OBJDIR)/run_unittests |
| 455 $(OBJDIR)/run_unittests | 460 $(OBJDIR)/run_unittests |
| 456 | 461 |
| 457 # List the spec2k components in roughly reverse order of runtime, to help with | 462 # List the spec2k components in roughly reverse order of runtime, to help with |
| 458 # parallel execution speed. | 463 # parallel execution speed. |
| 459 ALLSPEC := 253.perlbmk 177.mesa 188.ammp 256.bzip2 164.gzip 179.art 183.equake \ | 464 ALLSPEC := 253.perlbmk 177.mesa 188.ammp 256.bzip2 164.gzip 179.art 183.equake \ |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 566 @cat Makefile.standalone-help/check-lit.txt | 571 @cat Makefile.standalone-help/check-lit.txt |
| 567 | 572 |
| 568 help-check-xtest: | 573 help-check-xtest: |
| 569 @cat Makefile.standalone-help/check-xtest.txt | 574 @cat Makefile.standalone-help/check-xtest.txt |
| 570 | 575 |
| 571 clean: | 576 clean: |
| 572 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json | 577 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json |
| 573 | 578 |
| 574 clean-all: clean | 579 clean-all: clean |
| 575 rm -rf build/ crosstest/Output/ | 580 rm -rf build/ crosstest/Output/ |
| OLD | NEW |