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 43FA4139337 for ; Sun, 1 Aug 2021 23:30:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 28088E0924; Sun, 1 Aug 2021 23:30:07 +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 0626DE0924 for ; Sun, 1 Aug 2021 23:30:06 +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 32667343429 for ; Sun, 1 Aug 2021 23:30:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EAF78798 for ; Sun, 1 Aug 2021 23:30:01 +0000 (UTC) From: "Alessandro Barbieri" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" Message-ID: <1627860599.c2a771afa68d9a1d89e73846fa598918c62a6a77.Alessandro-Barbieri@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/libyogrt/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-cluster/libyogrt/Manifest sys-cluster/libyogrt/libyogrt-1.24.ebuild sys-cluster/libyogrt/metadata.xml X-VCS-Directories: sys-cluster/libyogrt/ X-VCS-Committer: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: c2a771afa68d9a1d89e73846fa598918c62a6a77 X-VCS-Branch: dev Date: Sun, 1 Aug 2021 23:30:01 +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: 4cadd671-0355-42ec-8d48-ed607b33c917 X-Archives-Hash: ff85154831fa2c9fd65fccd8ad880c3d commit: c2a771afa68d9a1d89e73846fa598918c62a6a77 Author: Alessandro Barbieri gmail com> AuthorDate: Sun Aug 1 23:29:27 2021 +0000 Commit: Alessandro Barbieri gmail com> CommitDate: Sun Aug 1 23:29:59 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c2a771af sys-cluster/libyogrt: initial import Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/libyogrt/Manifest | 1 + sys-cluster/libyogrt/libyogrt-1.24.ebuild | 36 +++++++++++++++++++++++++++++++ sys-cluster/libyogrt/metadata.xml | 24 +++++++++++++++++++++ 3 files changed, 61 insertions(+) diff --git a/sys-cluster/libyogrt/Manifest b/sys-cluster/libyogrt/Manifest new file mode 100644 index 000000000..125fe5bc6 --- /dev/null +++ b/sys-cluster/libyogrt/Manifest @@ -0,0 +1 @@ +DIST libyogrt-1.24.tar.gz 37803 BLAKE2B b79310d7a0b7f32d3bab5582640006386ea5fa15ee169b7104c4c194948a4c2282d7a4fb748e3dd98a17096d289f63f97204201533620aa5d5c0181ae40f76c6 SHA512 e761a5ff397b55da0769c7a42a03a170efe9d52102166aa6ccdb9a8949bd844f201a4a4a1e1010320a82132d0b19b468c1ee74e42af603f341232d6a5147d745 diff --git a/sys-cluster/libyogrt/libyogrt-1.24.ebuild b/sys-cluster/libyogrt/libyogrt-1.24.ebuild new file mode 100644 index 000000000..a2e48b40d --- /dev/null +++ b/sys-cluster/libyogrt/libyogrt-1.24.ebuild @@ -0,0 +1,36 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Your One Get Remaining Time library" +HOMEPAGE="https://github.com/LLNL/libyogrt" +SRC_URI="https://github.com/LLNL/libyogrt/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="slurm" #lsf moab lcrm + +RDEPEND="slurm? ( sys-cluster/slurm )" +DEPEND="${RDEPEND}" + +src_prepare() { + default + AT_M4DIR="config" eautoreconf +} + +src_configure() { + local myconf + + use slurm && myconf+=( "--with-slurm=${EPREFIX}/usr" ) + + econf "${myconf[@]}" +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} diff --git a/sys-cluster/libyogrt/metadata.xml b/sys-cluster/libyogrt/metadata.xml new file mode 100644 index 000000000..8b2ca13ec --- /dev/null +++ b/sys-cluster/libyogrt/metadata.xml @@ -0,0 +1,24 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + +This library provides functions to query a resource manager for the time remaining in a job. +It supports: +LCRM +LSF +MOAB +SLURM +AIX w/ SLURM + + + Add support for the slurm resource manager + + + https://github.com/LLNL/libyogrt/issues + LLNL/libyogrt + +