mirror of
https://git.freebsd.org/ports.git
synced 2025-05-21 11:33:15 -04:00
This patch fixes build for PPC970 target. Since most people that run FreeBSD on powerpc64 use PowerPC 970 CPU's, switch to it by default and add non-default option to optimize for POWER6 (optimizing for newer POWER doesn't work on BE). Bump PORTREVISION because of package change. PR: 238868 Approved by: phd_kimberlite@yahoo.co.jp (maintainer), linimon (mentor) Differential Revision: https://reviews.freebsd.org/D21010
11 lines
345 B
C
11 lines
345 B
C
--- param.h.orig 2019-06-28 14:19:50 UTC
|
|
+++ param.h
|
|
@@ -1877,7 +1877,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILI
|
|
#define ZGEMM_DEFAULT_UNROLL_M 2
|
|
#define ZGEMM_DEFAULT_UNROLL_N 2
|
|
|
|
-#ifdef OS_LINUX
|
|
+#if defined(OS_LINUX) || defined(OS_FREEBSD)
|
|
#if L2_SIZE == 1024976
|
|
#define SGEMM_DEFAULT_P 320
|
|
#define DGEMM_DEFAULT_P 256
|