[PKG-144]: Fixes issue in command to get clang version. (#478)

pull/479/head
Muhammad Aqeel 2024-07-25 14:02:19 +05:00 committed by GitHub
parent d7999f1acf
commit 778043a5db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ install_deps() {
if [ x"$RHEL" = x8 ];
then
clang_version=$(yum list --showduplicates clang-devel | grep "17.0" | awk '{print $2}' | head -n 1)
clang_version=$(yum list --showduplicates clang-devel | grep "17.0" | grep clang | awk '{print $2}' | head -n 1)
yum install -y clang-devel-${clang_version} clang-${clang_version}
dnf module -y disable llvm-toolset
else