Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2018 01:04:52 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r465553 - head/math/ceres-solver
Message-ID:  <201803260104.w2Q14qgR027919@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Mar 26 01:04:51 2018
New Revision: 465553
URL: https://svnweb.freebsd.org/changeset/ports/465553

Log:
  math/ceres-solver: don't use libs from USES=blaslapack
  
  According to Ceres installation documentation:
  
   ... one needs to be careful to turn off the threading inside OpenBLAS
   as it conflicts with use of threads in Ceres.
  
  math/openblas exposes single-threaded (USE_THREAD=0) version as -lopenblas
  while multi-threaded (NUM_THREADS=8) version as -lopenblasp (p suffix).

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

Modified: head/math/ceres-solver/Makefile
==============================================================================
--- head/math/ceres-solver/Makefile	Mon Mar 26 01:03:29 2018	(r465552)
+++ head/math/ceres-solver/Makefile	Mon Mar 26 01:04:51 2018	(r465553)
@@ -2,7 +2,7 @@
 
 PORTNAME=	ceres-solver
 DISTVERSION=	1.13.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	math
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
@@ -66,11 +66,10 @@ TEST_IMPLIES=		GFLAGS
 
 LAPACK_DESC=		Linear Algebra PACKage
 LAPACK_USES=		fortran # LDFLAGS
-LAPACK_CMAKE_ON=	-DBLAS_LIBRARIES:FILEPATH="${BLASLIB}" \
-			-DLAPACK_LIBRARIES:FILEPATH="${LAPACKLIB}"
 LAPACK_CMAKE_BOOL=	LAPACK
 ATLAS_USES=		blaslapack:atlas
 ATLAS_MAKE_ENV=		BLA_VENDOR=ATLAS
+ATLAS_CMAKE_ON=		-DLAPACK_LIBRARIES:STRING=alapack
 ATLAS_IMPLIES=		LAPACK
 GOTOBLAS_DESC=		Goto blas implementation
 GOTOBLAS_USES=		blaslapack:gotoblas



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