Skip to content

Commit 6796f14

Browse files
riptlripatel-fd
authored andcommitted
deps: only install llvm-toolset on rhel
1 parent a19d976 commit 6796f14

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

deps.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,10 @@ check_fedora_pkgs () {
162162
protobuf-compiler # Agave, solfuzz
163163
)
164164
if [[ $DEVMODE == 1 ]]; then
165-
REQUIRED_RPMS+=( autoconf automake bison cmake clang flex gettext-devel gmp-devel llvm-toolset lcov )
165+
REQUIRED_RPMS+=( autoconf automake bison cmake clang flex gettext-devel gmp-devel lcov )
166+
if [[ "${ID_LIKE:-}" == *rhel* ]]; then
167+
REQUIRED_RPMS+=( llvm-toolset )
168+
fi
166169
fi
167170

168171
echo "[~] Checking for required RPM packages"

0 commit comments

Comments
 (0)