From 5e78493d956093413142064184c273615e44da0b Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 30 Sep 2022 11:55:56 +0200 Subject: [PATCH] Move Cray case after GNU as Cray builds of gfortran have both names in the version string --- f_check | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/f_check b/f_check index bb13e1640..02e078b8a 100755 --- a/f_check +++ b/f_check @@ -82,10 +82,6 @@ else vendor=FUJITSU openmp='-Kopenmp' ;; - *Cray*) - vendor=CRAY - openmp='-fopenmp' - ;; *GNU*|*GCC*) v="${data#*GCC: *\) }" @@ -117,6 +113,10 @@ else esac fi ;; + *Cray*) + vendor=CRAY + openmp='-fopenmp' + ;; *g95*) vendor=G95 openmp=''