mirror of
https://github.com/ceph/ceph
synced 2026-08-02 07:03:18 +00:00
do_cmake: support the ubuntu 26.04 version of python in build script
Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
e16cd9342c
commit
b9d9529553
@ -47,7 +47,9 @@ if [ -r /etc/os-release ]; then
|
|||||||
;;
|
;;
|
||||||
ubuntu)
|
ubuntu)
|
||||||
MAJOR_VER=$(echo "$VERSION_ID" | sed -e 's/\..*$//')
|
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"
|
PYBUILD="3.12"
|
||||||
elif [ "$MAJOR_VER" -ge "22" ] ; then
|
elif [ "$MAJOR_VER" -ge "22" ] ; then
|
||||||
PYBUILD="3.10"
|
PYBUILD="3.10"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user