aboutsummaryrefslogtreecommitdiff
path: root/math/ceres-solver/Makefile
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2018-03-26 01:05:20 +0000
committerJan Beich <jbeich@FreeBSD.org>2018-03-26 01:05:20 +0000
commit487d872a5fe2b6f0f2e12aa78c38832b608187c0 (patch)
tree86d7f3e9c34b0b598c5618dde812ddac8ba3e431 /math/ceres-solver/Makefile
parentc3776ede08c5fb3e7188b0cf577002adab39c303 (diff)
downloadports-487d872a5fe2b6f0f2e12aa78c38832b608187c0.tar.gz
ports-487d872a5fe2b6f0f2e12aa78c38832b608187c0.zip
Notes
Diffstat (limited to 'math/ceres-solver/Makefile')
-rw-r--r--math/ceres-solver/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/math/ceres-solver/Makefile b/math/ceres-solver/Makefile
index c6496db0631c..3098944e14a4 100644
--- a/math/ceres-solver/Makefile
+++ b/math/ceres-solver/Makefile
@@ -1,13 +1,9 @@
# $FreeBSD$
PORTNAME= ceres-solver
-DISTVERSION= 1.13.0
-PORTREVISION= 4
+DISTVERSION= 1.14.0
CATEGORIES= math
-PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
-PATCHFILES= f58eacf082dd.patch:-p1
-
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Nonlinear least squares minimizer
@@ -23,6 +19,7 @@ USE_LDCONFIG= yes
SHEBANG_FILES= examples/slam/pose_graph_*/plot_results.py \
scripts/make_docs.py
CMAKE_ON= CXX11 BUILD_SHARED_LIBS
+CMAKE_OFF= BUILD_BENCHMARKS
LDFLAGS+= -Wl,--as-needed # -lccolamd -lcholmod -lrt from suitesparse
PLIST_SUB= VERSION=${DISTVERSION:C/rc.*//}
EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME:S/-solver//}
@@ -32,8 +29,9 @@ PORTEXAMPLES= *
OPTIONS_DEFINE= CUSTOM_BLAS EXAMPLES DOCS GFLAGS LAPACK OPENMP SCHUR TEST
OPTIONS_DEFAULT=CUSTOM_BLAS CXSPARSE OPENBLAS OPENMP SCHUR SUITESPARSE
-OPTIONS_RADIO= LAPACK
+OPTIONS_RADIO= LAPACK THREADS
OPTIONS_RADIO_LAPACK= ATLAS GOTOBLAS NETLIB OPENBLAS
+OPTIONS_RADIO_THREADS= OPENMP TBB
OPTIONS_GROUP= SPARSE
OPTIONS_GROUP_SPARSE= CXSPARSE EIGENSPARSE SUITESPARSE
@@ -59,6 +57,10 @@ OPENMP_VARS= OPENMP=gcc-
SCHUR_DESC= Fixed-size schur specializations
SCHUR_CMAKE_BOOL= SCHUR_SPECIALIZATIONS
+TBB_DESC= Intel threading building blocks
+TBB_LIB_DEPENDS= libtbb.so:devel/tbb
+TBB_CMAKE_BOOL= TBB
+
# XXX Unbundle googletest/googlemock
TEST_CMAKE_BOOL= BUILD_TESTING
TEST_TEST_TARGET= test ARGS="-V"
@@ -94,7 +96,6 @@ EIGENSPARSE_VARS= LICENSE+=LGPL21+ LICENSE_COMB=multi \
SUITESPARSE_DESC= SuiteSparse support
SUITESPARSE_LIB_DEPENDS=libspqr.so:math/suitesparse
SUITESPARSE_CMAKE_BOOL= SUITESPARSE
-SUITESPARSE_IMPLIES= LAPACK
post-patch-DOCS-on:
@${REINPLACE_CMD} -e 's,python,${PYTHON_CMD:T},' \