public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Christoph Junghans" <junghans@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
Date: Sun, 15 Mar 2020 02:23:47 +0000 (UTC)	[thread overview]
Message-ID: <1584239003.5712f6efc74614ff4c324e881761669bfa75a5b5.junghans@gentoo> (raw)

commit:     5712f6efc74614ff4c324e881761669bfa75a5b5
Author:     Christoph Junghans <junghans <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 15 02:23:02 2020 +0000
Commit:     Christoph Junghans <junghans <AT> gentoo <DOT> org>
CommitDate: Sun Mar 15 02:23:23 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5712f6ef

dev-cpp/kokkos: import from science overlay

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Christoph Junghans <junghans <AT> gentoo.org>

 dev-cpp/kokkos/Manifest             |  1 +
 dev-cpp/kokkos/kokkos-3.0.00.ebuild | 44 +++++++++++++++++++++++++++++++++++++
 dev-cpp/kokkos/metadata.xml         |  8 +++++++
 3 files changed, 53 insertions(+)

diff --git a/dev-cpp/kokkos/Manifest b/dev-cpp/kokkos/Manifest
new file mode 100644
index 00000000000..44a82a67a70
--- /dev/null
+++ b/dev-cpp/kokkos/Manifest
@@ -0,0 +1 @@
+DIST kokkos-3.0.00.tar.gz 1923287 BLAKE2B 4a2935e9388b3d577d6ce8678cad37830970222e6ce8a9c3db67633cb521440f14fdb380f03d3c77cd5ade85abe94aef97e9cc4949cc3a140fae958e0c15fff8 SHA512 c9daf62a2c92462c815aa241934aca5720bac8f88195635ae5a3ff4111d289a48898d32358b91e120756d3412820050297a76f44828f4cbc0b2b837a736e84aa

diff --git a/dev-cpp/kokkos/kokkos-3.0.00.ebuild b/dev-cpp/kokkos/kokkos-3.0.00.ebuild
new file mode 100644
index 00000000000..5c226a4e4b2
--- /dev/null
+++ b/dev-cpp/kokkos/kokkos-3.0.00.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils toolchain-funcs
+
+DESCRIPTION="Kokkos C++ Performance Portability Programming EcoSystem"
+HOMEPAGE="https://github.com/kokkos"
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+openmp test"
+
+DEPEND="
+	sys-apps/hwloc
+	"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+pkg_setup() {
+	if [[ ${MERGE_TYPE} != binary ]] && \
+		use openmp && ! tc-has-openmp ; then
+			die "Need an OpenMP capable compiler"
+	fi
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DCMAKE_INSTALL_INCLUDEDIR=include/kokkos
+		-DKokkos_ENABLE_TESTS=$(usex test)
+		-DKokkos_ENABLE_AGGRESSIVE_VECTORIZATION=ON
+		-DKokkos_ENABLE_DEPRECATED_CODE=ON
+		-DKokkos_ENABLE_SERIAL=ON
+		-DKokkos_ENABLE_HWLOC=ON
+		-DKokkos_HWLOC_DIR="${EPREFIX}/usr"
+		-DKokkos_ENABLE_OPENMP=$(usex openmp)
+		-DBUILD_SHARED_LIBS=ON
+	)
+
+	cmake-utils_src_configure
+}

diff --git a/dev-cpp/kokkos/metadata.xml b/dev-cpp/kokkos/metadata.xml
new file mode 100644
index 00000000000..ef6b5dcd53a
--- /dev/null
+++ b/dev-cpp/kokkos/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>junghans@gentoo.org</email>
+		<name>Christoph Junghans</name>
+	</maintainer>
+</pkgmetadata>


             reply	other threads:[~2020-03-15  2:23 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-15  2:23 Christoph Junghans [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-03-15 13:37 [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/ Christoph Junghans
2020-04-18  4:22 Christoph Junghans
2020-05-13 12:41 Christoph Junghans
2020-07-28  0:29 Christoph Junghans
2020-08-08  1:25 Sam James
2021-04-05 16:53 Andreas Sturmlechner
2021-04-06 21:38 Andreas Sturmlechner
2021-10-29 22:44 Sam James
2021-11-26  4:13 Sam James
2021-11-27  7:23 Sam James
2022-03-01  9:01 David Seifert
2022-03-01  9:01 David Seifert
2022-05-16  8:12 David Seifert
2022-10-17 19:44 Matthias Maier
2022-12-05 17:32 Matthias Maier
2023-01-23 20:58 Matthias Maier
2023-01-23 20:58 Matthias Maier
2023-03-26 18:02 Sam James
2023-04-18  7:48 Sam James
2023-06-10 19:25 Andreas Sturmlechner
2023-06-19 18:26 Matthias Maier
2023-06-19 18:26 Matthias Maier
2023-06-19 21:04 Matthias Maier
2023-10-25 18:34 Arthur Zamarin
2023-11-08 19:30 Andreas Sturmlechner
2024-07-04  4:55 Matthias Maier

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=1584239003.5712f6efc74614ff4c324e881761669bfa75a5b5.junghans@gentoo \
    --to=junghans@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