svn commit: r470054 - head/math/ceres-solver

Jan Beich jbeich at FreeBSD.org
Tue May 15 20:42:52 UTC 2018


Author: jbeich
Date: Tue May 15 20:42:51 2018
New Revision: 470054
URL: https://svnweb.freebsd.org/changeset/ports/470054

Log:
  math/ceres-solver: document r465553 rationale

Modified:
  head/math/ceres-solver/Makefile   (contents, props changed)

Modified: head/math/ceres-solver/Makefile
==============================================================================
--- head/math/ceres-solver/Makefile	Tue May 15 20:42:31 2018	(r470053)
+++ head/math/ceres-solver/Makefile	Tue May 15 20:42:51 2018	(r470054)
@@ -71,6 +71,9 @@ LAPACK_DESC=		Linear Algebra PACKage
 LAPACK_USES=		fortran # LDFLAGS
 LAPACK_CMAKE_BOOL=	LAPACK
 LAPACK_CMAKE_ON=	-DCMAKE_POLICY_DEFAULT_CMP0056:STRING=NEW # USES=fortran
+# Avoid conflict with Ceres threading by using single-threaded BLAS library.
+# BLASLIB from USES=blaslapack cannot be used as it's multi-threaded.
+# https://github.com/xianyi/OpenBLAS/wiki/faq#multi-threaded
 ATLAS_USES=		blaslapack:atlas
 ATLAS_CMAKE_ON=		-DBLA_VENDOR:STRING="ATLAS" \
 			-DLAPACK_LIBRARIES:STRING=alapack


More information about the svn-ports-all mailing list