Date: Wed, 12 May 2021 19:11:20 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 118046013064 - main - New port: math/osi-conic: Conic problem solver interface extending OSI to conic problems Message-ID: <202105121911.14CJBKoH003310@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=118046013064b3e1aa5daf18c356cca60c218106 commit 118046013064b3e1aa5daf18c356cca60c218106 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2021-05-12 18:57:26 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2021-05-12 19:11:14 +0000 New port: math/osi-conic: Conic problem solver interface extending OSI to conic problems --- math/Makefile | 1 + math/osi-conic/Makefile | 30 ++++++++++++++++++++++++++++++ math/osi-conic/distinfo | 3 +++ math/osi-conic/files/patch-Makefile.in | 13 +++++++++++++ math/osi-conic/pkg-descr | 5 +++++ math/osi-conic/pkg-plist | 12 ++++++++++++ 6 files changed, 64 insertions(+) diff --git a/math/Makefile b/math/Makefile index 791206f9a3b2..375417263800 100644 --- a/math/Makefile +++ b/math/Makefile @@ -561,6 +561,7 @@ SUBDIR += or-tools SUBDIR += orpie SUBDIR += osi + SUBDIR += osi-conic SUBDIR += osqp SUBDIR += p5-AI-DecisionTree SUBDIR += p5-AI-Genetic diff --git a/math/osi-conic/Makefile b/math/osi-conic/Makefile new file mode 100644 index 000000000000..9e33234d6b0d --- /dev/null +++ b/math/osi-conic/Makefile @@ -0,0 +1,30 @@ +PORTNAME= osi-conic +DISTVERSIONPREFIX= releases/ +DISTVERSION= 1.0.0 +CATEGORIES= math +PKGNAMEPREFIX= coin-or- + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Conic problem solver interface extending OSI to conic problems + +LICENSE= EPL +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libCoinUtils.so:math/coinutils \ + libopenblas.so:math/openblas \ + libOsi.so:math/osi + +USES= gmake libtool pkgconfig +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= aykutbulut +GH_PROJECT= OSI-CONIC + +GNU_CONFIGURE= yes + +MAKE_ARGS= FREEBSD_STAGEDIR=${STAGEDIR} + +INSTALL_TARGET= install-strip + +.include <bsd.port.mk> diff --git a/math/osi-conic/distinfo b/math/osi-conic/distinfo new file mode 100644 index 000000000000..18c0e090df3e --- /dev/null +++ b/math/osi-conic/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1620025393 +SHA256 (aykutbulut-OSI-CONIC-releases-1.0.0_GH0.tar.gz) = 8f193e947ea21f2b3b972d6d939b67a61c806536ad294673121119cf8542de32 +SIZE (aykutbulut-OSI-CONIC-releases-1.0.0_GH0.tar.gz) = 324244 diff --git a/math/osi-conic/files/patch-Makefile.in b/math/osi-conic/files/patch-Makefile.in new file mode 100644 index 000000000000..e6e7b44cb3c0 --- /dev/null +++ b/math/osi-conic/files/patch-Makefile.in @@ -0,0 +1,13 @@ +- workaround for https://github.com/aykutbulut/OSI-CONIC/issues/2 + +--- Makefile.in.orig 2021-05-12 16:40:29 UTC ++++ Makefile.in +@@ -768,7 +768,7 @@ uninstall-info: uninstall-info-recursive + + install-data-hook: + @$(mkdir_p) "$(addlibsdir)" +-@COIN_HAS_PKGCONFIG_TRUE@ PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ \ ++@COIN_HAS_PKGCONFIG_TRUE@ PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@:$(FREEBSD_STAGEDIR)$(PREFIX)/lib/pkgconfig \ + @COIN_HAS_PKGCONFIG_TRUE@ $(PKG_CONFIG) --libs osiconic > $(addlibsdir)/osiconic_addlibs.txt + @COIN_CXX_IS_CL_TRUE@@COIN_HAS_PKGCONFIG_FALSE@ echo "-libpath:`$(CYGPATH_W) @abs_lib_dir@` libOsiConic.lib @OSICONICLIB_LIBS_INSTALLED@" > $(addlibsdir)/osiconic_addlibs.txt + @COIN_CXX_IS_CL_FALSE@@COIN_HAS_PKGCONFIG_FALSE@ echo -L@abs_lib_dir@ -lOsiConic @OSICONICLIB_LIBS_INSTALLED@ > $(addlibsdir)/osiconic_addlibs.txt diff --git a/math/osi-conic/pkg-descr b/math/osi-conic/pkg-descr new file mode 100644 index 000000000000..9a82c5f7b523 --- /dev/null +++ b/math/osi-conic/pkg-descr @@ -0,0 +1,5 @@ +Conic problem solver interface library. Extends Coin-OR's OSI interface to +conic problems. Inherits Coin-OR's OsiCLpSolverInterface class and adds conic +problem specific methods (querying cones, etc.). + +WWW: https://github.com/aykutbulut/OSI-CONIC diff --git a/math/osi-conic/pkg-plist b/math/osi-conic/pkg-plist new file mode 100644 index 000000000000..24b75f2887d2 --- /dev/null +++ b/math/osi-conic/pkg-plist @@ -0,0 +1,12 @@ +include/coin/OsiCone.hpp +include/coin/OsiConicConfig.h +include/coin/OsiConicCut.hpp +include/coin/OsiConicCuts.hpp +include/coin/OsiConicSolverInterface.hpp +include/coin/OsiLorentzCone.hpp +include/coin/OsiScaledCone.hpp +lib/libOsiConic.so +lib/libOsiConic.so.0 +lib/libOsiConic.so.0.0.0 +libdata/pkgconfig/osiconic.pc +share/coin/doc/OsiConic/osiconic_addlibs.txt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105121911.14CJBKoH003310>