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 765331382C5 for ; Wed, 3 Mar 2021 13:48:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A1C2EE086A; Wed, 3 Mar 2021 13:48:40 +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 859A7E086A for ; Wed, 3 Mar 2021 13:48:40 +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 5E0CB340F0B for ; Wed, 3 Mar 2021 13:48:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A4B5D4F9 for ; Wed, 3 Mar 2021 13:48:37 +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: <1614778953.41a3aef6ac7898e6ca7945e0fe135821f51c22ab.andrewammerlaan@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-lang/berkeley_upc/ X-VCS-Repository: proj/sci X-VCS-Files: dev-lang/berkeley_upc/berkeley_upc-2020.12.0.ebuild X-VCS-Directories: dev-lang/berkeley_upc/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 41a3aef6ac7898e6ca7945e0fe135821f51c22ab X-VCS-Branch: master Date: Wed, 3 Mar 2021 13:48:37 +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: a0ce402a-3a6f-4e19-b3a8-aca4d5e4de0a X-Archives-Hash: 2d6be262b6f0b2f12f4764a12c2fba50 commit: 41a3aef6ac7898e6ca7945e0fe135821f51c22ab Author: Andrew Ammerlaan riseup net> AuthorDate: Wed Mar 3 13:42:33 2021 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Wed Mar 3 13:42:33 2021 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=41a3aef6 dev-lang/berkeley_upc: version bump 2020.12.0 Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan riseup.net> .../berkeley_upc/berkeley_upc-2020.12.0.ebuild | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/dev-lang/berkeley_upc/berkeley_upc-2020.12.0.ebuild b/dev-lang/berkeley_upc/berkeley_upc-2020.12.0.ebuild new file mode 100644 index 000000000..ef148d422 --- /dev/null +++ b/dev-lang/berkeley_upc/berkeley_upc-2020.12.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="The Berkeley UPC Runtime/driver" +HOMEPAGE="https://upc.lbl.gov/" +SRC_URI="https://upc.lbl.gov/download/release/${P}.tar.gz" +LICENSE="BSD-4" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="mpi mpi-compat pshm +segment-fast segment-large +single +sptr-packed + sptr-struct sptr-symmetric threads +udp" + +# Requires network access +RESTRICT="test" + +REQUIRED_USE=" + ^^ ( segment-fast segment-large ) + ^^ ( sptr-packed sptr-struct sptr-symmetric )" + +DEPEND="mpi? ( virtual/mpi ) + mpi-compat? ( virtual/mpi )" + +pkg_setup() { + elog "There is a lot of options for this package," + elog "especially network conduits settings." + elog "You can set them using EXTRA_ECONF variable." + elog "To see full list of options visit ${HOMEPAGE}download/dist/INSTALL.TXT" +} + +src_configure() { + ./configure \ + --prefix="${EPREFIX}"/usr/libexec/${P} \ + --mandir="${EPREFIX}"/usr/share/man/ \ + --disable-aligned-segments \ + --disable-auto-conduit-detect \ + $(use_enable mpi) \ + $(use_enable mpi-compat) \ + $(use_enable pshm) \ + $(use_enable segment-fast) \ + $(use_enable segment-large) \ + $(use_enable single smp) \ + $(use_enable sptr-packed) \ + $(use_enable sptr-struct) \ + $(use_enable sptr-symmetric) \ + $(use_enable threads par) \ + $(use_enable udp) \ + ${EXTRA_ECONF} || die +} + +src_install() { + default + dodir /usr/bin + dosym ../libexec/${P}/bin/upc_trace /usr/bin/upc_trace + dosym ../libexec/${P}/bin/upcc /usr/bin/upcc + dosym ../libexec/${P}/bin/upcdecl /usr/bin/upcdecl + dosym ../libexec/${P}/bin/upcrun /usr/bin/upcrun +}