fixing LLVM path when compiling TensorFlow
@@ -21,7 +21,11 @@ else
fi
fi
-if [ "${CK_ENV_COMPILER_GCC_BIN}" != "" ] ; then
+if [ "${CK_ENV_COMPILER_LLVM_BIN}" != "" ] ; then
+ CK_FULL_CXX="${CK_ENV_COMPILER_LLVM_BIN}/${CK_CXX}"
+ CK_FULL_AR="${CK_ENV_COMPILER_LLVM_BIN}/${CK_AR}"
+ CK_FULL_LD="${CK_ENV_COMPILER_LLVM_BIN}/${CK_LD}"
+elif [ "${CK_ENV_COMPILER_GCC_BIN}" != "" ] ; then
CK_FULL_CXX="${CK_ENV_COMPILER_GCC_BIN}/${CK_CXX}"
CK_FULL_AR="${CK_ENV_COMPILER_GCC_BIN}/${CK_AR}"
CK_FULL_LD="${CK_ENV_COMPILER_GCC_BIN}/${CK_LD}"
