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

commit:     e4b49e7bd68f7f675df6b1e4d3b951e9a055b958
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Mar  5 12:17:58 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Mar  5 12:17:58 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e4b49e7b

sys-cluster/veloc: Fix USE="doc"

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

 sys-cluster/veloc/veloc-1.2.ebuild | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/sys-cluster/veloc/veloc-1.2.ebuild b/sys-cluster/veloc/veloc-1.2.ebuild
index 8bfdb76..429f7e9 100644
--- a/sys-cluster/veloc/veloc-1.2.ebuild
+++ b/sys-cluster/veloc/veloc-1.2.ebuild
@@ -4,7 +4,8 @@
 EAPI="7"
 
 DISTUTILS_USE_SETUPTOOLS=no
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8} )
+
 inherit cmake-utils distutils-r1
 
 DESCRIPTION="Very-Low Overhead Checkpointing System"
@@ -14,8 +15,10 @@ SRC_URI="https://github.com/ECP-VeloC/${PN^^}/archive/${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="alps doc lsf python +slurm test"
-RESTRICT="!test? ( test )"
+
+IUSE="alps lsf python +slurm"
+# Tests not working with python yet
+RESTRICT="python? ( test )"
 
 REQUIRED_USE="
 		?? ( alps lsf slurm )
@@ -33,10 +36,12 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="
 	>=dev-util/cmake-2.8
-	doc? ( dev-python/sphinx )
 "
+
 S="${WORKDIR}/${PN^^}-${P}"
 
+distutils_enable_sphinx "${S}/docs" --no-autodoc
+
 src_prepare() {
 	#strip CFLAGS
 	sed -i 's/-O2 -g//g' CMakeLists.txt || die
@@ -65,15 +70,13 @@ src_configure() {
 src_compile() {
 	default
 	if use python; then
-		cd "${S}/src/bindings/python"
+		cd "src/bindings/python"
 		distutils-r1_src_compile
-	fi
-	if use doc; then
-		cd "${S}/docs"
-		emake man
-		emake info
-		emake html
-		emake latexpdf
+		cd "${S}"
+	else
+		# If USE="-python doc" we still
+		# want to compile the doc files
+		sphinx_compile_all
 	fi
 }
 
@@ -83,9 +86,6 @@ src_install() {
 		cd "${S}/src/bindings/python"
 		distutils-r1_src_install
 	fi
-
-	#ToDO: install docs
-#	dodoc -r docs/.
 }
 
 src_test() {


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

* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/veloc/
@ 2020-03-08 16:21 Andrew Ammerlaan
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Ammerlaan @ 2020-03-08 16:21 UTC (permalink / raw
  To: gentoo-commits

commit:     afcf988a9e084511fc4a7651874201c0f30a538a
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Mar  5 02:28:27 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Mar  5 02:28:27 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=afcf988a

sys-cluster/veloc: use slurm as default

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

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

diff --git a/sys-cluster/veloc/veloc-1.2.ebuild b/sys-cluster/veloc/veloc-1.2.ebuild
index f600b01..8bfdb76 100644
--- a/sys-cluster/veloc/veloc-1.2.ebuild
+++ b/sys-cluster/veloc/veloc-1.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/ECP-VeloC/${PN^^}/archive/${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="alps doc +lsf python slurm test"
+IUSE="alps doc lsf python +slurm test"
 RESTRICT="!test? ( test )"
 
 REQUIRED_USE="


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

* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/veloc/
@ 2020-03-08 16:21 Andrew Ammerlaan
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Ammerlaan @ 2020-03-08 16:21 UTC (permalink / raw
  To: gentoo-commits

commit:     606d1c138ac41ac7b5907d8432f22170df9ea8f7
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Mar  5 02:25:56 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Mar  5 02:25:56 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=606d1c13

sys-cluster/veloc: new package

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

 sys-cluster/veloc/Manifest         |   1 +
 sys-cluster/veloc/metadata.xml     |  22 ++++++++
 sys-cluster/veloc/veloc-1.2.ebuild | 101 +++++++++++++++++++++++++++++++++++++
 3 files changed, 124 insertions(+)

diff --git a/sys-cluster/veloc/Manifest b/sys-cluster/veloc/Manifest
new file mode 100644
index 0000000..f260094
--- /dev/null
+++ b/sys-cluster/veloc/Manifest
@@ -0,0 +1 @@
+DIST veloc-1.2.tar.gz 243142 BLAKE2B ef3d37dd2d02734e20f1d540abcd29d2a4b8a78754a5ffa9994f458d5ed32e753c892570f9780eea966b90c0ff2995cf710e21efc9c64c88f1d39c5b1b422521 SHA512 3ed2549a67cea15b55d2da3b9ca4e3bd9c08ad8c62ee79c0f3006f36d3de8501ad9ae39bd9dffe2ca3c3b4ba365a190ec65c9ae149ed4a4c14b45faf27b3dd9f

diff --git a/sys-cluster/veloc/metadata.xml b/sys-cluster/veloc/metadata.xml
new file mode 100644
index 0000000..e87dd08
--- /dev/null
+++ b/sys-cluster/veloc/metadata.xml
@@ -0,0 +1,22 @@
+<?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">ECP-VeloC/VELOC</remote-id>
+  </upstream>
+  <longdescription lang="en">VeloC is a multi-level checkpoint/restart runtime that delivers high performance and scalability for complex heterogeneous storage hierarchies without sacrificing ease of use and flexibility.
+
+It is primarily used as a fault-tolerance tool for tightly coupled HPC applications running on supercomputing infrastructure but is essential in many other use cases: suspend-resume, migration, debugging.
+
+VeloC is a collaboration between Argonne National Laboratory and Lawrence Livermore National Laboratory as part of the Exascale Computing Project.
+  </longdescription>
+  <use>
+    <flag name="alps">Use ALPS (Application Level Placement Scheduler) as resource manager</flag>
+    <flag name="lsf">Use LFS (Load Sharing Facility) as resource manager</flag>
+    <flag name="slurm">Use <pkg>sys-cluster/slurm</pkg> as resource manager</flag>
+  </use>
+</pkgmetadata>

diff --git a/sys-cluster/veloc/veloc-1.2.ebuild b/sys-cluster/veloc/veloc-1.2.ebuild
new file mode 100644
index 0000000..f600b01
--- /dev/null
+++ b/sys-cluster/veloc/veloc-1.2.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+DISTUTILS_USE_SETUPTOOLS=no
+PYTHON_COMPAT=( python3_{6,7} )
+inherit cmake-utils distutils-r1
+
+DESCRIPTION="Very-Low Overhead Checkpointing System"
+HOMEPAGE="https://github.com/ECP-VeloC/VELOC"
+SRC_URI="https://github.com/ECP-VeloC/${PN^^}/archive/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="alps doc +lsf python slurm test"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+		?? ( alps lsf slurm )
+"
+
+RDEPEND="
+	slurm? ( sys-cluster/slurm )
+
+	app-shells/pdsh
+	>=dev-libs/boost-1.60.0
+	sys-cluster/AXL
+	sys-cluster/er
+	virtual/mpi
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	>=dev-util/cmake-2.8
+	doc? ( dev-python/sphinx )
+"
+S="${WORKDIR}/${PN^^}-${P}"
+
+src_prepare() {
+	#strip CFLAGS
+	sed -i 's/-O2 -g//g' CMakeLists.txt || die
+	sed -i 's/LIBRARY DESTINATION lib/LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/g' src/modules/CMakeLists.txt || die
+	sed -i 's/LIBRARY DESTINATION lib/LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/g' src/lib/CMakeLists.txt || die
+	sed -i 's/LIBRARY DESTINATION lib/LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/g' src/backend/CMakeLists.txt || die
+	#do not auto install README
+#       sed -i '/FILES README.md DESTINATION/d' CMakeLists.txt || die
+	default
+	cmake-utils_src_prepare
+}
+
+src_configure() {
+	RESMAN="NONE"
+	use alps	&& RESMAN="ALPS"
+	use lsf		&& RESMAN="LSF"
+	use slurm	&& RESMAN="SLURM"
+
+	local mycmakeargs=(
+		-DCMAKE_INSTALL_LIBDIR="$(get_libdir)"
+		-DX_LIBDIR="$(get_libdir)"
+	)
+	cmake-utils_src_configure
+}
+
+src_compile() {
+	default
+	if use python; then
+		cd "${S}/src/bindings/python"
+		distutils-r1_src_compile
+	fi
+	if use doc; then
+		cd "${S}/docs"
+		emake man
+		emake info
+		emake html
+		emake latexpdf
+	fi
+}
+
+src_install() {
+	cmake-utils_src_install
+	if use python; then
+		cd "${S}/src/bindings/python"
+		distutils-r1_src_install
+	fi
+
+	#ToDO: install docs
+#	dodoc -r docs/.
+}
+
+src_test() {
+	cd test
+	default
+	if use python; then
+		cd "${S}/src/bindings/python"
+		python_test() {
+			"${EPYTHON}" test.py -v || die
+		}
+		distutils-r1_src_test
+	fi
+}


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

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

commit:     1b3b9122adc9109a7c775b819154c73af15a2b7e
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Apr 12 16:11:46 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Apr 12 16:11:46 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1b3b9122

sys-cluster/veloc: cmake-utils --> cmake

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

 sys-cluster/veloc/veloc-1.2.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-cluster/veloc/veloc-1.2.ebuild b/sys-cluster/veloc/veloc-1.2.ebuild
index 429f7e9..899d126 100644
--- a/sys-cluster/veloc/veloc-1.2.ebuild
+++ b/sys-cluster/veloc/veloc-1.2.ebuild
@@ -6,7 +6,7 @@ EAPI="7"
 DISTUTILS_USE_SETUPTOOLS=no
 PYTHON_COMPAT=( python3_{6,7,8} )
 
-inherit cmake-utils distutils-r1
+inherit cmake distutils-r1
 
 DESCRIPTION="Very-Low Overhead Checkpointing System"
 HOMEPAGE="https://github.com/ECP-VeloC/VELOC"
@@ -51,7 +51,7 @@ src_prepare() {
 	#do not auto install README
 #       sed -i '/FILES README.md DESTINATION/d' CMakeLists.txt || die
 	default
-	cmake-utils_src_prepare
+	cmake_src_prepare
 }
 
 src_configure() {
@@ -64,7 +64,7 @@ src_configure() {
 		-DCMAKE_INSTALL_LIBDIR="$(get_libdir)"
 		-DX_LIBDIR="$(get_libdir)"
 	)
-	cmake-utils_src_configure
+	cmake_src_configure
 }
 
 src_compile() {
@@ -81,7 +81,7 @@ src_compile() {
 }
 
 src_install() {
-	cmake-utils_src_install
+	cmake_src_install
 	if use python; then
 		cd "${S}/src/bindings/python"
 		distutils-r1_src_install


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

* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/veloc/
  2021-10-08 19:06 [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/veloc/ Arthur Zamarin
@ 2021-10-08 19:05 ` Arthur Zamarin
  0 siblings, 0 replies; 6+ messages in thread
From: Arthur Zamarin @ 2021-10-08 19:05 UTC (permalink / raw
  To: gentoo-commits

commit:     9677c17ae55ac062a4c2e7a875676b2c13f86e69
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  8 18:55:58 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Oct  8 18:55:58 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9677c17a

sys-cluster/veloc: remove useless blank line on last line

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sys-cluster/veloc/veloc-1.5-r1.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys-cluster/veloc/veloc-1.5-r1.ebuild b/sys-cluster/veloc/veloc-1.5-r1.ebuild
index 04a707e90..54a497b73 100644
--- a/sys-cluster/veloc/veloc-1.5-r1.ebuild
+++ b/sys-cluster/veloc/veloc-1.5-r1.ebuild
@@ -103,4 +103,3 @@ src_test() {
 		popd || die
 	fi
 }
-


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

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/veloc/
@ 2021-10-08 19:06 Arthur Zamarin
  2021-10-08 19:05 ` [gentoo-commits] repo/proj/guru:master " Arthur Zamarin
  0 siblings, 1 reply; 6+ messages in thread
From: Arthur Zamarin @ 2021-10-08 19:06 UTC (permalink / raw
  To: gentoo-commits

commit:     9677c17ae55ac062a4c2e7a875676b2c13f86e69
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  8 18:55:58 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Oct  8 18:55:58 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9677c17a

sys-cluster/veloc: remove useless blank line on last line

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sys-cluster/veloc/veloc-1.5-r1.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys-cluster/veloc/veloc-1.5-r1.ebuild b/sys-cluster/veloc/veloc-1.5-r1.ebuild
index 04a707e90..54a497b73 100644
--- a/sys-cluster/veloc/veloc-1.5-r1.ebuild
+++ b/sys-cluster/veloc/veloc-1.5-r1.ebuild
@@ -103,4 +103,3 @@ src_test() {
 		popd || die
 	fi
 }
-


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

end of thread, other threads:[~2021-10-08 19:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-08 19:06 [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/veloc/ Arthur Zamarin
2021-10-08 19:05 ` [gentoo-commits] repo/proj/guru:master " Arthur Zamarin
  -- strict thread matches above, loose matches on Subject: below --
2020-04-12 16:16 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-04-12 16:39 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-03-08 16:21 Andrew Ammerlaan
2020-03-08 16:21 Andrew Ammerlaan
2020-03-08 16:21 Andrew Ammerlaan

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