aboutsummaryrefslogtreecommitdiffstats
path: root/coin
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@qt.io>2020-10-07 19:32:19 +0200
committerCristian Adam <cristian.adam@qt.io>2020-10-11 14:10:42 +0200
commitca02358af27b458739cba29086ff6ad19196d431 (patch)
tree2ad4033e904cbebe39cc5eac0e04ee041c0903c8 /coin
parentaee06febca2305b9442c5a43d6648ead5b28e4d4 (diff)
Provision RedHat libclang packages only for RedHat
While bulding on CentOS with Red Hat libclang packages we end up with linker errors due to differences in C++ ABI used. Ubuntu 18.04 package works fine with CentOS 8.1. Task-number: QTBUG-86968 Change-Id: Idf0435a06046fb791b8ca1086e6465521ba6006a Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'coin')
-rwxr-xr-xcoin/provisioning/common/unix/libclang.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/coin/provisioning/common/unix/libclang.sh b/coin/provisioning/common/unix/libclang.sh
index 02dd4428..8790a070 100755
--- a/coin/provisioning/common/unix/libclang.sh
+++ b/coin/provisioning/common/unix/libclang.sh
@@ -54,7 +54,7 @@ if uname -a |grep -q Darwin; then
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version//\./}-based-mac.7z"
url_cached="http://ci-files01-hki.intra.qt.io/input/libclang/qt/libclang-release_${version//\./}-based-mac.7z"
sha1="6e019c428511e74c5d46d0ddca79d8e804b67f8a"
-elif test -f /etc/redhat-release; then
+elif test -f /etc/redhat-release && cat /etc/redhat-release | grep "Red Hat"; then
version=$libclang_version
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version//\./}-based-linux-Rhel7.6-gcc5.3-x86_64.7z"
url_cached="http://ci-files01-hki.intra.qt.io/input/libclang/qt/libclang-release_${version//\./}-based-linux-Rhel7.6-gcc5.3-x86_64.7z"