Chromium Code Reviews| 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 \ | |
|
Jim Stichnoth
2016/02/17 20:51:12
untabify this line
John
2016/02/18 15:54:15
Done.
| |
| 450 -e arm32,neon,test_vector_ops \ | 454 -e arm32,neon,test_vector_ops \ |
| 451 -e arm32,nonsfi \ | |
| 452 -e arm32,neon,test_vector_ops | 455 -e arm32,neon,test_vector_ops |
| 453 PNACL_BIN_PATH=$(PNACL_BIN_PATH) \ | 456 PNACL_BIN_PATH=$(PNACL_BIN_PATH) \ |
| 454 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv $(CHECK_XTEST_TESTS) | 457 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv $(CHECK_XTEST_TESTS) |
| 455 endif | 458 endif |
| 456 | 459 |
| 457 check-unit: $(OBJDIR)/run_unittests | 460 check-unit: $(OBJDIR)/run_unittests |
| 458 $(OBJDIR)/run_unittests | 461 $(OBJDIR)/run_unittests |
| 459 | 462 |
| 460 # List the spec2k components in roughly reverse order of runtime, to help with | 463 # List the spec2k components in roughly reverse order of runtime, to help with |
| 461 # parallel execution speed. | 464 # parallel execution speed. |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 569 @cat Makefile.standalone-help/check-lit.txt | 572 @cat Makefile.standalone-help/check-lit.txt |
| 570 | 573 |
| 571 help-check-xtest: | 574 help-check-xtest: |
| 572 @cat Makefile.standalone-help/check-xtest.txt | 575 @cat Makefile.standalone-help/check-xtest.txt |
| 573 | 576 |
| 574 clean: | 577 clean: |
| 575 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json | 578 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json |
| 576 | 579 |
| 577 clean-all: clean | 580 clean-all: clean |
| 578 rm -rf build/ crosstest/Output/ | 581 rm -rf build/ crosstest/Output/ |
| OLD | NEW |