ports/math/openblas/files/patch-cpuid_ia64.c
Maho Nakata b425b07ea7 Add an math/openblas.
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>
2012-08-26 10:42:45 +00:00

12 lines
256 B
C

--- cpuid_ia64.c.orig 2012-02-05 16:28:01.000000000 +0900
+++ cpuid_ia64.c 2012-02-05 16:28:41.000000000 +0900
@@ -38,7 +38,9 @@
#include <stdio.h>
#include <string.h>
+#ifdef linux
#include <sys/sysinfo.h>
+#endif
#include "cpuid.h"
#ifdef __ECC