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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E6D3115808B for ; Mon, 7 Mar 2022 15:15:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5714BE08AD; Mon, 7 Mar 2022 15:15:40 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E50F0E08A2 for ; Mon, 7 Mar 2022 15:15:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EEE86342F2E for ; Mon, 7 Mar 2022 15:15:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 051B9331 for ; Mon, 7 Mar 2022 15:15:35 +0000 (UTC) From: "Ronny Gutbrod" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ronny Gutbrod" Message-ID: <1646444068.e1a9c01dff9ffc38041eae1f9985772a2f718497.tastytea@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/shuffile/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-cluster/shuffile/shuffile-0.1.0-r1.ebuild X-VCS-Directories: sys-cluster/shuffile/ X-VCS-Committer: tastytea X-VCS-Committer-Name: Ronny Gutbrod X-VCS-Revision: e1a9c01dff9ffc38041eae1f9985772a2f718497 X-VCS-Branch: master Date: Mon, 7 Mar 2022 15:15:35 +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: c2763661-78c2-4e62-af94-e1ab05c50631 X-Archives-Hash: 807894d0def216350665359ee047be02 commit: e1a9c01dff9ffc38041eae1f9985772a2f718497 Author: Alessandro Barbieri gmail com> AuthorDate: Mon Feb 14 19:56:42 2022 +0000 Commit: Ronny Gutbrod tastytea de> CommitDate: Sat Mar 5 01:34:28 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e1a9c01d sys-cluster/shuffile: check for /dev/shm Bug: 784647 Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/shuffile/shuffile-0.1.0-r1.ebuild | 46 +++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/sys-cluster/shuffile/shuffile-0.1.0-r1.ebuild b/sys-cluster/shuffile/shuffile-0.1.0-r1.ebuild new file mode 100644 index 000000000..da4689e0e --- /dev/null +++ b/sys-cluster/shuffile/shuffile-0.1.0-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="SHUFFILE Shuffle files between processes" +HOMEPAGE="https://github.com/ECP-VeloC/shuffile" +SRC_URI="https://github.com/ECP-VeloC/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND=" + >=sys-cluster/KVTree-1.0.2[mpi] + sys-libs/zlib + virtual/mpi +" +DEPEND="${RDEPEND}" +BDEPEND=" + >=dev-util/cmake-2.8 +" + +PATCHES=( "${FILESDIR}/${P}-no-static.patch" ) +RESTRICT="!test? ( test )" + +src_configure() { + mycmakeargs=( + -DBUILD_SHARED_LIBS=ON + -DENABLE_TESTS=$(usex test) + -DSHUFFILE_LINK_STATIC=OFF + ) + cmake_src_configure +} + +src_test() { + if mountpoint -q /dev/shm ; then + cmake_src_test + else + eerror "make sure to mount /dev/shm or tests will fail" + die + fi +}