Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2018 11:29:02 +0000 (UTC)
From:      "Carlos J. Puga Medina" <cpm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r464677 - head/math/coinmp
Message-ID:  <201803161129.w2GBT26l048557@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cpm
Date: Fri Mar 16 11:29:01 2018
New Revision: 464677
URL: https://svnweb.freebsd.org/changeset/ports/464677

Log:
  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

Modified:
  head/math/coinmp/Makefile

Modified: head/math/coinmp/Makefile
==============================================================================
--- head/math/coinmp/Makefile	Fri Mar 16 11:25:12 2018	(r464676)
+++ head/math/coinmp/Makefile	Fri Mar 16 11:29:01 2018	(r464677)
@@ -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=	*
 
@@ -39,6 +40,8 @@ GLPK_LIB_DEPENDS=	libglpk.so:math/glpk
 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



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