Skip to content

Commit 92ef6ae

Browse files
authored
Merge pull request ceph#61827 from tchaikov/python3.12-on-ubuntu-noble
do_cmake: use Python 3.12 on ubuntu >= 24 Reviewed-by: Ilya Dryomov <[email protected]>
2 parents e6f4a03 + 4df3683 commit 92ef6ae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

do_cmake.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ if [ -r /etc/os-release ]; then
4343
;;
4444
ubuntu)
4545
MAJOR_VER=$(echo "$VERSION_ID" | sed -e 's/\..*$//')
46-
if [ "$MAJOR_VER" -ge "22" ] ; then
46+
if [ "$MAJOR_VER" -ge "24" ] ; then
47+
PYBUILD="3.12"
48+
elif [ "$MAJOR_VER" -ge "22" ] ; then
4749
PYBUILD="3.10"
4850
fi
4951
;;

0 commit comments

Comments
 (0)