Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: Makefile.standalone

Issue 1608323002: Subzero: Change the szbuild.py --force default. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix makefile Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | pydir/szbuild.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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/
OLDNEW
« no previous file with comments | « no previous file | pydir/szbuild.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698