git: b01be4b488b4 - main - New port: math/alps: Abstract Library for Parallel Search (ALPS)

Yuri Victorovich yuri at FreeBSD.org
Mon May 3 07:06:32 UTC 2021


The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b01be4b488b4b4a0cf39acffd66742ef38898a6a

commit b01be4b488b4b4a0cf39acffd66742ef38898a6a
Author:     Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-05-03 06:51:44 +0000
Commit:     Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-05-03 07:06:28 +0000

    New port: math/alps: Abstract Library for Parallel Search (ALPS)
---
 math/Makefile                                      |  1 +
 math/alps/Makefile                                 | 29 ++++++++++++++++++++++
 math/alps/distinfo                                 |  3 +++
 .../files/patch-Alps_src_AlpsSearchStrategyBase.h  | 13 ++++++++++
 math/alps/pkg-descr                                |  4 +++
 math/alps/pkg-plist                                | 29 ++++++++++++++++++++++
 6 files changed, 79 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index c4ecea29f66e..d5a876115b76 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -133,6 +133,7 @@
     SUBDIR += adol-c
     SUBDIR += algae
     SUBDIR += alglib
+    SUBDIR += alps
     SUBDIR += alt-ergo
     SUBDIR += amath
     SUBDIR += ambit
diff --git a/math/alps/Makefile b/math/alps/Makefile
new file mode 100644
index 000000000000..5688394adb97
--- /dev/null
+++ b/math/alps/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	alps
+DISTVERSIONPREFIX=	releases/
+DISTVERSION=	2.0.1
+CATEGORIES=	math
+PKGNAMEPREFIX=	coin-or-
+
+MAINTAINER=	yuri at FreeBSD.org
+COMMENT=	Abstract Library for Parallel Search (ALPS)
+
+LICENSE=	EPL
+LICENSE_FILE=	${WRKSRC}/Alps/LICENSE
+
+LIB_DEPENDS=	libCoinUtils.so:math/clp
+
+USES=		blaslapack gmake libtool pkgconfig
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	coin-or
+GH_PROJECT=	CHiPPS-ALPS
+
+GNU_CONFIGURE=	yes
+
+INSTALL_TARGET=	install-strip
+
+post-install:
+	${RM} -r ${STAGEDIR}${PREFIX}/share
+
+.include <bsd.port.mk>
diff --git a/math/alps/distinfo b/math/alps/distinfo
new file mode 100644
index 000000000000..3df7f6506e57
--- /dev/null
+++ b/math/alps/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1620007130
+SHA256 (coin-or-CHiPPS-ALPS-releases-2.0.1_GH0.tar.gz) = 43f38b04699d4e70bde27f8dd024804e8a33ea7f521e5a5f121f373e2a60493a
+SIZE (coin-or-CHiPPS-ALPS-releases-2.0.1_GH0.tar.gz) = 899878
diff --git a/math/alps/files/patch-Alps_src_AlpsSearchStrategyBase.h b/math/alps/files/patch-Alps_src_AlpsSearchStrategyBase.h
new file mode 100644
index 000000000000..0c6db63e748e
--- /dev/null
+++ b/math/alps/files/patch-Alps_src_AlpsSearchStrategyBase.h
@@ -0,0 +1,13 @@
+- see https://github.com/coin-or/CHiPPS-ALPS/issues/26
+
+--- Alps/src/AlpsSearchStrategyBase.h.orig	2021-05-03 02:01:12 UTC
++++ Alps/src/AlpsSearchStrategyBase.h
+@@ -98,7 +98,7 @@ class AlpsSearchStrategy (public)
+     int getType(){ return type_; }
+ 
+     /** Set type of strategy */
+-    void setType(int t) { type_ = t; }
++    void setType(int t) { type_ = (AlpsSearchType)t; }
+ };
+ 
+ //#############################################################################
diff --git a/math/alps/pkg-descr b/math/alps/pkg-descr
new file mode 100644
index 000000000000..c97a87f31f9f
--- /dev/null
+++ b/math/alps/pkg-descr
@@ -0,0 +1,4 @@
+Abstract Library for Parallel Search (ALPS), the abstract base layer of the
+COIN-OR High Performance Parallel Search framework.
+
+WWW: https://github.com/coin-or/CHiPPS-ALPS
diff --git a/math/alps/pkg-plist b/math/alps/pkg-plist
new file mode 100644
index 000000000000..3785bd00d35d
--- /dev/null
+++ b/math/alps/pkg-plist
@@ -0,0 +1,29 @@
+include/coin/Alps.h
+include/coin/AlpsConfig.h
+include/coin/AlpsEncoded.h
+include/coin/AlpsEnumProcessT.h
+include/coin/AlpsHelperFunctions.h
+include/coin/AlpsKnowledge.h
+include/coin/AlpsKnowledgeBroker.h
+include/coin/AlpsKnowledgeBrokerMPI.h
+include/coin/AlpsKnowledgeBrokerSerial.h
+include/coin/AlpsKnowledgePool.h
+include/coin/AlpsMessage.h
+include/coin/AlpsModel.h
+include/coin/AlpsNodeDesc.h
+include/coin/AlpsNodePool.h
+include/coin/AlpsParameterBase.h
+include/coin/AlpsParams.h
+include/coin/AlpsPriorityQueue.h
+include/coin/AlpsSearchStrategy.h
+include/coin/AlpsSearchStrategyBase.h
+include/coin/AlpsSolution.h
+include/coin/AlpsSolutionPool.h
+include/coin/AlpsSubTree.h
+include/coin/AlpsSubTreePool.h
+include/coin/AlpsTime.h
+include/coin/AlpsTreeNode.h
+lib/libAlps.so
+lib/libAlps.so.0
+lib/libAlps.so.0.0.0
+libdata/pkgconfig/alps.pc


More information about the dev-commits-ports-all mailing list