mirror of
https://github.com/ceph/ceph
synced 2025-03-23 18:58:41 +00:00
do_cmake: build with python3.9 on RHEL9
rhel9 has python3.9 as of rhel9beta Signed-off-by: Kaleb S KEITHLEY <kkeithle@redhat.com> Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
0cebfae56b
commit
d58a88c464
@ -28,7 +28,9 @@ if [ -r /etc/os-release ]; then
|
||||
;;
|
||||
rhel|centos)
|
||||
MAJOR_VER=$(echo "$VERSION_ID" | sed -e 's/\..*$//')
|
||||
if [ "$MAJOR_VER" -ge "8" ] ; then
|
||||
if [ "$MAJOR_VER" -ge "9" ] ; then
|
||||
PYBUILD="3.9"
|
||||
elif [ "$MAJOR_VER" -ge "8" ] ; then
|
||||
PYBUILD="3.6"
|
||||
fi
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user