| 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 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 PNACL_BIN_PATH=$(PNACL_BIN_PATH) \ | 399 PNACL_BIN_PATH=$(PNACL_BIN_PATH) \ |
| 400 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv tests_lit | 400 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv tests_lit |
| 401 | 401 |
| 402 ifdef MINIMAL | 402 ifdef MINIMAL |
| 403 check-xtest: $(OBJDIR)/pnacl-sz make_symlink runtime | 403 check-xtest: $(OBJDIR)/pnacl-sz make_symlink runtime |
| 404 @echo "Crosstests disabled, minimal build" | 404 @echo "Crosstests disabled, minimal build" |
| 405 else | 405 else |
| 406 check-xtest: $(OBJDIR)/pnacl-sz make_symlink runtime | 406 check-xtest: $(OBJDIR)/pnacl-sz make_symlink runtime |
| 407 # Do all native/sse2 tests, but only test_vector_ops for native/sse4.1. | 407 # Do all native/sse2 tests, but only test_vector_ops for native/sse4.1. |
| 408 # For (slow) sandboxed tests, limit to Om1/sse4.1. | 408 # For (slow) sandboxed tests, limit to Om1/sse4.1. |
| 409 # TODO(jpp): implement x8664 sandbox, then enable xtests. | |
| 410 # TODO(jpp): reenable the x86-64 tests. | |
| 411 ./pydir/crosstest_generator.py -v --lit \ | 409 ./pydir/crosstest_generator.py -v --lit \ |
| 412 --toolchain-root $(TOOLCHAIN_ROOT) \ | 410 --toolchain-root $(TOOLCHAIN_ROOT) \ |
| 413 -i x8632,native,sse2 \ | 411 -i x8632,native,sse2 \ |
| 414 -i x8632,native,sse4.1,test_vector_ops \ | 412 -i x8632,native,sse4.1,test_vector_ops \ |
| 415 -i x8632,sandbox,sse4.1,Om1 \ | 413 -i x8632,sandbox,sse4.1,Om1 \ |
| 416 -i x8632,nonsfi,sse2,O2 \ | 414 -i x8632,nonsfi,sse2,O2 \ |
| 417 -i x8664,native,sse2 \ | 415 -i x8664,native,sse2 \ |
| 418 -i x8664,native,sse4.1,test_vector_ops \ | 416 -i x8664,native,sse4.1,test_vector_ops \ |
| 419 -e x8664,sandbox,sse4.1,Om1 \ | 417 -i x8664,sandbox,sse4.1,Om1 \ |
| 420 -i arm32,neon \ | 418 -i arm32,neon \ |
| 421 -e arm32,nonsfi \ | 419 -e arm32,nonsfi \ |
| 422 -e arm32,neon,test_vector_ops \ | 420 -e arm32,neon,test_vector_ops \ |
| 423 -e arm32,neon,test_select | 421 -e arm32,neon,test_select |
| 424 PNACL_BIN_PATH=$(PNACL_BIN_PATH) \ | 422 PNACL_BIN_PATH=$(PNACL_BIN_PATH) \ |
| 425 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv crosstest/Output | 423 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv crosstest/Output |
| 426 endif | 424 endif |
| 427 | 425 |
| 428 check-unit: $(OBJDIR)/run_unittests | 426 check-unit: $(OBJDIR)/run_unittests |
| 429 $(OBJDIR)/run_unittests | 427 $(OBJDIR)/run_unittests |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 518 @echo See Subzero size breakdown in bloat/pnacl-sz.bloat.html | 516 @echo See Subzero size breakdown in bloat/pnacl-sz.bloat.html |
| 519 | 517 |
| 520 docs: | 518 docs: |
| 521 make -C docs -f Makefile.standalone | 519 make -C docs -f Makefile.standalone |
| 522 | 520 |
| 523 clean: | 521 clean: |
| 524 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json | 522 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json |
| 525 | 523 |
| 526 clean-all: clean | 524 clean-all: clean |
| 527 rm -rf build/ crosstest/Output/ | 525 rm -rf build/ crosstest/Output/ |
| OLD | NEW |