public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexey Shvetsov" <alexxy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-lang/berkeley_upc/
Date: Mon, 18 Mar 2013 21:49:35 +0000 (UTC)	[thread overview]
Message-ID: <1363524241.eec54b5cc307a1821412106aa321391578d307bf.alexxy@gentoo> (raw)

commit:     eec54b5cc307a1821412106aa321391578d307bf
Author:     Jauhien Piatlicki (jauhien) <piatlicki <AT> gmail <DOT> com>
AuthorDate: Sun Mar 17 12:44:01 2013 +0000
Commit:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Sun Mar 17 12:44:01 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=eec54b5c

dev-lang/berkeley_upc: New ebuild for bug#462026

---
 dev-lang/berkeley_upc/ChangeLog                  |   10 ++++
 dev-lang/berkeley_upc/berkeley_upc-2.16.0.ebuild |   57 ++++++++++++++++++++++
 dev-lang/berkeley_upc/metadata.xml               |   22 ++++++++
 3 files changed, 89 insertions(+), 0 deletions(-)

diff --git a/dev-lang/berkeley_upc/ChangeLog b/dev-lang/berkeley_upc/ChangeLog
new file mode 100644
index 0000000..cb902f1
--- /dev/null
+++ b/dev-lang/berkeley_upc/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-lang/berkeley_upc
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*berkeley_upc-2.16.0 (17 Mar 2013)
+
+  17 Mar 2013; Jauhien Piatlicki (jauhien) <piatlicki@gmail.com>
+  +berkeley_upc-2.16.0.ebuild, +metadata.xml:
+  ebuild for bug#462026
+

diff --git a/dev-lang/berkeley_upc/berkeley_upc-2.16.0.ebuild b/dev-lang/berkeley_upc/berkeley_upc-2.16.0.ebuild
new file mode 100644
index 0000000..6d3a5f1
--- /dev/null
+++ b/dev-lang/berkeley_upc/berkeley_upc-2.16.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+DESCRIPTION="The Berkeley UPC Runtime/driver"
+HOMEPAGE="http://upc.lbl.gov/"
+SRC_URI="http://upc.lbl.gov/download/release/${P}.tar.gz"
+LICENSE="BSD-4"
+
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="mpi mpi-compat pshm +segment-fast segment-large +single +sptr-packed
+	sptr-struct sptr-symmetric threads +udp"
+
+REQUIRED_USE="^^ ( segment-fast segment-large )
+	^^ ( sptr-packed sptr-struct sptr-symmetric )"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+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/${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}
+}
+
+src_install() {
+	emake DESTDIR="${D}" install
+	dodir /usr/bin
+	dosym ../${P}/bin/upc_trace /usr/bin/upc_trace
+	dosym ../${P}/bin/upcc /usr/bin/upcc
+	dosym ../${P}/bin/upcdecl /usr/bin/upcdecl
+	dosym ../${P}/bin/upcrun /usr/bin/upcrun
+}

diff --git a/dev-lang/berkeley_upc/metadata.xml b/dev-lang/berkeley_upc/metadata.xml
new file mode 100644
index 0000000..c81662d
--- /dev/null
+++ b/dev-lang/berkeley_upc/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+
+        <maintainer>
+                <email>piatlicki@gmail.com</email>
+        </maintainer>
+
+        <use>
+	        <flag name="mpi-compat">Enable interoperability with MPI</flag>
+		<flag name="pshm">Build UPC Runtime/GASNet with Process-SHared Memory enabled</flag>
+		<flag name="segment-fast">Select GASNet's FAST segments (default), for the fastest remote access with a possible cost in max shared memory size</flag>
+		<flag name="segment-large">Select GASNet's LARGE segments, for the largest possible shared memory size, at a possible cost in remote access time</flag>
+	        <flag name="single">Support running over smp loopback (no network)</flag>
+		<flag name="sptr-packed">Use the more efficient 'packed' shared pointer representation</flag>
+		<flag name="sptr-struct">Use the 'struct' shared pointer representation</flag>
+		<flag name="sptr-symmetric">Enable 'symmetric' pointer variant where available (64-bit smp and shmem)</flag>
+                <flag name="udp">Support running over UDP</flag>
+        </use>
+
+</pkgmetadata>


             reply	other threads:[~2013-03-18 21:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-18 21:49 Alexey Shvetsov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-03-03 13:48 [gentoo-commits] proj/sci:master commit in: dev-lang/berkeley_upc/ Andrew Ammerlaan
2021-03-03 13:48 Andrew Ammerlaan
2021-01-13 21:06 Andrew Ammerlaan
2015-04-03 17:53 Guillaume Horel
2013-11-07 20:05 Alexey Shvetsov
2013-05-16 21:23 Nicolas Bock
2013-03-18 21:49 Alexey Shvetsov
2013-03-18 21:49 Alexey Shvetsov
2013-03-18 21:49 Alexey Shvetsov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1363524241.eec54b5cc307a1821412106aa321391578d307bf.alexxy@gentoo \
    --to=alexxy@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox