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> LLVM_BIN_PATH=<path> \ | 5 # make LLVM_SRC_PATH=<path> LLVM_BIN_PATH=<path> \ |
| 6 # LIBCXX_INSTALL_PATH=<path> CLANG_PATH=<path> \ | 6 # LIBCXX_INSTALL_PATH=<path> CLANG_PATH=<path> \ |
| 7 # BINUTILS_BIN_PATH=<path> ... | 7 # BINUTILS_BIN_PATH=<path> ... |
| 8 # | 8 # |
| 9 | 9 |
| 10 # LLVM_SRC_PATH is the path to the root of the checked out source code. This | 10 # LLVM_SRC_PATH is the path to the root of the checked out source code. This |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 217 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv tests_lit | 217 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv tests_lit |
| 218 | 218 |
| 219 check-unit: $(OBJDIR)/run_unittests | 219 check-unit: $(OBJDIR)/run_unittests |
| 220 $(OBJDIR)/run_unittests | 220 $(OBJDIR)/run_unittests |
| 221 | 221 |
| 222 ifdef MINIMAL | 222 ifdef MINIMAL |
| 223 check: check-lit check-unit runtime | 223 check: check-lit check-unit runtime |
| 224 @echo "Crosstests ignored, minimal build" | 224 @echo "Crosstests ignored, minimal build" |
| 225 else | 225 else |
| 226 check: check-lit check-unit runtime | 226 check: check-lit check-unit runtime |
| 227 » (cd crosstest; ./runtests.sh) | 227 # Do all native/sse2 tests, but only test_vector_ops for native/sse4.1. |
| 228 # For (slow) sandboxed tests, limit to Om1/sse4.1. | |
| 229 » ./pydir/crosstest_generator.py -v --lit \ | |
| 230 » -i native,sse2 -i native,sse4.1,test_vector_ops \ | |
| 231 » -i sandbox,sse4.1,Om1 | |
| 232 » $(LLVM_SRC_PATH)/utils/lit/lit.py -sv crosstest/Output | |
|
jvoung (off chromium)
2015/03/09 17:34:21
just checking what -sv means (succinct and verbose
Jim Stichnoth
2015/03/09 18:16:16
Right, also note it was cargo-culted from the chec
| |
| 228 endif | 233 endif |
| 229 | 234 |
| 230 FORMAT_BLACKLIST = | 235 FORMAT_BLACKLIST = |
| 231 # Add one of the following lines for each source file to ignore. | 236 # Add one of the following lines for each source file to ignore. |
| 232 FORMAT_BLACKLIST += ! -name IceParseInstsTest.cpp | 237 FORMAT_BLACKLIST += ! -name IceParseInstsTest.cpp |
| 233 format: | 238 format: |
| 234 $(LLVM_BIN_PATH)/clang-format -style=LLVM -i \ | 239 $(LLVM_BIN_PATH)/clang-format -style=LLVM -i \ |
| 235 `find . -regex '.*\.\(c\|h\|cpp\)' $(FORMAT_BLACKLIST)` | 240 `find . -regex '.*\.\(c\|h\|cpp\)' $(FORMAT_BLACKLIST)` |
| 236 | 241 |
| 237 format-diff: | 242 format-diff: |
| 238 git diff -U0 `git merge-base HEAD master` | \ | 243 git diff -U0 `git merge-base HEAD master` | \ |
| 239 PATH=$(LLVM_BIN_PATH):$(PATH) \ | 244 PATH=$(LLVM_BIN_PATH):$(PATH) \ |
| 240 $(LLVM_SRC_PATH)/../clang/tools/clang-format/clang-format-diff.py \ | 245 $(LLVM_SRC_PATH)/../clang/tools/clang-format/clang-format-diff.py \ |
| 241 -p1 -style=LLVM -i | 246 -p1 -style=LLVM -i |
| 242 | 247 |
| 243 bloat: make_symlink | 248 bloat: make_symlink |
| 244 nm -C -S -l pnacl-sz | \ | 249 nm -C -S -l pnacl-sz | \ |
| 245 bloat/bloat.py --nm-output=/dev/stdin syms > build/pnacl-sz.bloat.json | 250 bloat/bloat.py --nm-output=/dev/stdin syms > build/pnacl-sz.bloat.json |
| 246 @echo See Subzero size breakdown in bloat/pnacl-sz.bloat.html | 251 @echo See Subzero size breakdown in bloat/pnacl-sz.bloat.html |
| 247 | 252 |
| 248 clean: | 253 clean: |
| 249 rm -rf pnacl-sz *.o $(OBJDIR) build/pnacl-sz.bloat.json | 254 rm -rf pnacl-sz *.o $(OBJDIR) build/pnacl-sz.bloat.json |
| 250 | 255 |
| 251 clean-all: clean | 256 clean-all: clean |
| 252 rm -rf build/ | 257 rm -rf build/ |
| OLD | NEW |