]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
do_cmake: support the ubuntu 26.04 version of python in build script
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 30 Apr 2026 19:48:09 +0000 (15:48 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 5 May 2026 14:46:40 +0000 (10:46 -0400)
Signed-off-by: John Mulligan <jmulligan@redhat.com>
do_cmake.sh

index 64c198f439ac7c4dfaea6581703b999c53e5b4ca..38327245640907d9f9d34c88598c6a50f2c6f0bb 100755 (executable)
@@ -47,7 +47,9 @@ if [ -r /etc/os-release ]; then
           ;;
       ubuntu)
           MAJOR_VER=$(echo "$VERSION_ID" | sed -e 's/\..*$//')
-          if [ "$MAJOR_VER" -ge "24" ] ; then
+          if [ "$MAJOR_VER" -ge "26" ] ; then
+              PYBUILD="3.14"
+          elif [ "$MAJOR_VER" -ge "24" ] ; then
               PYBUILD="3.12"
           elif [ "$MAJOR_VER" -ge "22" ] ; then
               PYBUILD="3.10"