pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

or-tools: WIP, to be resumed after deps marked in the Makefile are met



Module Name:	pkgsrc-wip
Committed By:	mayuresh <mayuresh%acm.org@localhost>
Pushed By:	mayuresh
Date:		Mon Aug 26 11:20:22 2024 +0530
Changeset:	ec36347612e3571cc7b867f8b8a6f6669836d2f7

Added Files:
	or-tools/DESCR
	or-tools/Makefile
	or-tools/PLIST
	or-tools/TODO
	or-tools/distinfo

Log Message:
or-tools: WIP, to be resumed after deps marked in the Makefile are met

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ec36347612e3571cc7b867f8b8a6f6669836d2f7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 or-tools/DESCR    | 12 ++++++++++++
 or-tools/Makefile | 44 ++++++++++++++++++++++++++++++++++++++++++++
 or-tools/PLIST    |  4 ++++
 or-tools/TODO     |  1 +
 or-tools/distinfo |  5 +++++
 5 files changed, 66 insertions(+)

diffs:
diff --git a/or-tools/DESCR b/or-tools/DESCR
new file mode 100644
index 0000000000..985894efdb
--- /dev/null
+++ b/or-tools/DESCR
@@ -0,0 +1,12 @@
+Google Optimization Tools (a.k.a., OR-Tools) is an open-source, fast and
+portable software suite for solving combinatorial optimization problems.
+
+The suite contains:
+* A constraint programming solver
+* A linear programming solver
+* Wrappers around commercial and other open source solvers, including mixed
+  integer solvers
+* Bin packing and knapsack algorithms
+* Algorithms for the Traveling Salesman Problem and Vehicle Routing Problem
+* Graph algorithms (shortest paths, min cost flow, max flow, linear sum
+  assignment)
diff --git a/or-tools/Makefile b/or-tools/Makefile
new file mode 100644
index 0000000000..6c65d2be6a
--- /dev/null
+++ b/or-tools/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD$
+
+GITHUB_TAG=	refs/tags/v${PKGVERSION_NOREV}
+DISTNAME=	or-tools-9.10
+CATEGORIES=	math
+MASTER_SITES=	${MASTER_SITE_GITHUB:=google/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/google/or-tools/
+COMMENT=	Google's Operations Research tools
+LICENSE=	apache-2.0
+
+USE_LANGUAGES=	c c++
+USE_TOOLS+=	gmake
+
+.include "../../wip/ThirdParty-Mumps/buildlink3.mk"
+.include "../../wip/ThirdParty-ASL/buildlink3.mk"
+.include "../../devel/abseil/buildlink3.mk"
+.include "../../math/openblas/buildlink3.mk"
+.include "../../devel/gflags/buildlink3.mk"
+.include "../../devel/protobuf/buildlink3.mk"
+.include "../../devel/re2/buildlink3.mk"
+.include "../../devel/google-glog/buildlink3.mk"
+.include "../../devel/cmake/build.mk"
+.include "../../mk/bsd.pkg.mk"
+
+# from dbsd ports
+# LIB_DEPENDS=	OK libabsl_base.so:devel/abseil \
+# 		OK libcoinasl.so:math/asl \
+# 		OK libcoinmumps.so:math/coin-or-mumps \
+# 		OK libgflags.so:devel/gflags \
+# 		OK libglog.so:devel/glog \
+# 		OK libopenblas.so:math/openblas \
+# 		OK libprotobuf.so:devel/protobuf \
+# 		OK libre2.so:devel/re2
+#
+# 		libnauty.so:math/nauty \
+# 		libCbc.so:math/cbc \
+# 		libCgl.so:math/cgl \
+# 		libCoinUtils.so:math/coinutils \
+# 		libOsi.so:math/osi \
+# 		libOsiClp.so:math/clp \
+#
+# USES=		blaslapack cmake:testing compiler:c++17-lang eigen:3 pkgconfig
diff --git a/or-tools/PLIST b/or-tools/PLIST
new file mode 100644
index 0000000000..92ba51a2d7
--- /dev/null
+++ b/or-tools/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+@comment TODO: to fill this file with the file listing:
+@comment TODO: 1. run "/usr/bin/make package"
+@comment TODO: 2. run "/usr/bin/make print-PLIST"
diff --git a/or-tools/TODO b/or-tools/TODO
new file mode 100644
index 0000000000..97d88dd305
--- /dev/null
+++ b/or-tools/TODO
@@ -0,0 +1 @@
+- a number of unmet dependencies are listed in Makefile
diff --git a/or-tools/distinfo b/or-tools/distinfo
new file mode 100644
index 0000000000..500ec6ac4a
--- /dev/null
+++ b/or-tools/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (or-tools-9.10.tar.gz) = de27738eb91c108965d1e3732065adb83d9145283a495e742acb19c37c58f6c1
+SHA512 (or-tools-9.10.tar.gz) = 7d36715b77d085e1fe96c009380d640ef3c8f357f9884e42d970478ebaa9f3b84990ba4c324993e6ac86ecbe99ab9e0f14cf968ea41bf3defd4480fd54fe4a0b
+Size (or-tools-9.10.tar.gz) = 20465445 bytes


Home | Main Index | Thread Index | Old Index