From: John Mulligan Date: Thu, 13 Feb 2025 20:59:58 +0000 (-0500) Subject: do_cmake.sh: specify correct python version for centos 10 stream X-Git-Tag: v20.0.0~81^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=37a3fd46c594278b8b13ba7f185f7ba916e5417d;p=ceph.git do_cmake.sh: specify correct python version for centos 10 stream Update the python version in the same tedious manner for centos 10 stream. Signed-off-by: John Mulligan --- diff --git a/do_cmake.sh b/do_cmake.sh index 4d2f598094ab8..2f5c5ee5bd477 100755 --- a/do_cmake.sh +++ b/do_cmake.sh @@ -30,7 +30,9 @@ if [ -r /etc/os-release ]; then ;; almalinux|rocky|rhel|centos) MAJOR_VER=$(echo "$VERSION_ID" | sed -e 's/\..*$//') - if [ "$MAJOR_VER" -ge "9" ] ; then + if [ "$MAJOR_VER" -ge "10" ] ; then + PYBUILD="3.12" + elif [ "$MAJOR_VER" -ge "9" ] ; then PYBUILD="3.9" elif [ "$MAJOR_VER" -ge "8" ] ; then PYBUILD="3.6"