Move Cray case after GNU as Cray builds of gfortran have both names in the version string

This commit is contained in:
Martin Kroeker 2022-09-30 11:55:56 +02:00 committed by GitHub
parent 8e851160d7
commit 5e78493d95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -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=''