Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Oct 2016 17:00:02 +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: r424072 - head/math/ceres-solver
Message-ID:  <201610161700.u9GH02wT075088@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun Oct 16 17:00:02 2016
New Revision: 424072
URL: https://svnweb.freebsd.org/changeset/ports/424072

Log:
  math/ceres-solver: disable EIGENSPARSE by default like upstream
  
  During configure stage the following
  
     ===============================================================
     Enabling the use of Eigen as a sparse linear algebra library
     for solving the nonlinear least squares problems. Enabling
     this option results in an LGPL licensed version of
     Ceres Solver as the Simplicial Cholesky factorization in Eigen
     is licensed under the LGPL.
     ===============================================================
  
  turns into
  
     ===============================================================
     Disabling the use of Eigen as a sparse linear algebra library.
     This does not affect the covariance estimation algorithm
     which can still use the EIGEN_SPARSE_QR algorithm.
     ===============================================================

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

Modified: head/math/ceres-solver/Makefile
==============================================================================
--- head/math/ceres-solver/Makefile	Sun Oct 16 16:34:30 2016	(r424071)
+++ head/math/ceres-solver/Makefile	Sun Oct 16 17:00:02 2016	(r424072)
@@ -2,6 +2,7 @@
 
 PORTNAME=	ceres-solver
 DISTVERSION=	1.12.0rc1
+PORTREVISION=	1
 CATEGORIES=	math
 
 MAINTAINER=	jbeich@FreeBSD.org
@@ -28,7 +29,7 @@ PORTDOCS=	*
 PORTEXAMPLES=	*
 
 OPTIONS_DEFINE=	CUSTOM_BLAS EXAMPLES DOCS GFLAGS LAPACK OPENMP SCHUR TEST
-OPTIONS_DEFAULT=CUSTOM_BLAS NETLIB OPENMP SCHUR ${OPTIONS_GROUP_SPARSE}
+OPTIONS_DEFAULT=CUSTOM_BLAS CXSPARSE NETLIB OPENMP SCHUR SUITESPARSE
 OPTIONS_RADIO=	LAPACK
 OPTIONS_RADIO_LAPACK=	ATLAS GOTOBLAS NETLIB OPENBLAS
 OPTIONS_GROUP=	SPARSE
@@ -85,8 +86,10 @@ CXSPARSE_DESC=		CXSparse support
 CXSPARSE_LIB_DEPENDS=	libcxsparse.so:math/suitesparse
 CXSPARSE_CMAKE_ON=	-DCXSPARSE_INCLUDE_DIR="${LOCALBASE}/include/suitesparse"
 CXSPARSE_CMAKE_BOOL=	CXSPARSE
-EIGENSPARSE_DESC=	Eigen support
+EIGENSPARSE_DESC=	Simplicial Cholesky factorization in Eigen
 EIGENSPARSE_CMAKE_BOOL=	EIGENSPARSE
+EIGENSPARSE_VARS=	LICENSE+=LGPL21+ LICENSE_COMB=multi \
+			LICENSE_FILE_BSD3CLAUSE="${LICENSE_FILE}"
 SUITESPARSE_DESC=	SuiteSparse support
 SUITESPARSE_LIB_DEPENDS=libspqr.so:math/suitesparse
 SUITESPARSE_CMAKE_BOOL=	SUITESPARSE



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