Add Fujitsu compiler

This commit is contained in:
Martin Kroeker 2022-07-25 19:42:59 +02:00 committed by GitHub
parent cf37182260
commit 70001e1e9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

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