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