Bug 238868

Summary: math/openblas: fix build on powerpc64 with TARGET=PPC970 and switch to PPC970
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Piotr Kubaj <pkubaj>
Status: Closed FIXED    
Severity: Affects Only Me CC: phd_kimberlite
Priority: --- Flags: phd_kimberlite: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch pkubaj: maintainer-approval? (phd_kimberlite)

Description Piotr Kubaj freebsd_committer freebsd_triage 2019-06-28 15:38:44 UTC
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?
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-07-30 12:11:38 UTC
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