File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 604
604
LLVM_VERSION=$( $LLVM_CONFIG --version)
605
605
606
606
case $LLVM_VERSION in
607
- (3.[2-4 ]svn|3.[2-4 ])
607
+ (3.[2-5 ]svn|3.[2-5 ])
608
608
msg " found ok version of LLVM: $LLVM_VERSION "
609
609
;;
610
610
(* )
626
626
| cut -d ' ' -f 2)
627
627
628
628
case $CFG_CLANG_VERSION in
629
- (3.0svn | 3.0 | 3.1* | 3.2* | 3.3* | 3.4* )
629
+ (3.0svn | 3.0 | 3.1* | 3.2* | 3.3* | 3.4* | 3.5 * )
630
630
step_msg " found ok version of CLANG: $CFG_CLANG_VERSION "
631
631
CFG_C_COMPILER=" clang"
632
632
;;
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