Skip to content

Commit 5e78493

Browse files
authored
Move Cray case after GNU as Cray builds of gfortran have both names in the version string
1 parent 8e85116 commit 5e78493

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

f_check

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,6 @@ else
8282
vendor=FUJITSU
8383
openmp='-Kopenmp'
8484
;;
85-
*Cray*)
86-
vendor=CRAY
87-
openmp='-fopenmp'
88-
;;
8985
*GNU*|*GCC*)
9086

9187
v="${data#*GCC: *\) }"
@@ -117,6 +113,10 @@ else
117113
esac
118114
fi
119115
;;
116+
*Cray*)
117+
vendor=CRAY
118+
openmp='-fopenmp'
119+
;;
120120
*g95*)
121121
vendor=G95
122122
openmp=''

0 commit comments

Comments
 (0)