Skip to content

Commit

Permalink
Fix min version detection for GCC
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrohr committed Sep 11, 2024
1 parent dce1b4e commit 4263c80
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 4263c80

Please sign in to comment.