svn commit: r467460 - in head/math: . cgl cgl/files
Yuri Victorovich
yuri at FreeBSD.org
Mon Apr 16 07:22:09 UTC 2018
Author: yuri
Date: Mon Apr 16 07:22:08 2018
New Revision: 467460
URL: https://svnweb.freebsd.org/changeset/ports/467460
Log:
New port: math/cgl: Collection of cut generators for COIN-OR packages that use cuts
Added:
head/math/cgl/
head/math/cgl/Makefile (contents, props changed)
head/math/cgl/distinfo (contents, props changed)
head/math/cgl/files/
head/math/cgl/files/patch-Cgl_src_CglLandP_CglLandPUtils.hpp (contents, props changed)
head/math/cgl/pkg-descr (contents, props changed)
head/math/cgl/pkg-plist (contents, props changed)
Modified:
head/math/Makefile
Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile Mon Apr 16 07:07:51 2018 (r467459)
+++ head/math/Makefile Mon Apr 16 07:22:08 2018 (r467460)
@@ -143,6 +143,7 @@
SUBDIR += ccmath
SUBDIR += ceres-solver
SUBDIR += cgal
+ SUBDIR += cgl
SUBDIR += chaco
SUBDIR += chryzodus
SUBDIR += clasp
Added: head/math/cgl/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/cgl/Makefile Mon Apr 16 07:22:08 2018 (r467460)
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME= cgl
+DISTVERSIONPREFIX= releases/
+DISTVERSION= 0.59.10
+CATEGORIES= math
+
+MAINTAINER= yuri at FreeBSD.org
+COMMENT= Collection of cut generators for COIN-OR packages that use cuts
+
+LICENSE= EPL
+
+LIB_DEPENDS= libblas.so:math/blas \
+ libClp.so:math/clp \
+ liblapack.so:math/lapack
+
+USES= gmake libtool pkgconfig
+GNU_CONFIGURE= yes
+USE_GITHUB= yes
+GH_ACCOUNT= coin-or
+GH_PROJECT= Cgl
+USE_LDCONFIG= yes
+
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libCgl.so.*
+
+.include <bsd.port.mk>
Added: head/math/cgl/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/cgl/distinfo Mon Apr 16 07:22:08 2018 (r467460)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1522615098
+SHA256 (coin-or-Cgl-releases-0.59.10_GH0.tar.gz) = 2a4038dfeb00b4f4084bbe00b144b6bae4ddfe87873ac5913603af248cb3f1d4
+SIZE (coin-or-Cgl-releases-0.59.10_GH0.tar.gz) = 1255366
Added: head/math/cgl/files/patch-Cgl_src_CglLandP_CglLandPUtils.hpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/cgl/files/patch-Cgl_src_CglLandP_CglLandPUtils.hpp Mon Apr 16 07:22:08 2018 (r467460)
@@ -0,0 +1,11 @@
+--- Cgl/src/CglLandP/CglLandPUtils.hpp.orig 2018-04-16 07:09:23 UTC
++++ Cgl/src/CglLandP/CglLandPUtils.hpp
+@@ -85,7 +85,7 @@ struct Cuts
+ /** resize vector.*/
+ void resize(unsigned int i)
+ {
+- cuts_.resize(i, reinterpret_cast<OsiRowCut *> (NULL));
++ cuts_.resize(i, nullptr); // workaround for clang-6
+ }
+ private:
+ /** Stores the number of cuts.*/
Added: head/math/cgl/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/cgl/pkg-descr Mon Apr 16 07:22:08 2018 (r467460)
@@ -0,0 +1,5 @@
+Collection of cut generators that can be used with other COIN-OR packages
+that make use of cuts, such as, among others, the linear solver Clp or the
+mixed integer linear programming solvers Cbc or BCP.
+
+WWW: https://projects.coin-or.org/Cgl
Added: head/math/cgl/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/cgl/pkg-plist Mon Apr 16 07:22:08 2018 (r467460)
@@ -0,0 +1,39 @@
+include/coin/Cgl012cut.hpp
+include/coin/CglAllDifferent.hpp
+include/coin/CglClique.hpp
+include/coin/CglConfig.h
+include/coin/CglCutGenerator.hpp
+include/coin/CglDuplicateRow.hpp
+include/coin/CglFlowCover.hpp
+include/coin/CglGMI.hpp
+include/coin/CglGMIParam.hpp
+include/coin/CglGomory.hpp
+include/coin/CglKnapsackCover.hpp
+include/coin/CglLandP.hpp
+include/coin/CglLandPValidator.hpp
+include/coin/CglLiftAndProject.hpp
+include/coin/CglMessage.hpp
+include/coin/CglMixedIntegerRounding.hpp
+include/coin/CglMixedIntegerRounding2.hpp
+include/coin/CglOddHole.hpp
+include/coin/CglParam.hpp
+include/coin/CglPreProcess.hpp
+include/coin/CglProbing.hpp
+include/coin/CglRedSplit.hpp
+include/coin/CglRedSplit2.hpp
+include/coin/CglRedSplit2Param.hpp
+include/coin/CglRedSplitParam.hpp
+include/coin/CglResidualCapacity.hpp
+include/coin/CglSimpleRounding.hpp
+include/coin/CglStored.hpp
+include/coin/CglTreeInfo.hpp
+include/coin/CglTwomir.hpp
+include/coin/CglZeroHalf.hpp
+lib/libCgl.so
+lib/libCgl.so.1
+lib/libCgl.so.1.9.10
+libdata/pkgconfig/cgl.pc
+share/coin/doc/Cgl/AUTHORS
+share/coin/doc/Cgl/LICENSE
+share/coin/doc/Cgl/README
+share/coin/doc/Cgl/cgl_addlibs.txt
More information about the svn-ports-all
mailing list