Chromium Code Reviews| 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 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 354 -i x8632,sandbox,sse4.1,Om1 \ | 354 -i x8632,sandbox,sse4.1,Om1 \ |
| 355 -i arm32,native,neon,simple_loop \ | 355 -i arm32,native,neon,simple_loop \ |
| 356 -i arm32,native,neon,mem_intrin \ | 356 -i arm32,native,neon,mem_intrin \ |
| 357 -i arm32,native,neon,test_bitmanip \ | 357 -i arm32,native,neon,test_bitmanip \ |
| 358 -i arm32,native,neon,test_stacksave \ | 358 -i arm32,native,neon,test_stacksave \ |
| 359 -i arm32,native,neon,test_strengthreduce | 359 -i arm32,native,neon,test_strengthreduce |
| 360 PNACL_BIN_PATH=$(PNACL_BIN_PATH) \ | 360 PNACL_BIN_PATH=$(PNACL_BIN_PATH) \ |
| 361 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv crosstest/Output | 361 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv crosstest/Output |
| 362 endif | 362 endif |
| 363 | 363 |
| 364 ifdef DEBUG | |
| 364 check-unit: $(OBJDIR)/run_unittests | 365 check-unit: $(OBJDIR)/run_unittests |
| 365 $(OBJDIR)/run_unittests | 366 $(OBJDIR)/run_unittests |
| 367 else | |
| 368 check-unit: | |
| 369 @echo "Run with DEBUG=1 lest your machine perish." | |
|
Jim Stichnoth
2015/08/18 17:11:28
Cool.
Maybe add "check-unit" to the echo string,
ascull
2015/08/18 18:38:01
Done.
John
2015/08/18 18:51:39
I have something similar in a patch -- which I rep
ascull
2015/08/18 19:03:10
We can merge to yours when the time comes. Mine is
| |
| 370 endif | |
| 366 | 371 |
| 367 check: check-lit check-unit check-xtest | 372 check: check-lit check-unit check-xtest |
| 368 | 373 |
| 369 FORMAT_BLACKLIST = | 374 FORMAT_BLACKLIST = |
| 370 # Add one of the following lines for each source file to ignore. | 375 # Add one of the following lines for each source file to ignore. |
| 371 FORMAT_BLACKLIST += ! -name IceParseInstsTest.cpp | 376 FORMAT_BLACKLIST += ! -name IceParseInstsTest.cpp |
| 372 FORMAT_BLACKLIST += ! -name IceParseTypesTest.cpp | 377 FORMAT_BLACKLIST += ! -name IceParseTypesTest.cpp |
| 373 format: | 378 format: |
| 374 $(CLANG_FORMAT_PATH)/clang-format -style=LLVM -i \ | 379 $(CLANG_FORMAT_PATH)/clang-format -style=LLVM -i \ |
| 375 `find . -regex '.*\.\(c\|h\|cpp\)' $(FORMAT_BLACKLIST)` | 380 `find . -regex '.*\.\(c\|h\|cpp\)' $(FORMAT_BLACKLIST)` |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 387 | 392 |
| 388 docs: | 393 docs: |
| 389 doxygen Doxyfile | 394 doxygen Doxyfile |
| 390 @echo See file://`pwd`/docs/html/index.html | 395 @echo See file://`pwd`/docs/html/index.html |
| 391 | 396 |
| 392 clean: | 397 clean: |
| 393 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json | 398 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json |
| 394 | 399 |
| 395 clean-all: clean | 400 clean-all: clean |
| 396 rm -rf build/ docs/ | 401 rm -rf build/ docs/ |
| OLD | NEW |