From: "Matthias Maier" <tamiko@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
Date: Mon, 23 Jan 2023 20:58:06 +0000 (UTC) [thread overview]
Message-ID: <1674507483.667ed877c08cbc809690d88cf1bf1bb76f5a07a3.tamiko@gentoo> (raw)
commit: 667ed877c08cbc809690d88cf1bf1bb76f5a07a3
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 23 20:51:30 2023 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Jan 23 20:58:03 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=667ed877
dev-cpp/kokkos: add 3.7.1
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
dev-cpp/kokkos/Manifest | 1 +
dev-cpp/kokkos/kokkos-3.7.1.ebuild | 56 ++++++++++++++++++++++++++++++++++++++
2 files changed, 57 insertions(+)
diff --git a/dev-cpp/kokkos/Manifest b/dev-cpp/kokkos/Manifest
index e324387893fb..f3d7d79b8a76 100644
--- a/dev-cpp/kokkos/Manifest
+++ b/dev-cpp/kokkos/Manifest
@@ -1,2 +1,3 @@
DIST kokkos-3.1.01.tar.gz 1972707 BLAKE2B fe31556ecba6b01ed6e480f0cb4ca4d7dc487d6b2a7e52df94d0e93b864ed5269a752f4fcdbacb55383e9dee3b72236f121b67d2f5eed10f3351219b063e7099 SHA512 4fa428ec33ec207147b3fcc5e0d297bcff4ed772ba6baa24ccaf56b691b72b70c69bd48fdf134f4e78234bf755377fe01a31611a41539c2d211ba9caed24b1f2
DIST kokkos-3.7.0.tar.gz 2301343 BLAKE2B b63ffc7c70141396986414375143d4df62a4bfffec0f0a346a278819557b42a025cd7f2a0825cd4d2d7c94a5c7c374b58be79dae9c45e012574b4c87c2ae0371 SHA512 f72b43096126cba11129ab44c2ebaeb1ee92b14db45bd451e86f40746e8edbfbe3415dee089080a6664ae4985e5796717c64bb5c508ca5e287b31bac248802f6
+DIST kokkos-3.7.1.tar.gz 2305103 BLAKE2B c94493077190c1e5d2681d0e138012fcd82f91a1f7616ea7373f3c12f577a195937d507dd2d64f82902fa6760f63da8b3e2c1ef31a7114b9da21841280e22e33 SHA512 97cb7e05aec145ba9adae30b20ae3138a532db3a56cdd5e092d8f9c1e1788efe7a6f721282e2a5c5bf9c0da4c53d28f30b27fcb546b68aa8eaa589a362eb40c1
diff --git a/dev-cpp/kokkos/kokkos-3.7.1.ebuild b/dev-cpp/kokkos/kokkos-3.7.1.ebuild
new file mode 100644
index 000000000000..643476dab313
--- /dev/null
+++ b/dev-cpp/kokkos/kokkos-3.7.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake toolchain-funcs
+
+DESCRIPTION="C++ Performance Portability Programming EcoSystem"
+HOMEPAGE="https://github.com/kokkos"
+MY_PV="$(ver_cut 1-2).0$(ver_cut 3)"
+SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 -x86"
+IUSE="+openmp test"
+RESTRICT="!test? ( test )"
+
+DEPEND="sys-apps/hwloc:="
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_INCLUDEDIR=include/kokkos
+ -DKokkos_ENABLE_TESTS=$(usex test)
+ -DKokkos_ENABLE_AGGRESSIVE_VECTORIZATION=ON
+ -DKokkos_ENABLE_SERIAL=ON
+ -DKokkos_ENABLE_HWLOC=ON
+ -DKokkos_HWLOC_DIR="${EPREFIX}/usr"
+ -DKokkos_ENABLE_OPENMP=$(usex openmp)
+ -DBUILD_SHARED_LIBS=ON
+ )
+
+ cmake_src_configure
+}
+
+src_test() {
+ local myctestargs=(
+ # Contains "death tests" which are known/expected(?) to fail
+ # https://github.com/kokkos/kokkos/issues/3033
+ # bug #791514
+ -E "(KokkosCore_UnitTest_OpenMP|KokkosCore_UnitTest_Serial)"
+ )
+
+ cmake_src_test
+}
next reply other threads:[~2023-01-23 20:58 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-23 20:58 Matthias Maier [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-04 4:55 [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/ Matthias Maier
2023-11-08 19:30 Andreas Sturmlechner
2023-10-25 18:34 Arthur Zamarin
2023-06-19 21:04 Matthias Maier
2023-06-19 18:26 Matthias Maier
2023-06-19 18:26 Matthias Maier
2023-06-10 19:25 Andreas Sturmlechner
2023-04-18 7:48 Sam James
2023-03-26 18:02 Sam James
2023-01-23 20:58 Matthias Maier
2022-12-05 17:32 Matthias Maier
2022-10-17 19:44 Matthias Maier
2022-05-16 8:12 David Seifert
2022-03-01 9:01 David Seifert
2022-03-01 9:01 David Seifert
2021-11-27 7:23 Sam James
2021-11-26 4:13 Sam James
2021-10-29 22:44 Sam James
2021-04-06 21:38 Andreas Sturmlechner
2021-04-05 16:53 Andreas Sturmlechner
2020-08-08 1:25 Sam James
2020-07-28 0:29 Christoph Junghans
2020-05-13 12:41 Christoph Junghans
2020-04-18 4:22 Christoph Junghans
2020-03-15 13:37 Christoph Junghans
2020-03-15 2:23 Christoph Junghans
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=1674507483.667ed877c08cbc809690d88cf1bf1bb76f5a07a3.tamiko@gentoo \
--to=tamiko@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