From owner-svn-ports-all@freebsd.org Mon Dec 10 07:59:44 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 43A1313150AC; Mon, 10 Dec 2018 07:59:44 +0000 (UTC) (envelope-from yuri@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 DB51B6C41E; Mon, 10 Dec 2018 07:59:43 +0000 (UTC) (envelope-from yuri@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 B67A31D254; Mon, 10 Dec 2018 07:59:43 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wBA7xh2r050806; Mon, 10 Dec 2018 07:59:43 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wBA7xgoH050802; Mon, 10 Dec 2018 07:59:42 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201812100759.wBA7xgoH050802@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Mon, 10 Dec 2018 07:59:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r487136 - in head/math: . osi X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/math: . osi X-SVN-Commit-Revision: 487136 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: DB51B6C41E X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_SHORT(-0.97)[-0.970,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-0.99)[-0.991,0] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 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: Mon, 10 Dec 2018 07:59:44 -0000 Author: yuri Date: Mon Dec 10 07:59:42 2018 New Revision: 487136 URL: https://svnweb.freebsd.org/changeset/ports/487136 Log: New port: math/osi: COIN-OR Open Solver Interface, an API for calling solver libraries Added: head/math/osi/ head/math/osi/Makefile (contents, props changed) head/math/osi/distinfo (contents, props changed) head/math/osi/pkg-descr (contents, props changed) head/math/osi/pkg-plist (contents, props changed) Modified: head/math/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Mon Dec 10 07:55:52 2018 (r487135) +++ head/math/Makefile Mon Dec 10 07:59:42 2018 (r487136) @@ -498,6 +498,7 @@ SUBDIR += openmesh SUBDIR += opensolaris-libm SUBDIR += orpie + SUBDIR += osi SUBDIR += osqp SUBDIR += p5-AI-DecisionTree SUBDIR += p5-AI-Genetic Added: head/math/osi/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/osi/Makefile Mon Dec 10 07:59:42 2018 (r487136) @@ -0,0 +1,33 @@ +# $FreeBSD$ + +PORTNAME= Osi +DISTVERSION= 0.107.9 +CATEGORIES= math +MASTER_SITES= https://www.coin-or.org/download/source/${PORTNAME}/ +PKGNAMEPREFIX= coin-or- + +MAINTAINER= yuri@FreeBSD.org +COMMENT= COIN-OR Open Solver Interface, an API for calling solver libraries + +LICENSE= EPL +LICENSE_FILE= ${WRKSRC}/Osi/LICENSE + +BUILD_DEPENDS= coin-or-Data-Sample>0:math/coin-or-data-sample \ + coin-or-Data-Netlib>0:math/coin-or-data-netlib +LIB_DEPENDS= libCoinUtils.so:math/coinutils \ + libopenblas.so:math/openblas +RUN_DEPENDS:= ${BUILD_DEPENDS} + +USES= fortran gmake libtool localbase:ldflags pkgconfig tar:tgz +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-blas-lib="-lopenblas" --with-lapack-lib="-lopenblas" \ + --with-sample-datadir="${LOCALBASE}/share/coin/Data/Sample" \ + --with-netlib-datadir="${LOCALBASE}/share/coin/Data/Netlib" \ + --with-coinutils-incdir="${LOCALBASE}/include/coin" --with-coinutils-lib="${LOCALBASE}/lib/libCoinUtils.so" + # Incompatible with optional dependencies glpk and SoPlex: https://projects.coin-or.org/Osi/ticket/117 https://projects.coin-or.org/Osi/ticket/118 +USE_LDCONFIG= yes + +post-install: + @${RM} -r ${STAGEDIR}${PREFIX}/share/coin + +.include Added: head/math/osi/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/osi/distinfo Mon Dec 10 07:59:42 2018 (r487136) @@ -0,0 +1,3 @@ +TIMESTAMP = 1544415432 +SHA256 (Osi-0.107.9.tgz) = 6d61fb27e2dccf6574fcc4a03b7a0083f10e578e5e5b2abae22da11489571c05 +SIZE (Osi-0.107.9.tgz) = 7513203 Added: head/math/osi/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/osi/pkg-descr Mon Dec 10 07:59:42 2018 (r487136) @@ -0,0 +1,19 @@ +Osi (Open Solver Interface) provides an abstract base class to a generic linear +programming (LP) solver, along with derived classes for specific solvers. Many +applications may be able to use the Osi to insulate themselves from a specific +LP solver. The following is a list of derived Osi classes: + +Solver Derived Class +* Cbc OsiCbc +* Clp OsiClp +* CPLEX OsiCpx +* DyLP OsiDylp +* GLPK OsiGlpk +* Gurobi OsiGrb +* MOSEK OsiMsk +* SoPlex OsiSpx +* SYMPHONY OsiSym +* Vol OsiVol +* XPRESS-MP OsiXpr + +WWW: https://projects.coin-or.org/Osi/ Added: head/math/osi/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/osi/pkg-plist Mon Dec 10 07:59:42 2018 (r487136) @@ -0,0 +1,23 @@ +include/coin/OsiAuxInfo.hpp +include/coin/OsiBranchingObject.hpp +include/coin/OsiChooseVariable.hpp +include/coin/OsiColCut.hpp +include/coin/OsiCollections.hpp +include/coin/OsiConfig.h +include/coin/OsiCut.hpp +include/coin/OsiCuts.hpp +include/coin/OsiPresolve.hpp +include/coin/OsiRowCut.hpp +include/coin/OsiRowCutDebugger.hpp +include/coin/OsiSolverBranch.hpp +include/coin/OsiSolverInterface.hpp +include/coin/OsiSolverParameters.hpp +include/coin/OsiUnitTests.hpp +lib/libOsi.so +lib/libOsi.so.1 +lib/libOsi.so.1.12.9 +lib/libOsiCommonTests.so +lib/libOsiCommonTests.so.1 +lib/libOsiCommonTests.so.1.12.9 +libdata/pkgconfig/osi-unittests.pc +libdata/pkgconfig/osi.pc