diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-09-07 21:39:42 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-09-07 21:39:42 +0300 |
commit | 639a916f12039796ad13e2bfee5209bb13a5098b (patch) | |
tree | 1709d08689fdf659df704d40babd8db220717786 /build_files/build_environment | |
parent | 98323160d28600acc99dc8a7898a30904ec29a48 (diff) |
Install_deps: fix llvm/clang ARCH package names.
Issue raised in T56540, thanks.
Also tried to re-enable using fedora's llvm/clang packages, would hope
and assume old issue here is fixed.
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 4cd0b0e4ce9..b6b7ba1f743 100755 --- a/build_files/build_environment/install_deps.sh +++ b/build_files/build_environment/install_deps.sh @@ -3427,16 +3427,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 @@ -3837,11 +3836,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 |