mirror of
https://github.com/ceph/ceph
synced 2026-08-01 22:45:39 +00:00
Merge pull request #54566 from badone/wip-python-version-fedora-39
do_cmake.sh: set python version for Fedora 39 Reviewed-by: Kefu Chai <tchaikov@gmail.com>
This commit is contained in:
commit
e877333f07
13
do_cmake.sh
13
do_cmake.sh
@ -19,16 +19,11 @@ if [ -r /etc/os-release ]; then
|
||||
source /etc/os-release
|
||||
case "$ID" in
|
||||
fedora)
|
||||
if [ "$VERSION_ID" -ge "37" ] ; then
|
||||
PYBUILD="3.11"
|
||||
elif [ "$VERSION_ID" -ge "35" ] ; then
|
||||
PYBUILD="3.10"
|
||||
elif [ "$VERSION_ID" -ge "33" ] ; then
|
||||
PYBUILD="3.9"
|
||||
elif [ "$VERSION_ID" -ge "32" ] ; then
|
||||
PYBUILD="3.8"
|
||||
if [ "$VERSION_ID" -ge "39" ] ; then
|
||||
PYBUILD="3.12"
|
||||
else
|
||||
PYBUILD="3.7"
|
||||
# Fedora 37 and above
|
||||
PYBUILD="3.11"
|
||||
fi
|
||||
;;
|
||||
rocky|rhel|centos)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user