public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/dlb/
@ 2020-12-27 12:48 Andrew Ammerlaan
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Ammerlaan @ 2020-12-27 12:48 UTC (permalink / raw
  To: gentoo-commits

commit:     62e7da4eeb6a27defbb7a4cfd3e01c510839738f
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Dec 24 12:01:55 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Dec 26 11:20:12 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=62e7da4e

sys-cluster/dlb: new package

help wanted in fixing python bindings

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/dlb/Manifest       |  1 +
 sys-cluster/dlb/dlb-2.1.ebuild | 67 ++++++++++++++++++++++++++++++++++++++++++
 sys-cluster/dlb/metadata.xml   | 31 +++++++++++++++++++
 3 files changed, 99 insertions(+)

diff --git a/sys-cluster/dlb/Manifest b/sys-cluster/dlb/Manifest
new file mode 100644
index 00000000..1c0cae12
--- /dev/null
+++ b/sys-cluster/dlb/Manifest
@@ -0,0 +1 @@
+DIST dlb-2.1.tar.gz 1847799 BLAKE2B 5fb4b010761e9883292e22f3254669116107aff4200b96930afd80c7f9073dbceef1b5109471cb948f9f74b8d7144a14137b4ea06dbee01f9857411f144a7fc2 SHA512 6199a05188b0afbeba3401b8182be5e1c04fbfd24a1ea0360d42d0f1518323df08c925ee4529a51e0065bb6653f54ed03106e9a77daf6e30564e2a9753839597

diff --git a/sys-cluster/dlb/dlb-2.1.ebuild b/sys-cluster/dlb/dlb-2.1.ebuild
new file mode 100644
index 00000000..fbd921ed
--- /dev/null
+++ b/sys-cluster/dlb/dlb-2.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+#PYTHON_COMPAT=( pypy3 python3_{7,8,9} )
+inherit autotools #distutils-r1
+
+DESCRIPTION="tool that will dynamically react to the application imbalance modifying the number of resources"
+HOMEPAGE="https://github.com/bsc-pm/dlb"
+SRC_URI="https://github.com/bsc-pm/dlb/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+#TODO: correctly install python stuff
+IUSE="hwloc instrumentation mpi openmp" # python"
+
+DEPEND="
+	hwloc? ( sys-apps/hwloc )
+	mpi? ( virtual/mpi )
+"
+#instrumentation ( sys-cluster/extrae )
+RDEPEND="${DEPEND}"
+#REQUIRED_USE="
+#	python? ( ${PYTHON_REQUIRED_USE} )
+#"
+
+src_prepare() {
+	sed -e "s|chmod +x \$(|chmod +x ${ED}/\$(|g" -i Makefile.am || die
+	default
+	eautoreconf
+#	if use python; then
+#		distutils-r1_python_prepare_all
+#	fi
+}
+
+src_configure() {
+	local myconf=(
+		--disable-static
+		--enable-shared
+		--with-pic
+		$(use_enable instrumentation)
+		$(use_enable openmp)
+		$(use_with hwloc)
+		$(use_with mpi)
+	)
+	econf "${myconf[@]}"
+#	if use python; then
+#		python_foreach_impl distutils-r1_python_install
+#	fi
+}
+
+src_compile() {
+	default
+#	if use python; then
+#		python_foreach_impl distutils-r1_python_compile
+#	fi
+}
+
+src_install() {
+	default
+#	rm -rf "${D}/usr/lib/python*" || die
+#	if use python; then
+#		python_foreach_impl distutils-r1_python_install
+#	fi
+	find "${D}" -name '*.la' -delete || die
+}

diff --git a/sys-cluster/dlb/metadata.xml b/sys-cluster/dlb/metadata.xml
new file mode 100644
index 00000000..f7c1a6db
--- /dev/null
+++ b/sys-cluster/dlb/metadata.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>lssndrbarbieri@gmail.com</email>
+		<name>Alessandro Barbieri</name>
+	</maintainer>
+	<longdescription>
+Dynamic Load Balancing Library
+DLB is a dynamic library designed to speed up HPC hybrid 
+applications (i.e., two levels of parallelism) by improving the load balance of the outer 
+level of parallelism (e.g., MPI) by dynamically redistributing the computational resources 
+at the inner level of parallelism (e.g., OpenMP). at run time. This dynamism allows DLB to 
+react to different sources of imbalance: Algorithm, data, hardware architecture and 
+resource availability among others.
+
+Lend When Idle LeWI (Lend When Idle) is the algorithm 
+used to redistribute the computational resources that are not being used from one process 
+to another process inside the same shared memory node in order to speed up its execution. 
+
+Dynamic Resource Ownership Manager
+DROM (Dynamic Resource Ownership Manager) is the algorithm used to manage the CPU affinity of a process running a shared memory programming model (e.g., OpenMP)
+	</longdescription>
+	<upstream>
+		<remote-id type="github">bsc-pm/dlb</remote-id>
+	</upstream>
+	<use>
+		<flag name="hwloc">add <pkg>sys-apps/hwloc</pkg>support</flag>
+		<flag name="instrumentation">enable <pkg>sys-cluster/extrae</pkg> instrumentation</flag>
+	</use>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/dlb/
  2020-12-27 12:48 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
@ 2020-12-27 12:48 ` Andrew Ammerlaan
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Ammerlaan @ 2020-12-27 12:48 UTC (permalink / raw
  To: gentoo-commits

commit:     37f0d72f41525dc90eaaa974762c549acb29823a
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Dec 27 12:48:07 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Dec 27 12:48:07 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=37f0d72f

sys-cluster/dlb: drop old (description too long)

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sys-cluster/dlb/dlb-2.1.ebuild | 67 ------------------------------------------
 1 file changed, 67 deletions(-)

diff --git a/sys-cluster/dlb/dlb-2.1.ebuild b/sys-cluster/dlb/dlb-2.1.ebuild
deleted file mode 100644
index fbd921ed..00000000
--- a/sys-cluster/dlb/dlb-2.1.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 2019-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-#PYTHON_COMPAT=( pypy3 python3_{7,8,9} )
-inherit autotools #distutils-r1
-
-DESCRIPTION="tool that will dynamically react to the application imbalance modifying the number of resources"
-HOMEPAGE="https://github.com/bsc-pm/dlb"
-SRC_URI="https://github.com/bsc-pm/dlb/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-#TODO: correctly install python stuff
-IUSE="hwloc instrumentation mpi openmp" # python"
-
-DEPEND="
-	hwloc? ( sys-apps/hwloc )
-	mpi? ( virtual/mpi )
-"
-#instrumentation ( sys-cluster/extrae )
-RDEPEND="${DEPEND}"
-#REQUIRED_USE="
-#	python? ( ${PYTHON_REQUIRED_USE} )
-#"
-
-src_prepare() {
-	sed -e "s|chmod +x \$(|chmod +x ${ED}/\$(|g" -i Makefile.am || die
-	default
-	eautoreconf
-#	if use python; then
-#		distutils-r1_python_prepare_all
-#	fi
-}
-
-src_configure() {
-	local myconf=(
-		--disable-static
-		--enable-shared
-		--with-pic
-		$(use_enable instrumentation)
-		$(use_enable openmp)
-		$(use_with hwloc)
-		$(use_with mpi)
-	)
-	econf "${myconf[@]}"
-#	if use python; then
-#		python_foreach_impl distutils-r1_python_install
-#	fi
-}
-
-src_compile() {
-	default
-#	if use python; then
-#		python_foreach_impl distutils-r1_python_compile
-#	fi
-}
-
-src_install() {
-	default
-#	rm -rf "${D}/usr/lib/python*" || die
-#	if use python; then
-#		python_foreach_impl distutils-r1_python_install
-#	fi
-	find "${D}" -name '*.la' -delete || die
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/dlb/
  2021-03-28 11:43 [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/dlb/ Andrew Ammerlaan
@ 2021-03-28 10:52 ` Andrew Ammerlaan
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Ammerlaan @ 2021-03-28 10:52 UTC (permalink / raw
  To: gentoo-commits

commit:     02452ab1b986d5dcdce7cdbf8cd3127dc3eb4ee1
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Mar 28 10:51:21 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Mar 28 10:51:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=02452ab1

sys-cluster/dlb: properly depend on python

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sys-cluster/dlb/dlb-2.1-r1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sys-cluster/dlb/dlb-2.1-r1.ebuild b/sys-cluster/dlb/dlb-2.1-r1.ebuild
index 456d8c194..c1e32700b 100644
--- a/sys-cluster/dlb/dlb-2.1-r1.ebuild
+++ b/sys-cluster/dlb/dlb-2.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,7 +15,9 @@ SRC_URI="https://github.com/bsc-pm/dlb/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="LGPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
+
 IUSE="hwloc instrumentation mpi openmp"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DEPEND="
 	hwloc? ( sys-apps/hwloc )
@@ -23,6 +25,7 @@ DEPEND="
 "
 #instrumentation ( sys-cluster/extrae )
 RDEPEND="
+	${PYTHON_DEPS}
 	${DEPEND}
 	dev-lang/tk
 	$(python_gen_cond_dep 'dev-python/matplotlib[tk,${PYTHON_USEDEP}]')


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/dlb/
@ 2021-03-28 11:43 Andrew Ammerlaan
  2021-03-28 10:52 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Ammerlaan @ 2021-03-28 11:43 UTC (permalink / raw
  To: gentoo-commits

commit:     02452ab1b986d5dcdce7cdbf8cd3127dc3eb4ee1
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Mar 28 10:51:21 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Mar 28 10:51:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=02452ab1

sys-cluster/dlb: properly depend on python

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sys-cluster/dlb/dlb-2.1-r1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sys-cluster/dlb/dlb-2.1-r1.ebuild b/sys-cluster/dlb/dlb-2.1-r1.ebuild
index 456d8c194..c1e32700b 100644
--- a/sys-cluster/dlb/dlb-2.1-r1.ebuild
+++ b/sys-cluster/dlb/dlb-2.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,7 +15,9 @@ SRC_URI="https://github.com/bsc-pm/dlb/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="LGPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
+
 IUSE="hwloc instrumentation mpi openmp"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DEPEND="
 	hwloc? ( sys-apps/hwloc )
@@ -23,6 +25,7 @@ DEPEND="
 "
 #instrumentation ( sys-cluster/extrae )
 RDEPEND="
+	${PYTHON_DEPS}
 	${DEPEND}
 	dev-lang/tk
 	$(python_gen_cond_dep 'dev-python/matplotlib[tk,${PYTHON_USEDEP}]')


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/dlb/
@ 2021-06-17  5:55 Theo Anderson
  0 siblings, 0 replies; 5+ messages in thread
From: Theo Anderson @ 2021-06-17  5:55 UTC (permalink / raw
  To: gentoo-commits

commit:     525932a1b23849031d420d007e75339aefb05e24
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Jun 15 19:57:21 2021 +0000
Commit:     Theo Anderson <telans <AT> posteo <DOT> de>
CommitDate: Tue Jun 15 23:28:25 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=525932a1

sys-cluster/dlb: remove py3.7

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/dlb/dlb-2.1-r1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys-cluster/dlb/dlb-2.1-r1.ebuild b/sys-cluster/dlb/dlb-2.1-r1.ebuild
index c1e32700b..b78440590 100644
--- a/sys-cluster/dlb/dlb-2.1-r1.ebuild
+++ b/sys-cluster/dlb/dlb-2.1-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..9} )
 PYTHON_REQ_USE="tk"
 
 inherit autotools python-single-r1
@@ -23,7 +23,6 @@ DEPEND="
 	hwloc? ( sys-apps/hwloc )
 	mpi? ( virtual/mpi )
 "
-#instrumentation ( sys-cluster/extrae )
 RDEPEND="
 	${PYTHON_DEPS}
 	${DEPEND}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-06-17  5:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-28 11:43 [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/dlb/ Andrew Ammerlaan
2021-03-28 10:52 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2021-06-17  5:55 [gentoo-commits] repo/proj/guru:master " Theo Anderson
2020-12-27 12:48 Andrew Ammerlaan
2020-12-27 12:48 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-12-27 12:48 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox