diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-09-07 21:41:27 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-09-07 21:41:27 +0300 |
commit | e2fc6615c406a7162e1585cb181c25791415c441 (patch) | |
tree | 972dc99a1185efe9f01a4de0593a1f39651cceaf /build_files/build_environment | |
parent | 2659f3be136bbc4d5ec05d6672a0471edfaf6be8 (diff) | |
parent | 639a916f12039796ad13e2bfee5209bb13a5098b (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'build_files/build_environment')
-rwxr-xr-x | build_files/build_environment/install_deps.sh | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/build_files/build_environment/install_deps.sh b/build_files/build_environment/install_deps.sh index b7fa8d96d03..be6e8384ac9 100755 --- a/build_files/build_environment/install_deps.sh +++ b/build_files/build_environment/install_deps.sh @@ -3422,16 +3422,15 @@ install_RPM() { else CLANG_DEV="clang-devel" fi - # XXX RHEL has 3.4 in repo but OSL complains about not finding MCJIT_LIBRARY, so compile for now... - #check_package_version_match_RPM $CLANG_DEV $LLVM_VERSION - #if [ $? -eq 0 ]; then - # install_packages_RPM llvm-devel $CLANG_DEV - # have_llvm=true - # LLVM_VERSION_FOUND=$LLVM_VERSION - # clean_LLVM - #else + check_package_version_match_RPM $CLANG_DEV $LLVM_VERSION + if [ $? -eq 0 ]; then + install_packages_RPM llvm-devel $CLANG_DEV + have_llvm=true + LLVM_VERSION_FOUND=$LLVM_VERSION + clean_LLVM + else _do_compile_llvm=true - #fi + fi fi if [ "$_do_compile_llvm" = true ]; then @@ -3832,11 +3831,11 @@ install_ARCH() { INFO "Forced LLVM building, as requested..." _do_compile_llvm=true else - check_package_version_match_ARCH llvm35 $LLVM_VERSION_MIN + check_package_version_match_ARCH llvm $LLVM_VERSION_MIN if [ $? -eq 0 ]; then - install_packages_ARCH llvm35 clang35 + install_packages_ARCH llvm clang have_llvm=true - LLVM_VERSION=`get_package_version_ARCH llvm35` + LLVM_VERSION=`get_package_version_ARCH llvm` LLVM_VERSION_FOUND=$LLVM_VERSION clean_LLVM else |