public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/muster/
@ 2021-07-11 10:14 Alessandro Barbieri
  0 siblings, 0 replies; 3+ messages in thread
From: Alessandro Barbieri @ 2021-07-11 10:14 UTC (permalink / raw
  To: gentoo-commits

commit:     c58d432c327f513f0d7a2e56acac6670c1f05ca7
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Jul 11 09:50:01 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Jul 11 09:50:01 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c58d432c

sys-cluster/muster: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/muster/Manifest            |  1 +
 sys-cluster/muster/metadata.xml        | 32 +++++++++++++++++++++
 sys-cluster/muster/muster-1.0.1.ebuild | 51 ++++++++++++++++++++++++++++++++++
 3 files changed, 84 insertions(+)

diff --git a/sys-cluster/muster/Manifest b/sys-cluster/muster/Manifest
new file mode 100644
index 000000000..f570446a4
--- /dev/null
+++ b/sys-cluster/muster/Manifest
@@ -0,0 +1 @@
+DIST muster-1.0.1.tar.gz 117835 BLAKE2B e20e80acc7d3b8ba407d8949d5b5d1cc4562d4db13c4fa24de264446eb79de6cc3a669d61740b12fd1a8198e44453acede4cf0eaa46a38b9b92ff7506d5c234f SHA512 71a07bd9771e8cbeff9f288ec5f6b77bc2ce97a2227f52de202b0b3d9ff709a716cd32f55bfc5b2567cca929057b083138494532986f8cd97c6e3336732d3640

diff --git a/sys-cluster/muster/metadata.xml b/sys-cluster/muster/metadata.xml
new file mode 100644
index 000000000..b0b36c18f
--- /dev/null
+++ b/sys-cluster/muster/metadata.xml
@@ -0,0 +1,32 @@
+<?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>
+  <upstream>
+    <remote-id type="github">LLNL/muster</remote-id>
+  </upstream>
+  <longdescription lang="en">
+The Muster library provides implementations of serial and parallel K-Medoids 
+clustering algorithms.  It is intended as a general framework for parallel 
+cluster analysis, particularly for performance data analysis on systems with 
+very large numbers of processes.
+
+The parallel implementations in the Muster are designed to perform well even
+in environments where the data to be clustered is entirely distributed.  For
+example, many performance tools need to analyze one data element from each
+process in a system.  To analyze this data efficiently, clustering algorithms 
+that move as little data as possible are required.  In Muster, we exploit 
+sampled clustering algorithms to realize this efficiency.
+
+The parallel algorithms in Muster are implemented using the Message Passing 
+Interface (MPI), making them suitable for use on many of the world's largest 
+supercomputers.  They should, however, also run efficiently on your laptop.
+  </longdescription>
+  <use>
+    <flag name="pmpi">Build with PMPI bindings</flag>
+    <flag name="tests">Build and install test programs</flag>
+  </use>
+</pkgmetadata>

diff --git a/sys-cluster/muster/muster-1.0.1.ebuild b/sys-cluster/muster/muster-1.0.1.ebuild
new file mode 100644
index 000000000..eeab7486e
--- /dev/null
+++ b/sys-cluster/muster/muster-1.0.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit cmake
+
+DESCRIPTION="Massively Scalable Clustering"
+HOMEPAGE="https://github.com/LLNL/muster"
+SRC_URI="https://github.com/LLNL/muster/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc pmpi tests"
+
+RDEPEND="
+	dev-libs/boost:=
+	virtual/mpi
+"
+DEPEND="${RDEPEND}"
+BDEPEND="doc? ( app-doc/doxygen )"
+
+src_prepare() {
+	sed -e "s|DESTINATION lib|DESTINATION $(get_libdir)|g" -i src/CMakeLists.txt || die
+	cmake_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DINSTALL_TESTS=$(usex tests test)
+		-DMUSTER_USE_PMPI=$(usex pmpi)
+	)
+	cmake_src_configure
+}
+
+src_compile() {
+	cmake_src_compile
+	if use doc; then
+		doxygen || die
+	fi
+}
+
+src_install() {
+	cmake_src_install
+	use doc && dodoc -r doc/html
+	if use tests; then
+		mkdir -p "${ED}/usr/libexec/${PN}/" || die
+		mv "${ED}"/usr/bin/*-test "${ED}/usr/libexec/${PN}/" || die
+	fi
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/muster/
@ 2021-07-11 10:15 Alessandro Barbieri
  0 siblings, 0 replies; 3+ messages in thread
From: Alessandro Barbieri @ 2021-07-11 10:15 UTC (permalink / raw
  To: gentoo-commits

commit:     34c682baef446c3fb0842161b89de41167cf3f77
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Jul 11 10:15:28 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Jul 11 10:15:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=34c682ba

sys-cluster/muster: fix tests usex

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/muster/muster-1.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/muster/muster-1.0.1.ebuild b/sys-cluster/muster/muster-1.0.1.ebuild
index eeab7486e..ab2cbd472 100644
--- a/sys-cluster/muster/muster-1.0.1.ebuild
+++ b/sys-cluster/muster/muster-1.0.1.ebuild
@@ -28,7 +28,7 @@ src_prepare() {
 
 src_configure() {
 	local mycmakeargs=(
-		-DINSTALL_TESTS=$(usex tests test)
+		-DINSTALL_TESTS=$(usex tests)
 		-DMUSTER_USE_PMPI=$(usex pmpi)
 	)
 	cmake_src_configure


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

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/muster/
@ 2021-07-13 11:14 Alessandro Barbieri
  0 siblings, 0 replies; 3+ messages in thread
From: Alessandro Barbieri @ 2021-07-13 11:14 UTC (permalink / raw
  To: gentoo-commits

commit:     1b961cef55ff521004040e6423e76f6a1c53a14c
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Jul 13 10:00:40 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue Jul 13 11:13:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1b961cef

sys-cluster/muster: use docs eclass

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/muster/muster-1.0.1.ebuild | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys-cluster/muster/muster-1.0.1.ebuild b/sys-cluster/muster/muster-1.0.1.ebuild
index ab2cbd472..49032d21f 100644
--- a/sys-cluster/muster/muster-1.0.1.ebuild
+++ b/sys-cluster/muster/muster-1.0.1.ebuild
@@ -3,7 +3,10 @@
 
 EAPI="7"
 
-inherit cmake
+DOCS_BUILDER="doxygen"
+DOCS_DIR="${S}"
+
+inherit cmake docs
 
 DESCRIPTION="Massively Scalable Clustering"
 HOMEPAGE="https://github.com/LLNL/muster"
@@ -19,7 +22,6 @@ RDEPEND="
 	virtual/mpi
 "
 DEPEND="${RDEPEND}"
-BDEPEND="doc? ( app-doc/doxygen )"
 
 src_prepare() {
 	sed -e "s|DESTINATION lib|DESTINATION $(get_libdir)|g" -i src/CMakeLists.txt || die
@@ -36,14 +38,12 @@ src_configure() {
 
 src_compile() {
 	cmake_src_compile
-	if use doc; then
-		doxygen || die
-	fi
+	docs_compile
 }
 
 src_install() {
 	cmake_src_install
-	use doc && dodoc -r doc/html
+	einstalldocs
 	if use tests; then
 		mkdir -p "${ED}/usr/libexec/${PN}/" || die
 		mv "${ED}"/usr/bin/*-test "${ED}/usr/libexec/${PN}/" || die


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

end of thread, other threads:[~2021-07-13 11:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-11 10:14 [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/muster/ Alessandro Barbieri
  -- strict thread matches above, loose matches on Subject: below --
2021-07-11 10:15 Alessandro Barbieri
2021-07-13 11:14 Alessandro Barbieri

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