Skip to content

Commit

Permalink
Fix min version detection for GCC (#5610)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrohr authored Sep 11, 2024
1 parent 10ed769 commit 039d430
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gcc-toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ prefer_system_check: |
set -e
which gfortran || { echo "gfortran missing"; exit 1; }
case $REQUESTED_VERSION in
v14*) MIN_GCC_VERSION=140200 ;;
v13*) MIN_GCC_VERSION=130200 ;;
v12*) MIN_GCC_VERSION=120100 ;;
v10*) MIN_GCC_VERSION=100200 ;;
*) MIN_GCC_VERSION=70300 ;;
Expand Down

0 comments on commit 039d430

Please sign in to comment.