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 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
471 SPEC := -O2 --filetype=obj | 471 SPEC := -O2 --filetype=obj |
472 endif | 472 endif |
473 ifeq ($(TARGET),x8664) | 473 ifeq ($(TARGET),x8664) |
474 TARGETFLAG=x8664 | 474 TARGETFLAG=x8664 |
475 SETUP=SetupGccX8664Opt | 475 SETUP=SetupGccX8664Opt |
476 SPEC := -O2 --filetype=obj | 476 SPEC := -O2 --filetype=obj |
477 endif | 477 endif |
478 ifeq ($(TARGET),arm32) | 478 ifeq ($(TARGET),arm32) |
479 TARGETFLAG=arm32 | 479 TARGETFLAG=arm32 |
480 SETUP=SetupGccArmOpt | 480 SETUP=SetupGccArmOpt |
481 SPEC := -O2 --filetype=asm | 481 SPEC := -O2 --filetype=obj |
482 endif | 482 endif |
483 SPECFLAGS := | 483 SPECFLAGS := |
484 SPECBUILDONLY := false | 484 SPECBUILDONLY := false |
485 %.spec2k: % $(OBJDIR)/pnacl-sz make_symlink runtime | 485 %.spec2k: % $(OBJDIR)/pnacl-sz make_symlink runtime |
486 ./pydir/szbuild_spec2k.py -v \ | 486 ./pydir/szbuild_spec2k.py -v \ |
487 $(SPECFLAGS) --target=$(TARGETFLAG) $(SPEC) $< | 487 $(SPECFLAGS) --target=$(TARGETFLAG) $(SPEC) $< |
488 $(SPECBUILDONLY) || ( cd ../../../tests/spec2k; \ | 488 $(SPECBUILDONLY) || ( cd ../../../tests/spec2k; \ |
489 ./run_all.sh RunTimedBenchmarks $(SETUP) train $< ) | 489 ./run_all.sh RunTimedBenchmarks $(SETUP) train $< ) |
490 | 490 |
491 check-spec: $(ALLSPEC:=.spec2k) | 491 check-spec: $(ALLSPEC:=.spec2k) |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
569 @cat Makefile.standalone-help/check-lit.txt | 569 @cat Makefile.standalone-help/check-lit.txt |
570 | 570 |
571 help-check-xtest: | 571 help-check-xtest: |
572 @cat Makefile.standalone-help/check-xtest.txt | 572 @cat Makefile.standalone-help/check-xtest.txt |
573 | 573 |
574 clean: | 574 clean: |
575 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json | 575 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json |
576 | 576 |
577 clean-all: clean | 577 clean-all: clean |
578 rm -rf build/ crosstest/Output/ | 578 rm -rf build/ crosstest/Output/ |
OLD | NEW |