diff options
author | Carlos J. Puga Medina <cpm@FreeBSD.org> | 2018-03-16 11:29:01 +0000 |
---|---|---|
committer | Carlos J. Puga Medina <cpm@FreeBSD.org> | 2018-03-16 11:29:01 +0000 |
commit | bf9217982c31779f2df334082c75a822ee746217 (patch) | |
tree | c8a17aed654e576e4fa8bc10e24341c439607ecd /math/coinmp | |
parent | www/firefox-esr: update to 52.7.2 (diff) |
math/coinmp: Add PARALLEL option
- Add PARALLEL option to enable the CBC threads parameter (disabled by default). Using multiple
threads can significantly improve perfomance in some cases.
Reported by: Kostas Oikonomou <ko@research.att.com> via email
Notes
Notes:
svn path=/head/; revision=464677
Diffstat (limited to 'math/coinmp')
-rw-r--r-- | math/coinmp/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/math/coinmp/Makefile b/math/coinmp/Makefile index 273a1e4302c9..3d002b5177ba 100644 --- a/math/coinmp/Makefile +++ b/math/coinmp/Makefile @@ -22,10 +22,11 @@ USES= libtool pathfix pkgconfig tar:tgz USE_LDCONFIG= yes CXXFLAGS+= -ffast-math -OPTIONS_DEFINE= DEBUG DOCS FORTRAN GLPK +OPTIONS_DEFINE= DEBUG DOCS FORTRAN GLPK PARALLEL FORTRAN_DESC= Use BLAS/LAPACK with the Fortran interface GLPK_DESC= GNU Linear Programming Kit support +PARALLEL_DESC= Enable CBC threads support PORTDOCS= * @@ -40,6 +41,8 @@ GLPK_CONFIGURE_ON= --with-gmpl-incdir=${LOCALBASE}/include \ --with-gmpl-lib="-L${LOCALBASE}/lib -lglpk" GLPK_CONFIGURE_OFF= --disable-glpk-libcheck +PARALLEL_CONFIGURE_ON= --enable-cbc-parallel + STRIP_FILES= libCoinUtils libOsi libOsiClp libOsiCommonTests libClp libClpSolver \ libCgl libCbc libCbcSolver libOsiCbc libCoinMP |