Skip to content

Commit 70001e1

Browse files
authored
Add Fujitsu compiler
1 parent cf37182 commit 70001e1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

c_check.pl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
$compiler = SUN if ($data =~ /COMPILER_SUN/);
6666
$compiler = IBM if ($data =~ /COMPILER_IBM/);
6767
$compiler = DEC if ($data =~ /COMPILER_DEC/);
68+
$compiler = FUJITSU if ($data =~ /COMPILER_FUJITSU/);
6869
$compiler = GCC if ($compiler eq "");
6970

7071
$os = Linux if ($data =~ /OS_LINUX/);
@@ -189,6 +190,10 @@
189190
$openmp = "-fopenmp";
190191
}
191192

193+
if ($compiler eq "FUJITSU") {
194+
$openmp = "-Kopenmp";
195+
}
196+
192197
if ($defined == 0) {
193198
$compiler_name .= " -m32" if ($binary eq "32");
194199
$compiler_name .= " -m64" if ($binary eq "64");

0 commit comments

Comments
 (0)