File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: e97bb92457c06e7eef958f80602e2aa6265ea5db
2
+ refs/heads/master: ccd25e572d62e008e0be275c2120d166c48817b6
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 6e7f170fedd3c526a643c0b2d13863acd982be02
5
5
refs/heads/try: a97642026c18a624ff6ea01075dd9550f8ed07ff
Original file line number Diff line number Diff line change @@ -218,8 +218,12 @@ LLVM_TOOLS=bugpoint llc llvm-ar llvm-as llvm-dis llvm-mc opt llvm-extract
218
218
define DEF_LLVM_VARS
219
219
# The configure script defines these variables with the target triples
220
220
# separated by Z. This defines new ones with the expected format.
221
+ ifeq ($$(CFG_LLVM_ROOT ) ,)
221
222
CFG_LLVM_BUILD_DIR_$(1): =$$(CFG_LLVM_BUILD_DIR_$(subst -,_,$(1 ) ) )
222
223
CFG_LLVM_INST_DIR_$(1): =$$(CFG_LLVM_INST_DIR_$(subst -,_,$(1 ) ) )
224
+ else
225
+ CFG_LLVM_INST_DIR_$(1): =$$(CFG_LLVM_ROOT )
226
+ endif
223
227
224
228
# Any rules that depend on LLVM should depend on LLVM_CONFIG
225
229
LLVM_CONFIG_$(1 ) :=$$(CFG_LLVM_INST_DIR_$(1 ) ) /bin/llvm-config$$(X_$(1 ) )
You can’t perform that action at this time.
0 commit comments