File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 604604 LLVM_VERSION=$( $LLVM_CONFIG --version)
605605
606606 case $LLVM_VERSION in
607- (3.[2-4 ]svn|3.[2-4 ])
607+ (3.[2-5 ]svn|3.[2-5 ])
608608 msg " found ok version of LLVM: $LLVM_VERSION "
609609 ;;
610610 (* )
626626 | cut -d ' ' -f 2)
627627
628628 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 * )
630630 step_msg " found ok version of CLANG: $CFG_CLANG_VERSION "
631631 CFG_C_COMPILER=" clang"
632632 ;;
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
218218define DEF_LLVM_VARS
219219# The configure script defines these variables with the target triples
220220# separated by Z. This defines new ones with the expected format.
221+ ifeq ($$(CFG_LLVM_ROOT ) ,)
221222CFG_LLVM_BUILD_DIR_$(1): =$$(CFG_LLVM_BUILD_DIR_$(subst -,_,$(1 ) ) )
222223CFG_LLVM_INST_DIR_$(1): =$$(CFG_LLVM_INST_DIR_$(subst -,_,$(1 ) ) )
224+ else
225+ CFG_LLVM_INST_DIR_$(1): =$$(CFG_LLVM_ROOT )
226+ endif
223227
224228# Any rules that depend on LLVM should depend on LLVM_CONFIG
225229LLVM_CONFIG_$(1 ) :=$$(CFG_LLVM_INST_DIR_$(1 ) ) /bin/llvm-config$$(X_$(1 ) )
You can’t perform that action at this time.
0 commit comments