mirror of
https://git.freebsd.org/ports.git
synced 2025-05-20 11:03:09 -04:00
OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version. OpenBLAS is an open source project supported by Lab of Parallel Software and Computational Science, ISCAS. NOTE: If you want to specify your CPU microarchitecture manually, please use TARGET_CPU_ARCH knob, e.g., "make TARGET_CPU_ARCH=NEHALEM". This value is set TARGET build flag. WWW: https://github.com/xianyi/OpenBLAS PR: 165684 Submitted by: Eijiro Shibusawa <phd_kimberlite@yahoo.co.jp>
20 lines
693 B
Text
20 lines
693 B
Text
--- c_check.orig 2012-02-05 16:25:21.000000000 +0900
|
|
+++ c_check 2012-02-05 16:26:54.000000000 +0900
|
|
@@ -2,7 +2,7 @@
|
|
|
|
# Checking cross compile
|
|
$hostos = `uname -s | sed -e s/\-.*//`; chop($hostos);
|
|
-$hostarch = `uname -m | sed -e s/i.86/x86/`;chop($hostarch);
|
|
+$hostarch = `uname -m | sed -e s/i.86/x86/ | sed -e s/amd64/x86_64/`;chop($hostarch);
|
|
|
|
$binary = $ENV{"BINARY"};
|
|
|
|
@@ -215,7 +215,7 @@
|
|
# print $data, "\n";
|
|
|
|
print MAKEFILE "OSNAME=$os\n";
|
|
-print MAKEFILE "ARCH=$architecture\n";
|
|
+print MAKEFILE "ARCH_=$architecture\n";
|
|
print MAKEFILE "C_COMPILER=$compiler\n";
|
|
print MAKEFILE "BINARY32=\n" if $binformat ne bin32;
|
|
print MAKEFILE "BINARY64=\n" if $binformat ne bin64;
|