Move Cray case after GNU as Cray builds of gfortran have both names in the version string
This commit is contained in:
parent
5e78493d95
commit
79d842047a
|
@ -76,11 +76,6 @@ if ($compiler eq "") {
|
|||
$vendor = FUJITSU;
|
||||
$openmp = "-Kopenmp";
|
||||
|
||||
} elsif ($data =~ /Cray/) {
|
||||
|
||||
$vendor = CRAY;
|
||||
$openmp = "-fopenmp";
|
||||
|
||||
} elsif ($data =~ /GNU/ || $data =~ /GCC/ ) {
|
||||
|
||||
$data =~ s/\(+.*?\)+//g;
|
||||
|
@ -106,6 +101,10 @@ if ($compiler eq "") {
|
|||
$openmp = "";
|
||||
}
|
||||
}
|
||||
} elsif ($data =~ /Cray/) {
|
||||
|
||||
$vendor = CRAY;
|
||||
$openmp = "-fopenmp";
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue