From owner-svn-ports-all@freebsd.org Sat Nov 17 03:14:22 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AFE011121D54; Sat, 17 Nov 2018 03:14:22 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ABF176FAC; Sat, 17 Nov 2018 03:14:22 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2BE3926857; Sat, 17 Nov 2018 03:14:22 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wAH3EMYi027782; Sat, 17 Nov 2018 03:14:22 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wAH3EMmO027781; Sat, 17 Nov 2018 03:14:22 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201811170314.wAH3EMmO027781@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Sat, 17 Nov 2018 03:14:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r485112 - head/math/openblas/files X-SVN-Group: ports-head X-SVN-Commit-Author: pi X-SVN-Commit-Paths: head/math/openblas/files X-SVN-Commit-Revision: 485112 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4ABF176FAC X-Spamd-Result: default: False [0.37 / 15.00]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_SPAM_SHORT(0.37)[0.369,0] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Nov 2018 03:14:22 -0000 Author: pi Date: Sat Nov 17 03:14:21 2018 New Revision: 485112 URL: https://svnweb.freebsd.org/changeset/ports/485112 Log: math/openblas: fix compile on newer Ryzen 2 - Added model IDs for Ryzen 2nd generation PR: 231538 Submitted by: Philip Homburg Reviewed by: rozhuk.im@gmail.com, jonc@chen.org.nz Approved by: phd_kimberlite@yahoo.co.jp (maintainer) Added: head/math/openblas/files/patch-cpuid_x86.c (contents, props changed) Added: head/math/openblas/files/patch-cpuid_x86.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/openblas/files/patch-cpuid_x86.c Sat Nov 17 03:14:21 2018 (r485112) @@ -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