From owner-svn-ports-all@freebsd.org Fri Mar 16 11:29:02 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90744F377FA; Fri, 16 Mar 2018 11:29:02 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 447D779E3B; Fri, 16 Mar 2018 11:29:02 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3B2C4235DA; Fri, 16 Mar 2018 11:29:02 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2GBT2RP048558; Fri, 16 Mar 2018 11:29:02 GMT (envelope-from cpm@FreeBSD.org) Received: (from cpm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2GBT26l048557; Fri, 16 Mar 2018 11:29:02 GMT (envelope-from cpm@FreeBSD.org) Message-Id: <201803161129.w2GBT26l048557@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cpm set sender to cpm@FreeBSD.org using -f From: "Carlos J. Puga Medina" Date: Fri, 16 Mar 2018 11:29:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r464677 - head/math/coinmp X-SVN-Group: ports-head X-SVN-Commit-Author: cpm X-SVN-Commit-Paths: head/math/coinmp X-SVN-Commit-Revision: 464677 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2018 11:29:02 -0000 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 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