override ARCH (archiver) in lapack-netlib/make.inc

This commit is contained in:
Dumi Loghin
2018-09-06 13:13:36 +08:00
parent 0b7ccb9e38
commit a1bdc308b8
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -121,6 +121,11 @@ if (($architecture eq "x86") && ($os ne Darwin) && ($os ne SunOS)) {
$binary =32;
}
if ($architecture eq "riscv64") {
$defined = 1;
$binary = 64;
}
if ($compiler eq "PGI") {
$compiler_name .= " -tp p7" if ($binary eq "32");
$compiler_name .= " -tp p7-64" if ($binary eq "64");