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 # | 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 47 | 47 |
| 48 # The list of CXX defines that are dependent on build parameters. | 48 # The list of CXX defines that are dependent on build parameters. |
| 49 CXX_DEFINES = | 49 CXX_DEFINES = |
| 50 CXX_EXTRA = | 50 CXX_EXTRA = |
| 51 LD_EXTRA = | 51 LD_EXTRA = |
| 52 | 52 |
| 53 ifdef MINIMAL | 53 ifdef MINIMAL |
| 54 NOASSERT = 1 | 54 NOASSERT = 1 |
| 55 OBJDIR := $(OBJDIR)+Min | 55 OBJDIR := $(OBJDIR)+Min |
| 56 CXX_DEFINES += -DALLOW_DUMP=0 -DALLOW_LLVM_CL=0 -DALLOW_LLVM_IR=0 \ | 56 CXX_DEFINES += -DALLOW_DUMP=0 -DALLOW_LLVM_CL=0 -DALLOW_LLVM_IR=0 \ |
| 57 » -DALLOW_LLVM_IR_AS_INPUT=0 -DALLOW_DISABLE_IR_GEN=0 | 57 » -DALLOW_LLVM_IR_AS_INPUT=0 -DALLOW_DISABLE_IR_GEN=0 -DIS_MINIMAL_BUILD=1 |
|
Jim Stichnoth
2015/02/05 22:30:09
In the interest of bikeshedding, can we have this
Karl
2015/02/05 23:57:38
Done.
| |
| 58 else | 58 else |
| 59 CXX_DEFINES += -DALLOW_DUMP=1 -DALLOW_LLVM_CL=1 -DALLOW_LLVM_IR=1 \ | 59 CXX_DEFINES += -DALLOW_DUMP=1 -DALLOW_LLVM_CL=1 -DALLOW_LLVM_IR=1 \ |
| 60 » -DALLOW_LLVM_IR_AS_INPUT=1 -DALLOW_DISABLE_IR_GEN=1 | 60 » -DALLOW_LLVM_IR_AS_INPUT=1 -DALLOW_DISABLE_IR_GEN=1 -DIS_MINIMAL_BUILD=0 |
| 61 endif | 61 endif |
| 62 | 62 |
| 63 ifdef NOASSERT | 63 ifdef NOASSERT |
| 64 ASSERTIONS = -DNDEBUG | 64 ASSERTIONS = -DNDEBUG |
| 65 else | 65 else |
| 66 ASSERTIONS = | 66 ASSERTIONS = |
| 67 OBJDIR := $(OBJDIR)+Asserts | 67 OBJDIR := $(OBJDIR)+Asserts |
| 68 endif | 68 endif |
| 69 | 69 |
| 70 ifdef TSAN | 70 ifdef TSAN |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 209 git diff -U0 `git merge-base HEAD master` | \ | 209 git diff -U0 `git merge-base HEAD master` | \ |
| 210 PATH=$(LLVM_BIN_PATH):$(PATH) \ | 210 PATH=$(LLVM_BIN_PATH):$(PATH) \ |
| 211 $(LLVM_SRC_PATH)/../clang/tools/clang-format/clang-format-diff.py \ | 211 $(LLVM_SRC_PATH)/../clang/tools/clang-format/clang-format-diff.py \ |
| 212 -p1 -style=LLVM -i | 212 -p1 -style=LLVM -i |
| 213 | 213 |
| 214 clean: | 214 clean: |
| 215 rm -rf llvm2ice *.o $(OBJDIR) | 215 rm -rf llvm2ice *.o $(OBJDIR) |
| 216 | 216 |
| 217 clean-all: clean | 217 clean-all: clean |
| 218 rm -rf build/ | 218 rm -rf build/ |
| OLD | NEW |