From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D4959138350 for ; Sun, 8 Mar 2020 16:21:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF535E096A; Sun, 8 Mar 2020 16:21:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A0824E096A for ; Sun, 8 Mar 2020 16:21:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8224A34F6C0 for ; Sun, 8 Mar 2020 16:21:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4C1CD185 for ; Sun, 8 Mar 2020 16:21:22 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1583375156.606d1c138ac41ac7b5907d8432f22170df9ea8f7.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/veloc/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-cluster/veloc/Manifest sys-cluster/veloc/metadata.xml sys-cluster/veloc/veloc-1.2.ebuild X-VCS-Directories: sys-cluster/veloc/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 606d1c138ac41ac7b5907d8432f22170df9ea8f7 X-VCS-Branch: master Date: Sun, 8 Mar 2020 16:21:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5e388800-9806-4094-bcb4-8ff2026e24bf X-Archives-Hash: 13fac6bc1ac8daebde5eb25d7a4ed390 commit: 606d1c138ac41ac7b5907d8432f22170df9ea8f7 Author: Alessandro Barbieri gmail com> AuthorDate: Thu Mar 5 02:25:56 2020 +0000 Commit: Andrew Ammerlaan riseup 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 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 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + ECP-VeloC/VELOC + + 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. + + + Use ALPS (Application Level Placement Scheduler) as resource manager + Use LFS (Load Sharing Facility) as resource manager + Use sys-cluster/slurm as resource manager + + 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 +}