Skip to content

Commit 79d8420

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

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

f_check.pl

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,6 @@
7676
$vendor = FUJITSU;
7777
$openmp = "-Kopenmp";
7878

79-
} elsif ($data =~ /Cray/) {
80-
81-
$vendor = CRAY;
82-
$openmp = "-fopenmp";
83-
8479
} elsif ($data =~ /GNU/ || $data =~ /GCC/ ) {
8580

8681
$data =~ s/\(+.*?\)+//g;
@@ -106,6 +101,10 @@
106101
$openmp = "";
107102
}
108103
}
104+
} elsif ($data =~ /Cray/) {
105+
106+
$vendor = CRAY;
107+
$openmp = "-fopenmp";
109108

110109
}
111110

0 commit comments

Comments
 (0)