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 0E53A139355 for ; Mon, 2 Aug 2021 23:01:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 47B2AE0940; Mon, 2 Aug 2021 23:01:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 230C2E0940 for ; Mon, 2 Aug 2021 23:01:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 7D7A2335C8E for ; Mon, 2 Aug 2021 23:01:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EFEEC7B4 for ; Mon, 2 Aug 2021 23:01:45 +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: <1627945284.5b22685646baa6311db6d7224971cff514e14dd6.Alessandro-Barbieri@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/TCL/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-cluster/TCL/Manifest sys-cluster/TCL/TCL-1.0.ebuild sys-cluster/TCL/metadata.xml X-VCS-Directories: sys-cluster/TCL/ X-VCS-Committer: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: 5b22685646baa6311db6d7224971cff514e14dd6 X-VCS-Branch: dev Date: Mon, 2 Aug 2021 23:01:45 +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: a5b315d8-d39e-43be-a68f-e60489f6034b X-Archives-Hash: b5b7a4718cbb0d3dbb9ef3446fb62bd9 commit: 5b22685646baa6311db6d7224971cff514e14dd6 Author: Alessandro Barbieri gmail com> AuthorDate: Mon Aug 2 23:01:24 2021 +0000 Commit: Alessandro Barbieri gmail com> CommitDate: Mon Aug 2 23:01:24 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5b226856 sys-cluster/TCL: initial import Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/TCL/Manifest | 1 + sys-cluster/TCL/TCL-1.0.ebuild | 70 ++++++++++++++++++++++++++++++++++++++++++ sys-cluster/TCL/metadata.xml | 18 +++++++++++ 3 files changed, 89 insertions(+) diff --git a/sys-cluster/TCL/Manifest b/sys-cluster/TCL/Manifest new file mode 100644 index 000000000..6fb55fba5 --- /dev/null +++ b/sys-cluster/TCL/Manifest @@ -0,0 +1 @@ +DIST TCL-1.0.tar.gz 26572 BLAKE2B d36d7f1f406b141358e803b00c0f8abb6eede322e69cae9d99f3e5e8edeba40035cb88549d72e0d6f53048fb29c5ed8dc942286660f50da9e7f6f13a3a266902 SHA512 abc3eea6926501431295af3e88a870ef0da29301a34b71a4c00fcc22fe4e132a6377aeae45281254f9f5e3a99124f595e2e371ee7fc058c4830e58d4077a9793 diff --git a/sys-cluster/TCL/TCL-1.0.ebuild b/sys-cluster/TCL/TCL-1.0.ebuild new file mode 100644 index 000000000..01ad7ac5c --- /dev/null +++ b/sys-cluster/TCL/TCL-1.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Transparent Checkpointing Library" +HOMEPAGE="https://github.com/bsc-pm/TCL" +SRC_URI="https://github.com/bsc-pm/TCL/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +#S="${WORKDIR}/${PN}-version-${PV}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="debug fti instrumentation scr veloc" + +RDEPEND=" + virtual/mpi + + fti? ( sys-cluster/fti ) + scr? ( sys-cluster/scr ) + veloc? ( sys-cluster/veloc ) +" +DEPEND="${RDEPEND}" +REQUIRED_USE="|| ( fti scr veloc )" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myconf=( + --disable-static + --enable-shared + --includedir="${EPREFIX}/usr/include/TCL" + --with-mpi="${EPREFIX}/usr" + + $(use_enable debug) + $(use_enable instrumentation) + ) + + if use fti; then + myconf+=( "--with-fti=${EPREFIX}/usr" ) + else + myconf+=( "--without-fti" ) + fi + if use instrumentation; then + myconf+=( $(use_enable instrumentation-debug debug) ) + fi + if use scr; then + myconf+=( "--with-scr=${EPREFIX}/usr" ) + else + myconf+=( "--without-scr" ) + fi + if use veloc; then + myconf+=( "--with-veloc=${EPREFIX}/usr" ) + else + myconf+=( "--without-veloc" ) + fi + + econf "${myconf[@]}" +} + +src_install() { + default + dodoc NEWS AUTHORS INSTALL + find "${ED}" -name '*.la' -delete || die +} diff --git a/sys-cluster/TCL/metadata.xml b/sys-cluster/TCL/metadata.xml new file mode 100644 index 000000000..c3967643f --- /dev/null +++ b/sys-cluster/TCL/metadata.xml @@ -0,0 +1,18 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + https://github.com/bsc-pm/TCL/issues + bsc-pm/TCL + + + Enable sys-cluster/fti backend + Build the instrumentation version + Enable sys-cluster/scr backend + Enable sys-cluster/veloc backend + +