Browse Source

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

tags/v0.3.22^2
Martin Kroeker GitHub 3 years ago
parent
commit
79d842047a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 5 deletions
  1. +4
    -5
      f_check.pl

+ 4
- 5
f_check.pl View File

@@ -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…
Cancel
Save