Skip to content

Commit 99e0298

Browse files
committed
install-deps: warn about gcc older than 13 for el9 and later
function ensure_decent_gcc_on_rh() is supposed to log a warning when it finds the default gcc version is older than the gcc toolset version installed by ceph.spec.in > Your GCC is too old. Please run following command to add DTS to your environment: however, this function is only called if the dts_ver variable is initialized, so set it to 13 for centos/rocky 9 and later to match ceph.spec.in Signed-off-by: Casey Bodley <[email protected]>
1 parent 70417d2 commit 99e0298

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

install-deps.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,7 @@ else
536536
$SUDO dnf config-manager --setopt=apt-mirror.front.sepia.ceph.com_lab-extras_8_.gpgcheck=0 --save
537537
$SUDO dnf -y module enable javapackages-tools
538538
elif { [ "$ID" = centos ] || [ "$ID" = rocky ]; } && [ "$MAJOR_VERSION" -ge 9 ]; then
539+
dts_ver=13
539540
$SUDO dnf config-manager --set-enabled crb
540541
if [ "$MAJOR_VERSION" -eq 10 ]; then
541542
setup_lab_extras_repo

0 commit comments

Comments
 (0)