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 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
466 SPEC := -O2 --filetype=obj | 466 SPEC := -O2 --filetype=obj |
467 endif | 467 endif |
468 ifeq ($(TARGET),arm32) | 468 ifeq ($(TARGET),arm32) |
469 TARGETFLAG=arm32 | 469 TARGETFLAG=arm32 |
470 SETUP=SetupGccArmOpt | 470 SETUP=SetupGccArmOpt |
471 SPEC := -O2 --filetype=asm | 471 SPEC := -O2 --filetype=asm |
472 endif | 472 endif |
473 SPECFLAGS := | 473 SPECFLAGS := |
474 SPECBUILDONLY := false | 474 SPECBUILDONLY := false |
475 %.spec2k: % $(OBJDIR)/pnacl-sz make_symlink runtime | 475 %.spec2k: % $(OBJDIR)/pnacl-sz make_symlink runtime |
476 » ./pydir/szbuild_spec2k.py -v --force \ | 476 » ./pydir/szbuild_spec2k.py -v \ |
477 $(SPECFLAGS) --target=$(TARGETFLAG) $(SPEC) $< | 477 $(SPECFLAGS) --target=$(TARGETFLAG) $(SPEC) $< |
478 $(SPECBUILDONLY) || ( cd ../../../tests/spec2k; \ | 478 $(SPECBUILDONLY) || ( cd ../../../tests/spec2k; \ |
479 ./run_all.sh RunTimedBenchmarks $(SETUP) train $< ) | 479 ./run_all.sh RunTimedBenchmarks $(SETUP) train $< ) |
480 | 480 |
481 check-spec: $(ALLSPEC:=.spec2k) | 481 check-spec: $(ALLSPEC:=.spec2k) |
482 | 482 |
483 check: check-lit check-unit check-xtest | 483 check: check-lit check-unit check-xtest |
484 | 484 |
485 check-presubmit presubmit: | 485 check-presubmit presubmit: |
486 # Make sure clang-format gets run. | 486 # Make sure clang-format gets run. |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
541 @echo See Subzero size breakdown in bloat/pnacl-sz.bloat.html | 541 @echo See Subzero size breakdown in bloat/pnacl-sz.bloat.html |
542 | 542 |
543 docs: | 543 docs: |
544 make -C docs -f Makefile.standalone | 544 make -C docs -f Makefile.standalone |
545 | 545 |
546 clean: | 546 clean: |
547 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json | 547 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json |
548 | 548 |
549 clean-all: clean | 549 clean-all: clean |
550 rm -rf build/ crosstest/Output/ | 550 rm -rf build/ crosstest/Output/ |
OLD | NEW |