svn commit: r485641 - head/math/openblas

Yuri Victorovich yuri at FreeBSD.org
Fri Nov 23 06:13:52 UTC 2018


Author: yuri
Date: Fri Nov 23 06:13:51 2018
New Revision: 485641
URL: https://svnweb.freebsd.org/changeset/ports/485641

Log:
  math/openblas: Increase the limit for the number of threads to unbreak other ports
  
  NUM_THREADS= sets the build-time limit on the number of threads that apps can use with OpenBlas.
  This unbreaks at least science/erkale's tests, and possibly some other software.
  The upstream acknowledges the problem, recommended this solution for the port,
  and are working on the permanent solution: https://github.com/xianyi/OpenBLAS/issues/1882
  
  Approved by:	portmgr blanket (unbreak)

Modified:
  head/math/openblas/Makefile

Modified: head/math/openblas/Makefile
==============================================================================
--- head/math/openblas/Makefile	Fri Nov 23 05:57:25 2018	(r485640)
+++ head/math/openblas/Makefile	Fri Nov 23 06:13:51 2018	(r485641)
@@ -3,7 +3,7 @@
 
 PORTNAME=	openblas
 PORTVERSION=	0.2.20
-PORTREVISION=	3
+PORTREVISION=	4
 DISTVERSIONPREFIX=	v
 PORTEPOCH=	1
 CATEGORIES=	math
@@ -58,7 +58,7 @@ AVX2_DESC=		Support Advanced Vector Extensions 2 (AVX2
 BUILDFLAGS+=	TARGET=${TARGET_CPU_ARCH}
 .endif
 
-MAXTHREADS?=	8
+MAXTHREADS?=	64
 BUILDFLAGS_THREAD+=	NUM_THREADS=${MAXTHREADS} USE_THREAD=1
 
 .if ${ARCH:M*64} == ""


More information about the svn-ports-all mailing list