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 # | 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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 $(OBJS): | $(OBJDIR) | 175 $(OBJS): | $(OBJDIR) |
176 | 176 |
177 $(UNITTEST_OBJS): | $(OBJDIR)/unittest | 177 $(UNITTEST_OBJS): | $(OBJDIR)/unittest |
178 | 178 |
179 $(OBJDIR): | 179 $(OBJDIR): |
180 @mkdir -p $@ | 180 @mkdir -p $@ |
181 | 181 |
182 $(OBJDIR)/unittest: $(OBJDIR) | 182 $(OBJDIR)/unittest: $(OBJDIR) |
183 @mkdir -p $@ | 183 @mkdir -p $@ |
184 | 184 |
185 check-lit: llvm2ice make_symlink | 185 check-lit: $(OBJDIR)/llvm2ice make_symlink |
186 LLVM_BIN_PATH=$(LLVM_BIN_PATH) \ | 186 LLVM_BIN_PATH=$(LLVM_BIN_PATH) \ |
187 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv tests_lit | 187 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv tests_lit |
188 | 188 |
189 check-unit: $(OBJDIR)/run_unittests | 189 check-unit: $(OBJDIR)/run_unittests |
190 $(OBJDIR)/run_unittests | 190 $(OBJDIR)/run_unittests |
191 | 191 |
192 ifdef MINIMAL | 192 ifdef MINIMAL |
193 check: check-lit check-unit | 193 check: check-lit check-unit |
194 @echo "Crosstests ignored, minimal build" | 194 @echo "Crosstests ignored, minimal build" |
195 else | 195 else |
(...skipping 12 matching lines...) Expand all Loading... |
208 git diff -U0 `git merge-base HEAD master` | \ | 208 git diff -U0 `git merge-base HEAD master` | \ |
209 PATH=$(LLVM_BIN_PATH):$(PATH) \ | 209 PATH=$(LLVM_BIN_PATH):$(PATH) \ |
210 $(LLVM_SRC_PATH)/../clang/tools/clang-format/clang-format-diff.py \ | 210 $(LLVM_SRC_PATH)/../clang/tools/clang-format/clang-format-diff.py \ |
211 -p1 -style=LLVM -i | 211 -p1 -style=LLVM -i |
212 | 212 |
213 clean: | 213 clean: |
214 rm -rf llvm2ice *.o $(OBJDIR) | 214 rm -rf llvm2ice *.o $(OBJDIR) |
215 | 215 |
216 clean-all: clean | 216 clean-all: clean |
217 rm -rf build/ | 217 rm -rf build/ |
OLD | NEW |