| 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 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv tests_lit | 366 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv tests_lit |
| 367 | 367 |
| 368 ifdef MINIMAL | 368 ifdef MINIMAL |
| 369 check-xtest: $(OBJDIR)/pnacl-sz make_symlink runtime | 369 check-xtest: $(OBJDIR)/pnacl-sz make_symlink runtime |
| 370 @echo "Crosstests disabled, minimal build" | 370 @echo "Crosstests disabled, minimal build" |
| 371 else | 371 else |
| 372 check-xtest: $(OBJDIR)/pnacl-sz make_symlink runtime | 372 check-xtest: $(OBJDIR)/pnacl-sz make_symlink runtime |
| 373 # Do all native/sse2 tests, but only test_vector_ops for native/sse4.1. | 373 # Do all native/sse2 tests, but only test_vector_ops for native/sse4.1. |
| 374 # For (slow) sandboxed tests, limit to Om1/sse4.1. | 374 # For (slow) sandboxed tests, limit to Om1/sse4.1. |
| 375 # TODO(jpp): implement x8664 sandbox, then enable xtests. | 375 # TODO(jpp): implement x8664 sandbox, then enable xtests. |
| 376 » » » # TODO(jpp): reenable the x86-64 tests. | 376 # TODO(jpp): reenable the x86-64 tests. |
| 377 ./pydir/crosstest_generator.py -v --lit \ | 377 ./pydir/crosstest_generator.py -v --lit \ |
| 378 --toolchain-root $(TOOLCHAIN_ROOT) \ | 378 --toolchain-root $(TOOLCHAIN_ROOT) \ |
| 379 -i x8632,native,sse2 \ | 379 -i x8632,native,sse2 \ |
| 380 -i x8632,native,sse4.1,test_vector_ops \ | 380 -i x8632,native,sse4.1,test_vector_ops \ |
| 381 -i x8632,sandbox,sse4.1,Om1 \ | 381 -i x8632,sandbox,sse4.1,Om1 \ |
| 382 -e x8664,native,sse2 \ | 382 -e x8664,native,sse2 \ |
| 383 -e x8664,native,sse4.1,test_vector_ops \ | 383 -e x8664,native,sse4.1,test_vector_ops \ |
| 384 -e x8664,native,sse2,test_global \ | 384 -e x8664,native,sse2,test_global \ |
| 385 » -i arm32,native,neon,simple_loop \ | 385 » -i arm32,native,neon \ |
| 386 » -i arm32,native,neon,mem_intrin \ | 386 » -e arm32,native,neon,test_sync_atomic \ |
| 387 » -i arm32,native,neon,test_bitmanip \ | 387 » -e arm32,native,neon,test_vector_ops \ |
| 388 » -i arm32,native,neon,test_stacksave \ | 388 » -e arm32,native,neon,test_select |
| 389 » -i arm32,native,neon,test_strengthreduce | |
| 390 PNACL_BIN_PATH=$(PNACL_BIN_PATH) \ | 389 PNACL_BIN_PATH=$(PNACL_BIN_PATH) \ |
| 391 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv crosstest/Output | 390 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv crosstest/Output |
| 392 endif | 391 endif |
| 393 | 392 |
| 394 check-unit: $(OBJDIR)/run_unittests | 393 check-unit: $(OBJDIR)/run_unittests |
| 395 $(OBJDIR)/run_unittests | 394 $(OBJDIR)/run_unittests |
| 396 | 395 |
| 397 check: check-lit check-unit check-xtest | 396 check: check-lit check-unit check-xtest |
| 398 | 397 |
| 399 FORMAT_BLACKLIST = | 398 FORMAT_BLACKLIST = |
| (...skipping 17 matching lines...) Expand all Loading... |
| 417 | 416 |
| 418 docs: | 417 docs: |
| 419 doxygen Doxyfile | 418 doxygen Doxyfile |
| 420 @echo See file://`pwd`/docs/html/index.html | 419 @echo See file://`pwd`/docs/html/index.html |
| 421 | 420 |
| 422 clean: | 421 clean: |
| 423 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json | 422 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json |
| 424 | 423 |
| 425 clean-all: clean | 424 clean-all: clean |
| 426 rm -rf build/ docs/ | 425 rm -rf build/ docs/ |
| OLD | NEW |