Skip to content

Commit

Permalink
do_cmake.sh: use python3.10 for fedora 35
Browse files Browse the repository at this point in the history
fedora34 was released in April 2021 with Python3.9. while fedora 35
(still Rawhide) will include python3.10. see https://fedoraproject.org/wiki/Releases/35/ChangeSet#Python_3.10

so update the script accordingly.

Signed-off-by: Kefu Chai <[email protected]>
  • Loading branch information
tchaikov committed Jun 7, 2021
1 parent e759740 commit 058d56e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion do_cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ if [ -r /etc/os-release ]; then
source /etc/os-release
case "$ID" in
fedora)
if [ "$VERSION_ID" -ge "33" ] ; then
if [ "$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"
Expand Down

0 comments on commit 058d56e

Please sign in to comment.