Created attachment 205402 [details] patch This patch ( https://github.com/xianyi/OpenBLAS/pull/2170 ) 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. Technically, it would require bumping PORTREVISION, but considering low popularity of powerpc64 platform, I didn't do it. Do you require it?
A commit references this bug: Author: pkubaj Date: Tue Jul 30 12:11:22 UTC 2019 New revision: 507634 URL: https://svnweb.freebsd.org/changeset/ports/507634 Log: math/openblas: fix build on powerpc64 with TARGET=PPC970 and switch to PPC970 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 Changes: head/math/openblas/Makefile head/math/openblas/files/patch-common__power.h head/math/openblas/files/patch-param.h