Browse Source

Add Fujitsu compiler

tags/v0.3.21
Martin Kroeker GitHub 3 years ago
parent
commit
70001e1e9e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      c_check.pl

+ 5
- 0
c_check.pl View 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");


Loading…
Cancel
Save