Add Fujitsu compiler
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Mon, 25 Jul 2022 17:42:59 +0000 (19:42 +0200)
committerGitHub <noreply@github.com>
Mon, 25 Jul 2022 17:42:59 +0000 (19:42 +0200)
c_check.pl

index a3afea8..6ce28e1 100644 (file)
@@ -65,6 +65,7 @@ $compiler = OPEN64    if ($data =~ /COMPILER_OPEN64/);
 $compiler = SUN       if ($data =~ /COMPILER_SUN/);
 $compiler = IBM       if ($data =~ /COMPILER_IBM/);
 $compiler = DEC       if ($data =~ /COMPILER_DEC/);
+$compiler = FUJITSU   if ($data =~ /COMPILER_FUJITSU/);
 $compiler = GCC       if ($compiler eq "");
 
 $os = Linux           if ($data =~ /OS_LINUX/);
@@ -189,6 +190,10 @@ if ($compiler eq "GCC" || $compiler eq "LSB") {
     $openmp = "-fopenmp";
 }
 
+if ($compiler eq "FUJITSU") {
+    $openmp = "-Kopenmp";
+}
+
 if ($defined == 0) {
     $compiler_name .= " -m32" if ($binary eq "32");
     $compiler_name .= " -m64" if ($binary eq "64");