Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Nov 2018 03:28:31 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r485113 - branches/2018Q4/math/openblas/files
Message-ID:  <201811170328.wAH3SVQZ032911@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sat Nov 17 03:28:30 2018
New Revision: 485113
URL: https://svnweb.freebsd.org/changeset/ports/485113

Log:
  MFH: r485112 (build fix blanket)
  
  math/openblas: fix compile on newer Ryzen 2
  
  - Added model IDs for Ryzen 2nd generation
  
  PR:		231538
  Submitted by:	Philip Homburg <pch-freebsd-bugs@u-1.phicoh.com>
  Reviewed by:	rozhuk.im@gmail.com, jonc@chen.org.nz
  Approved by:	phd_kimberlite@yahoo.co.jp (maintainer)
  Approved by:	portmgr (implicit)

Added:
  branches/2018Q4/math/openblas/files/patch-cpuid_x86.c
     - copied unchanged from r485112, head/math/openblas/files/patch-cpuid_x86.c
Modified:
Directory Properties:
  branches/2018Q4/   (props changed)

Copied: branches/2018Q4/math/openblas/files/patch-cpuid_x86.c (from r485112, head/math/openblas/files/patch-cpuid_x86.c)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2018Q4/math/openblas/files/patch-cpuid_x86.c	Sat Nov 17 03:28:30 2018	(r485113, copy of r485112, head/math/openblas/files/patch-cpuid_x86.c)
@@ -0,0 +1,18 @@
+--- cpuid_x86.c.orig	2017-07-24 04:03:35 UTC
++++ cpuid_x86.c
+@@ -1329,6 +1329,7 @@ int get_cpuname(void){
+       case 8:
+ 	switch (model) {
+ 	case 1:
++	case 8:
+ 	  // AMD Ryzen
+ 	  if(support_avx())
+ #ifndef NO_AVX2
+@@ -1865,6 +1866,7 @@ int get_coretype(void){
+       } else if (exfamily == 8) {
+ 	switch (model) {
+ 	case 1:
++	case 8:
+ 	  // AMD Ryzen
+ 	  if(support_avx())
+ #ifndef NO_AVX2



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811170328.wAH3SVQZ032911>