Chromium Code Reviews| OLD | NEW | 
|---|---|
| 1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 the V8 project authors. All rights reserved. | 
| 2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without | 
| 3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are | 
| 4 # met: | 4 # met: | 
| 5 # | 5 # | 
| 6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright | 
| 7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. | 
| 8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above | 
| 9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following | 
| 10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided | 
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 250 $(addsuffix .$(mode),$(NACL_ARCHES))) | 250 $(addsuffix .$(mode),$(NACL_ARCHES))) | 
| 251 # Generates corresponding test targets, e.g. "ia32.release.check". | 251 # Generates corresponding test targets, e.g. "ia32.release.check". | 
| 252 CHECKS = $(addsuffix .check,$(BUILDS)) | 252 CHECKS = $(addsuffix .check,$(BUILDS)) | 
| 253 QUICKCHECKS = $(addsuffix .quickcheck,$(BUILDS)) | 253 QUICKCHECKS = $(addsuffix .quickcheck,$(BUILDS)) | 
| 254 ANDROID_CHECKS = $(addsuffix .check,$(ANDROID_BUILDS)) | 254 ANDROID_CHECKS = $(addsuffix .check,$(ANDROID_BUILDS)) | 
| 255 NACL_CHECKS = $(addsuffix .check,$(NACL_BUILDS)) | 255 NACL_CHECKS = $(addsuffix .check,$(NACL_BUILDS)) | 
| 256 # File where previously used GYPFLAGS are stored. | 256 # File where previously used GYPFLAGS are stored. | 
| 257 ENVFILE = $(OUTDIR)/environment | 257 ENVFILE = $(OUTDIR)/environment | 
| 258 | 258 | 
| 259 .PHONY: all check clean builddeps dependencies $(ENVFILE).new native \ | 259 .PHONY: all check clean builddeps dependencies $(ENVFILE).new native \ | 
| 260 qc quickcheck $(QUICKCHECKS) \ | 260 qc quickcheck $(QUICKCHECKS) turbocheck \ | 
| 
 
Michael Achenbach
2014/10/31 08:08:02
So, you only want one stand-alone turbocheck targe
 
Benedikt Meurer
2014/10/31 08:38:44
Yes.
 
 | |
| 261 $(addsuffix .quickcheck,$(MODES)) $(addsuffix .quickcheck,$(ARCHES)) \ | 261 $(addsuffix .quickcheck,$(MODES)) $(addsuffix .quickcheck,$(ARCHES)) \ | 
| 262 $(ARCHES) $(MODES) $(BUILDS) $(CHECKS) $(addsuffix .clean,$(ARCHES)) \ | 262 $(ARCHES) $(MODES) $(BUILDS) $(CHECKS) $(addsuffix .clean,$(ARCHES)) \ | 
| 263 $(addsuffix .check,$(MODES)) $(addsuffix .check,$(ARCHES)) \ | 263 $(addsuffix .check,$(MODES)) $(addsuffix .check,$(ARCHES)) \ | 
| 264 $(ANDROID_ARCHES) $(ANDROID_BUILDS) $(ANDROID_CHECKS) \ | 264 $(ANDROID_ARCHES) $(ANDROID_BUILDS) $(ANDROID_CHECKS) \ | 
| 265 must-set-ANDROID_NDK_ROOT_OR_TOOLCHAIN \ | 265 must-set-ANDROID_NDK_ROOT_OR_TOOLCHAIN \ | 
| 266 $(NACL_ARCHES) $(NACL_BUILDS) $(NACL_CHECKS) \ | 266 $(NACL_ARCHES) $(NACL_BUILDS) $(NACL_CHECKS) \ | 
| 267 must-set-NACL_SDK_ROOT | 267 must-set-NACL_SDK_ROOT | 
| 268 | 268 | 
| 269 # Target definitions. "all" is the default. | 269 # Target definitions. "all" is the default. | 
| 270 all: $(DEFAULT_MODES) | 270 all: $(DEFAULT_MODES) | 
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 379 EMPTY = | 379 EMPTY = | 
| 380 SPACE = $(EMPTY) $(EMPTY) | 380 SPACE = $(EMPTY) $(EMPTY) | 
| 381 quickcheck: $(subst $(COMMA),$(SPACE),$(FASTCOMPILEMODES)) | 381 quickcheck: $(subst $(COMMA),$(SPACE),$(FASTCOMPILEMODES)) | 
| 382 tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ | 382 tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ | 
| 383 --arch-and-mode=$(SUPERFASTTESTMODES) $(TESTFLAGS) --quickcheck \ | 383 --arch-and-mode=$(SUPERFASTTESTMODES) $(TESTFLAGS) --quickcheck \ | 
| 384 --download-data mozilla webkit | 384 --download-data mozilla webkit | 
| 385 tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ | 385 tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ | 
| 386 --arch-and-mode=$(FASTTESTMODES) $(TESTFLAGS) --quickcheck | 386 --arch-and-mode=$(FASTTESTMODES) $(TESTFLAGS) --quickcheck | 
| 387 qc: quickcheck | 387 qc: quickcheck | 
| 388 | 388 | 
| 389 turbocheck: $(subst $(COMMA),$(SPACE),$(FASTCOMPILEMODES)) | |
| 390 tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ | |
| 391 --arch-and-mode=$(SUPERFASTTESTMODES) $(TESTFLAGS) \ | |
| 392 --variants=turbofan --download-data mozilla webkit | |
| 
 
Michael Achenbach
2014/10/31 08:08:02
You could keep --quickcheck in order to not run fl
 
Benedikt Meurer
2014/10/31 08:38:44
Acknowledged.
 
 | |
| 393 tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ | |
| 394 --arch-and-mode=$(FASTTESTMODES) $(TESTFLAGS) \ | |
| 395 --variants=turbofan | |
| 
 
Michael Achenbach
2014/10/31 08:08:02
For lazy typers?
tc: turbocheck
 
Benedikt Meurer
2014/10/31 08:38:44
Done.
 
 | |
| 396 | |
| 389 # Clean targets. You can clean each architecture individually, or everything. | 397 # Clean targets. You can clean each architecture individually, or everything. | 
| 390 $(addsuffix .clean, $(ARCHES) $(ANDROID_ARCHES) $(NACL_ARCHES)): | 398 $(addsuffix .clean, $(ARCHES) $(ANDROID_ARCHES) $(NACL_ARCHES)): | 
| 391 rm -f $(OUTDIR)/Makefile.$(basename $@)* | 399 rm -f $(OUTDIR)/Makefile.$(basename $@)* | 
| 392 rm -rf $(OUTDIR)/$(basename $@).release | 400 rm -rf $(OUTDIR)/$(basename $@).release | 
| 393 rm -rf $(OUTDIR)/$(basename $@).debug | 401 rm -rf $(OUTDIR)/$(basename $@).debug | 
| 394 rm -rf $(OUTDIR)/$(basename $@).optdebug | 402 rm -rf $(OUTDIR)/$(basename $@).optdebug | 
| 395 find $(OUTDIR) -regex '.*\(host\|target\)\.$(basename $@).*\.mk' -delete | 403 find $(OUTDIR) -regex '.*\(host\|target\)\.$(basename $@).*\.mk' -delete | 
| 396 | 404 | 
| 397 native.clean: | 405 native.clean: | 
| 398 rm -f $(OUTDIR)/Makefile.native | 406 rm -f $(OUTDIR)/Makefile.native | 
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 489 third_party/icu --revision 277999 ; \ | 497 third_party/icu --revision 277999 ; \ | 
| 490 fi | 498 fi | 
| 491 svn checkout --force http://googletest.googlecode.com/svn/trunk \ | 499 svn checkout --force http://googletest.googlecode.com/svn/trunk \ | 
| 492 testing/gtest --revision 692 | 500 testing/gtest --revision 692 | 
| 493 svn checkout --force http://googlemock.googlecode.com/svn/trunk \ | 501 svn checkout --force http://googlemock.googlecode.com/svn/trunk \ | 
| 494 testing/gmock --revision 485 | 502 testing/gmock --revision 485 | 
| 495 | 503 | 
| 496 dependencies: builddeps | 504 dependencies: builddeps | 
| 497 # The spec is a copy of the hooks in v8's DEPS file. | 505 # The spec is a copy of the hooks in v8's DEPS file. | 
| 498 gclient sync -r fb782d4369d5ae04f17a2fceef7de5a63e50f07b --spec="solutio ns = [{u'managed': False, u'name': u'buildtools', u'url': u'https://chromium.goo glesource.com/chromium/buildtools.git', u'custom_deps': {}, u'custom_hooks': [{u 'name': u'clang_format_win',u'pattern': u'.',u'action': [u'download_from_google_ storage',u'--no_resume',u'--platform=win32',u'--no_auth',u'--bucket',u'chromium- clang-format',u'-s',u'buildtools/win/clang-format.exe.sha1']},{u'name': u'clang_ format_mac',u'pattern': u'.',u'action': [u'download_from_google_storage',u'--no_ resume',u'--platform=darwin',u'--no_auth',u'--bucket',u'chromium-clang-format',u '-s',u'buildtools/mac/clang-format.sha1']},{u'name': u'clang_format_linux',u'pat tern': u'.',u'action': [u'download_from_google_storage',u'--no_resume',u'--platf orm=linux*',u'--no_auth',u'--bucket',u'chromium-clang-format',u'-s',u'buildtools /linux64/clang-format.sha1']}],u'deps_file': u'.DEPS.git', u'safesync_url': u''} ]" | 506 gclient sync -r fb782d4369d5ae04f17a2fceef7de5a63e50f07b --spec="solutio ns = [{u'managed': False, u'name': u'buildtools', u'url': u'https://chromium.goo glesource.com/chromium/buildtools.git', u'custom_deps': {}, u'custom_hooks': [{u 'name': u'clang_format_win',u'pattern': u'.',u'action': [u'download_from_google_ storage',u'--no_resume',u'--platform=win32',u'--no_auth',u'--bucket',u'chromium- clang-format',u'-s',u'buildtools/win/clang-format.exe.sha1']},{u'name': u'clang_ format_mac',u'pattern': u'.',u'action': [u'download_from_google_storage',u'--no_ resume',u'--platform=darwin',u'--no_auth',u'--bucket',u'chromium-clang-format',u '-s',u'buildtools/mac/clang-format.sha1']},{u'name': u'clang_format_linux',u'pat tern': u'.',u'action': [u'download_from_google_storage',u'--no_resume',u'--platf orm=linux*',u'--no_auth',u'--bucket',u'chromium-clang-format',u'-s',u'buildtools /linux64/clang-format.sha1']}],u'deps_file': u'.DEPS.git', u'safesync_url': u''} ]" | 
| OLD | NEW |