public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2020-03-15  2:23 Christoph Junghans
  0 siblings, 0 replies; 35+ messages in thread
From: Christoph Junghans @ 2020-03-15  2:23 UTC (permalink / raw
  To: gentoo-commits

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>


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2020-03-15 13:37 Christoph Junghans
  0 siblings, 0 replies; 35+ messages in thread
From: Christoph Junghans @ 2020-03-15 13:37 UTC (permalink / raw
  To: gentoo-commits

commit:     d842babd45dcb8a7d3dfdd75d525cb9dd538c976
Author:     Christoph Junghans <junghans <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 15 13:34:41 2020 +0000
Commit:     Christoph Junghans <junghans <AT> gentoo <DOT> org>
CommitDate: Sun Mar 15 13:37:13 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d842babd

dev-cpp/kokkos: add missing RESTRICT

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

 dev-cpp/kokkos/kokkos-3.0.00.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-cpp/kokkos/kokkos-3.0.00.ebuild b/dev-cpp/kokkos/kokkos-3.0.00.ebuild
index 5c226a4e4b2..1707ae8abba 100644
--- a/dev-cpp/kokkos/kokkos-3.0.00.ebuild
+++ b/dev-cpp/kokkos/kokkos-3.0.00.ebuild
@@ -13,6 +13,7 @@ LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="+openmp test"
+RESTRICT="!test? ( test )"
 
 DEPEND="
 	sys-apps/hwloc


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2020-04-18  4:22 Christoph Junghans
  0 siblings, 0 replies; 35+ messages in thread
From: Christoph Junghans @ 2020-04-18  4:22 UTC (permalink / raw
  To: gentoo-commits

commit:     ea22e4e3b6f583f84f19ae96c18b467c52619842
Author:     Christoph Junghans <junghans <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 18 04:21:56 2020 +0000
Commit:     Christoph Junghans <junghans <AT> gentoo <DOT> org>
CommitDate: Sat Apr 18 04:21:56 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea22e4e3

dev-cpp/kokkos: version bump

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.1.00.ebuild | 45 +++++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/dev-cpp/kokkos/Manifest b/dev-cpp/kokkos/Manifest
index 44a82a67a70..20fd3f08d3b 100644
--- a/dev-cpp/kokkos/Manifest
+++ b/dev-cpp/kokkos/Manifest
@@ -1 +1,2 @@
 DIST kokkos-3.0.00.tar.gz 1923287 BLAKE2B 4a2935e9388b3d577d6ce8678cad37830970222e6ce8a9c3db67633cb521440f14fdb380f03d3c77cd5ade85abe94aef97e9cc4949cc3a140fae958e0c15fff8 SHA512 c9daf62a2c92462c815aa241934aca5720bac8f88195635ae5a3ff4111d289a48898d32358b91e120756d3412820050297a76f44828f4cbc0b2b837a736e84aa
+DIST kokkos-3.1.00.tar.gz 1972408 BLAKE2B 47c3eb83526dd13430a3b7049a98169d15ef73c6d2b3943c5600a153d28a9c6a0d6ee0b8eda1aac5f1b53556c5cee1680ce92a90f97b1b2741e1e7f0c9222486 SHA512 7933542c24e137052d630a503d707912295022863f2d47c89c4a35a9c8a70514763d89e321c66a3878575e661461ede45ac44d74cf45eca2470e7f57840d5c0c

diff --git a/dev-cpp/kokkos/kokkos-3.1.00.ebuild b/dev-cpp/kokkos/kokkos-3.1.00.ebuild
new file mode 100644
index 00000000000..1707ae8abba
--- /dev/null
+++ b/dev-cpp/kokkos/kokkos-3.1.00.ebuild
@@ -0,0 +1,45 @@
+# 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"
+RESTRICT="!test? ( 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
+}


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2020-05-13 12:41 Christoph Junghans
  0 siblings, 0 replies; 35+ messages in thread
From: Christoph Junghans @ 2020-05-13 12:41 UTC (permalink / raw
  To: gentoo-commits

commit:     00a1312ae7e430e0bf4bddda1048ce2f3abd8914
Author:     Christoph Junghans <junghans <AT> gentoo <DOT> org>
AuthorDate: Wed May 13 12:40:48 2020 +0000
Commit:     Christoph Junghans <junghans <AT> gentoo <DOT> org>
CommitDate: Wed May 13 12:40:48 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00a1312a

dev-cpp/kokkos: version bump

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

 dev-cpp/kokkos/Manifest             |  1 +
 dev-cpp/kokkos/kokkos-3.1.01.ebuild | 45 +++++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/dev-cpp/kokkos/Manifest b/dev-cpp/kokkos/Manifest
index 20fd3f08d3b..d3bb82f1710 100644
--- a/dev-cpp/kokkos/Manifest
+++ b/dev-cpp/kokkos/Manifest
@@ -1,2 +1,3 @@
 DIST kokkos-3.0.00.tar.gz 1923287 BLAKE2B 4a2935e9388b3d577d6ce8678cad37830970222e6ce8a9c3db67633cb521440f14fdb380f03d3c77cd5ade85abe94aef97e9cc4949cc3a140fae958e0c15fff8 SHA512 c9daf62a2c92462c815aa241934aca5720bac8f88195635ae5a3ff4111d289a48898d32358b91e120756d3412820050297a76f44828f4cbc0b2b837a736e84aa
 DIST kokkos-3.1.00.tar.gz 1972408 BLAKE2B 47c3eb83526dd13430a3b7049a98169d15ef73c6d2b3943c5600a153d28a9c6a0d6ee0b8eda1aac5f1b53556c5cee1680ce92a90f97b1b2741e1e7f0c9222486 SHA512 7933542c24e137052d630a503d707912295022863f2d47c89c4a35a9c8a70514763d89e321c66a3878575e661461ede45ac44d74cf45eca2470e7f57840d5c0c
+DIST kokkos-3.1.01.tar.gz 1972707 BLAKE2B fe31556ecba6b01ed6e480f0cb4ca4d7dc487d6b2a7e52df94d0e93b864ed5269a752f4fcdbacb55383e9dee3b72236f121b67d2f5eed10f3351219b063e7099 SHA512 4fa428ec33ec207147b3fcc5e0d297bcff4ed772ba6baa24ccaf56b691b72b70c69bd48fdf134f4e78234bf755377fe01a31611a41539c2d211ba9caed24b1f2

diff --git a/dev-cpp/kokkos/kokkos-3.1.01.ebuild b/dev-cpp/kokkos/kokkos-3.1.01.ebuild
new file mode 100644
index 00000000000..1707ae8abba
--- /dev/null
+++ b/dev-cpp/kokkos/kokkos-3.1.01.ebuild
@@ -0,0 +1,45 @@
+# 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"
+RESTRICT="!test? ( 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
+}


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2020-07-28  0:29 Christoph Junghans
  0 siblings, 0 replies; 35+ messages in thread
From: Christoph Junghans @ 2020-07-28  0:29 UTC (permalink / raw
  To: gentoo-commits

commit:     c0f181f144f3db3448abaa54f7160e21bab3da7f
Author:     Christoph Junghans <junghans <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 27 23:55:45 2020 +0000
Commit:     Christoph Junghans <junghans <AT> gentoo <DOT> org>
CommitDate: Tue Jul 28 00:29:03 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0f181f1

dev-cpp/kokkos: mark x86 as unsupported

Bug: https://github.com/kokkos/kokkos/issues/2312
Closes: https://bugs.gentoo.org/734156
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Christoph Junghans <junghans <AT> gentoo.org>

 dev-cpp/kokkos/kokkos-3.0.00.ebuild | 2 +-
 dev-cpp/kokkos/kokkos-3.1.00.ebuild | 2 +-
 dev-cpp/kokkos/kokkos-3.1.01.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-cpp/kokkos/kokkos-3.0.00.ebuild b/dev-cpp/kokkos/kokkos-3.0.00.ebuild
index 1707ae8abba..b8bceaa6fda 100644
--- a/dev-cpp/kokkos/kokkos-3.0.00.ebuild
+++ b/dev-cpp/kokkos/kokkos-3.0.00.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 -x86"
 IUSE="+openmp test"
 RESTRICT="!test? ( test )"
 

diff --git a/dev-cpp/kokkos/kokkos-3.1.00.ebuild b/dev-cpp/kokkos/kokkos-3.1.00.ebuild
index 1707ae8abba..b8bceaa6fda 100644
--- a/dev-cpp/kokkos/kokkos-3.1.00.ebuild
+++ b/dev-cpp/kokkos/kokkos-3.1.00.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 -x86"
 IUSE="+openmp test"
 RESTRICT="!test? ( test )"
 

diff --git a/dev-cpp/kokkos/kokkos-3.1.01.ebuild b/dev-cpp/kokkos/kokkos-3.1.01.ebuild
index 1707ae8abba..b8bceaa6fda 100644
--- a/dev-cpp/kokkos/kokkos-3.1.01.ebuild
+++ b/dev-cpp/kokkos/kokkos-3.1.01.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 -x86"
 IUSE="+openmp test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2020-08-08  1:25 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2020-08-08  1:25 UTC (permalink / raw
  To: gentoo-commits

commit:     9c9ba1c01c5002a4810b65d4b16513d4318949b5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  8 01:23:39 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Aug  8 01:23:39 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c9ba1c0

dev-cpp/kokkos: Stabilize 3.0.00 amd64, #721420

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/kokkos/kokkos-3.0.00.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/kokkos/kokkos-3.0.00.ebuild b/dev-cpp/kokkos/kokkos-3.0.00.ebuild
index b8bceaa6fda..26eebf60bcd 100644
--- a/dev-cpp/kokkos/kokkos-3.0.00.ebuild
+++ b/dev-cpp/kokkos/kokkos-3.0.00.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 -x86"
+KEYWORDS="amd64 -x86"
 IUSE="+openmp test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2021-04-05 16:53 Andreas Sturmlechner
  0 siblings, 0 replies; 35+ messages in thread
From: Andreas Sturmlechner @ 2021-04-05 16:53 UTC (permalink / raw
  To: gentoo-commits

commit:     37e78a3400e3c4e8dbbe4855eec96169e9d6031f
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  5 12:59:38 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Apr  5 16:53:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37e78a34

dev-cpp/kokkos: Drop 3.1.00

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-cpp/kokkos/Manifest             |  1 -
 dev-cpp/kokkos/kokkos-3.1.00.ebuild | 45 -------------------------------------
 2 files changed, 46 deletions(-)

diff --git a/dev-cpp/kokkos/Manifest b/dev-cpp/kokkos/Manifest
index d3bb82f1710..f3ff3912549 100644
--- a/dev-cpp/kokkos/Manifest
+++ b/dev-cpp/kokkos/Manifest
@@ -1,3 +1,2 @@
 DIST kokkos-3.0.00.tar.gz 1923287 BLAKE2B 4a2935e9388b3d577d6ce8678cad37830970222e6ce8a9c3db67633cb521440f14fdb380f03d3c77cd5ade85abe94aef97e9cc4949cc3a140fae958e0c15fff8 SHA512 c9daf62a2c92462c815aa241934aca5720bac8f88195635ae5a3ff4111d289a48898d32358b91e120756d3412820050297a76f44828f4cbc0b2b837a736e84aa
-DIST kokkos-3.1.00.tar.gz 1972408 BLAKE2B 47c3eb83526dd13430a3b7049a98169d15ef73c6d2b3943c5600a153d28a9c6a0d6ee0b8eda1aac5f1b53556c5cee1680ce92a90f97b1b2741e1e7f0c9222486 SHA512 7933542c24e137052d630a503d707912295022863f2d47c89c4a35a9c8a70514763d89e321c66a3878575e661461ede45ac44d74cf45eca2470e7f57840d5c0c
 DIST kokkos-3.1.01.tar.gz 1972707 BLAKE2B fe31556ecba6b01ed6e480f0cb4ca4d7dc487d6b2a7e52df94d0e93b864ed5269a752f4fcdbacb55383e9dee3b72236f121b67d2f5eed10f3351219b063e7099 SHA512 4fa428ec33ec207147b3fcc5e0d297bcff4ed772ba6baa24ccaf56b691b72b70c69bd48fdf134f4e78234bf755377fe01a31611a41539c2d211ba9caed24b1f2

diff --git a/dev-cpp/kokkos/kokkos-3.1.00.ebuild b/dev-cpp/kokkos/kokkos-3.1.00.ebuild
deleted file mode 100644
index b8bceaa6fda..00000000000
--- a/dev-cpp/kokkos/kokkos-3.1.00.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# 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"
-RESTRICT="!test? ( 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
-}


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2021-04-06 21:38 Andreas Sturmlechner
  0 siblings, 0 replies; 35+ messages in thread
From: Andreas Sturmlechner @ 2021-04-06 21:38 UTC (permalink / raw
  To: gentoo-commits

commit:     b140d66efb252778b3475419de49bab2d0e592cb
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  5 12:59:18 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Apr  6 21:38:25 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b140d66e

dev-cpp/kokkos: Switch to cmake.eclass, no PN in DESCRIPTION

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-cpp/kokkos/kokkos-3.1.01.ebuild | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/dev-cpp/kokkos/kokkos-3.1.01.ebuild b/dev-cpp/kokkos/kokkos-3.1.01.ebuild
index b8bceaa6fda..2456f83dc2d 100644
--- a/dev-cpp/kokkos/kokkos-3.1.01.ebuild
+++ b/dev-cpp/kokkos/kokkos-3.1.01.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit cmake-utils toolchain-funcs
+inherit cmake toolchain-funcs
 
-DESCRIPTION="Kokkos C++ Performance Portability Programming EcoSystem"
+DESCRIPTION="C++ Performance Portability Programming EcoSystem"
 HOMEPAGE="https://github.com/kokkos"
 SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
@@ -15,9 +15,7 @@ KEYWORDS="~amd64 -x86"
 IUSE="+openmp test"
 RESTRICT="!test? ( test )"
 
-DEPEND="
-	sys-apps/hwloc
-	"
+DEPEND="sys-apps/hwloc"
 RDEPEND="${DEPEND}"
 BDEPEND=""
 
@@ -41,5 +39,5 @@ src_configure() {
 		-DBUILD_SHARED_LIBS=ON
 	)
 
-	cmake-utils_src_configure
+	cmake_src_configure
 }


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2021-10-29 22:44 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2021-10-29 22:44 UTC (permalink / raw
  To: gentoo-commits

commit:     95f1868710d9f30d75da815c2be7ee12fc9243a2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 29 22:42:12 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 29 22:43:45 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95f18687

dev-cpp/kokkos: add hwloc subslot operator

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/kokkos/{kokkos-3.0.00.ebuild => kokkos-3.0.00-r1.ebuild} | 4 ++--
 dev-cpp/kokkos/{kokkos-3.1.01.ebuild => kokkos-3.1.01-r1.ebuild} | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-cpp/kokkos/kokkos-3.0.00.ebuild b/dev-cpp/kokkos/kokkos-3.0.00-r1.ebuild
similarity index 94%
rename from dev-cpp/kokkos/kokkos-3.0.00.ebuild
rename to dev-cpp/kokkos/kokkos-3.0.00-r1.ebuild
index 26eebf60bcd..3f10ae6936c 100644
--- a/dev-cpp/kokkos/kokkos-3.0.00.ebuild
+++ b/dev-cpp/kokkos/kokkos-3.0.00-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ IUSE="+openmp test"
 RESTRICT="!test? ( test )"
 
 DEPEND="
-	sys-apps/hwloc
+	sys-apps/hwloc:=
 	"
 RDEPEND="${DEPEND}"
 BDEPEND=""

diff --git a/dev-cpp/kokkos/kokkos-3.1.01.ebuild b/dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild
similarity index 97%
rename from dev-cpp/kokkos/kokkos-3.1.01.ebuild
rename to dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild
index 2456f83dc2d..8f64a19d12e 100644
--- a/dev-cpp/kokkos/kokkos-3.1.01.ebuild
+++ b/dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild
@@ -15,7 +15,7 @@ KEYWORDS="~amd64 -x86"
 IUSE="+openmp test"
 RESTRICT="!test? ( test )"
 
-DEPEND="sys-apps/hwloc"
+DEPEND="sys-apps/hwloc:="
 RDEPEND="${DEPEND}"
 BDEPEND=""
 


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2021-11-26  4:13 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2021-11-26  4:13 UTC (permalink / raw
  To: gentoo-commits

commit:     f16181a97c2031836ca26bd1d22550d511982b39
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 26 04:12:36 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 26 04:12:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f16181a9

dev-cpp/kokkos: skip "death tests"

They're known to fail and it's holding up stabilisation on a non-regression.

Closes: https://bugs.gentoo.org/722608
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild b/dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild
index 8f64a19d12e7..24d979c98647 100644
--- a/dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild
+++ b/dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild
@@ -41,3 +41,14 @@ src_configure() {
 
 	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
+}


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2021-11-27  7:23 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2021-11-27  7:23 UTC (permalink / raw
  To: gentoo-commits

commit:     49dca9c9a5b5b1de14cd252c4a1ba61aca0f3a42
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 27 07:22:42 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 27 07:22:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49dca9c9

dev-cpp/kokkos: Stabilize 3.1.01-r1 amd64, #791514

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild b/dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild
index 24d979c98647..52828debf318 100644
--- a/dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild
+++ b/dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 -x86"
+KEYWORDS="amd64 -x86"
 IUSE="+openmp test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2022-03-01  9:01 David Seifert
  0 siblings, 0 replies; 35+ messages in thread
From: David Seifert @ 2022-03-01  9:01 UTC (permalink / raw
  To: gentoo-commits

commit:     44a9bc3c408e3c109466d03ea6853bcd9c0530cc
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  1 09:01:14 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Mar  1 09:01:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44a9bc3c

dev-cpp/kokkos: [QA] use tc-check-openmp

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild b/dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild
index 52828debf318..bc59929572fe 100644
--- a/dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild
+++ b/dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -17,13 +17,9 @@ RESTRICT="!test? ( 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
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 }
 
 src_configure() {


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2022-03-01  9:01 David Seifert
  0 siblings, 0 replies; 35+ messages in thread
From: David Seifert @ 2022-03-01  9:01 UTC (permalink / raw
  To: gentoo-commits

commit:     b7a7a1bb945969b8b27cf189c4952e14b3b8b572
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  1 09:01:15 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Mar  1 09:01:15 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7a7a1bb

dev-cpp/kokkos: [QA] drop 3.0.00-r1

Closes: https://bugs.gentoo.org/791514
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-cpp/kokkos/Manifest                |  1 -
 dev-cpp/kokkos/kokkos-3.0.00-r1.ebuild | 45 ----------------------------------
 2 files changed, 46 deletions(-)

diff --git a/dev-cpp/kokkos/Manifest b/dev-cpp/kokkos/Manifest
index f3ff39125493..4da29b139ece 100644
--- a/dev-cpp/kokkos/Manifest
+++ b/dev-cpp/kokkos/Manifest
@@ -1,2 +1 @@
-DIST kokkos-3.0.00.tar.gz 1923287 BLAKE2B 4a2935e9388b3d577d6ce8678cad37830970222e6ce8a9c3db67633cb521440f14fdb380f03d3c77cd5ade85abe94aef97e9cc4949cc3a140fae958e0c15fff8 SHA512 c9daf62a2c92462c815aa241934aca5720bac8f88195635ae5a3ff4111d289a48898d32358b91e120756d3412820050297a76f44828f4cbc0b2b837a736e84aa
 DIST kokkos-3.1.01.tar.gz 1972707 BLAKE2B fe31556ecba6b01ed6e480f0cb4ca4d7dc487d6b2a7e52df94d0e93b864ed5269a752f4fcdbacb55383e9dee3b72236f121b67d2f5eed10f3351219b063e7099 SHA512 4fa428ec33ec207147b3fcc5e0d297bcff4ed772ba6baa24ccaf56b691b72b70c69bd48fdf134f4e78234bf755377fe01a31611a41539c2d211ba9caed24b1f2

diff --git a/dev-cpp/kokkos/kokkos-3.0.00-r1.ebuild b/dev-cpp/kokkos/kokkos-3.0.00-r1.ebuild
deleted file mode 100644
index 3f10ae6936c0..000000000000
--- a/dev-cpp/kokkos/kokkos-3.0.00-r1.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2021 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"
-RESTRICT="!test? ( 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
-}


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2022-05-16  8:12 David Seifert
  0 siblings, 0 replies; 35+ messages in thread
From: David Seifert @ 2022-05-16  8:12 UTC (permalink / raw
  To: gentoo-commits

commit:     604b345462a36923de0c410e4734cf2508e1e070
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon May 16 08:12:07 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon May 16 08:12:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=604b3454

dev-cpp/kokkos: [QA] use tc-check-openmp correctly

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild b/dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild
index bc59929572fe..eaa8cf4e4ec1 100644
--- a/dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild
+++ b/dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild
@@ -18,6 +18,10 @@ RESTRICT="!test? ( test )"
 DEPEND="sys-apps/hwloc:="
 RDEPEND="${DEPEND}"
 
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
 pkg_setup() {
 	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 }


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2022-10-17 19:44 Matthias Maier
  0 siblings, 0 replies; 35+ messages in thread
From: Matthias Maier @ 2022-10-17 19:44 UTC (permalink / raw
  To: gentoo-commits

commit:     a3110e845c9d1ca426a53aa56e3ca8f40d152ead
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 17 19:43:27 2022 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Oct 17 19:44:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3110e84

dev-cpp/kokkos: add 3.7.0

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 dev-cpp/kokkos/Manifest            |  1 +
 dev-cpp/kokkos/kokkos-3.7.0.ebuild | 56 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/dev-cpp/kokkos/Manifest b/dev-cpp/kokkos/Manifest
index 4da29b139ece..e324387893fb 100644
--- a/dev-cpp/kokkos/Manifest
+++ b/dev-cpp/kokkos/Manifest
@@ -1 +1,2 @@
 DIST kokkos-3.1.01.tar.gz 1972707 BLAKE2B fe31556ecba6b01ed6e480f0cb4ca4d7dc487d6b2a7e52df94d0e93b864ed5269a752f4fcdbacb55383e9dee3b72236f121b67d2f5eed10f3351219b063e7099 SHA512 4fa428ec33ec207147b3fcc5e0d297bcff4ed772ba6baa24ccaf56b691b72b70c69bd48fdf134f4e78234bf755377fe01a31611a41539c2d211ba9caed24b1f2
+DIST kokkos-3.7.0.tar.gz 2301343 BLAKE2B b63ffc7c70141396986414375143d4df62a4bfffec0f0a346a278819557b42a025cd7f2a0825cd4d2d7c94a5c7c374b58be79dae9c45e012574b4c87c2ae0371 SHA512 f72b43096126cba11129ab44c2ebaeb1ee92b14db45bd451e86f40746e8edbfbe3415dee089080a6664ae4985e5796717c64bb5c508ca5e287b31bac248802f6

diff --git a/dev-cpp/kokkos/kokkos-3.7.0.ebuild b/dev-cpp/kokkos/kokkos-3.7.0.ebuild
new file mode 100644
index 000000000000..b8f927d8aac1
--- /dev/null
+++ b/dev-cpp/kokkos/kokkos-3.7.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2022 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="${PV}0"
+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
+}


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2022-12-05 17:32 Matthias Maier
  0 siblings, 0 replies; 35+ messages in thread
From: Matthias Maier @ 2022-12-05 17:32 UTC (permalink / raw
  To: gentoo-commits

commit:     8aef08e6ef80ec8a01ea77c692a1e488ccad7067
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  5 17:31:20 2022 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Dec  5 17:31:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8aef08e6

dev-cpp/kokkos: destabilize 3.7.0 for ~amd64

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 dev-cpp/kokkos/kokkos-3.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/kokkos/kokkos-3.7.0.ebuild b/dev-cpp/kokkos/kokkos-3.7.0.ebuild
index b8f927d8aac1..473cac731fff 100644
--- a/dev-cpp/kokkos/kokkos-3.7.0.ebuild
+++ b/dev-cpp/kokkos/kokkos-3.7.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 -x86"
+KEYWORDS="~amd64 -x86"
 IUSE="+openmp test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2023-01-23 20:58 Matthias Maier
  0 siblings, 0 replies; 35+ messages in thread
From: Matthias Maier @ 2023-01-23 20:58 UTC (permalink / raw
  To: gentoo-commits

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
+}


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2023-01-23 20:58 Matthias Maier
  0 siblings, 0 replies; 35+ messages in thread
From: Matthias Maier @ 2023-01-23 20:58 UTC (permalink / raw
  To: gentoo-commits

commit:     2fee7f091ff3863e1a57916f553d78f9283f30b9
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 23 20:45:25 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=2fee7f09

dev-cpp/kokkos: add myself as a maintainer

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 dev-cpp/kokkos/metadata.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-cpp/kokkos/metadata.xml b/dev-cpp/kokkos/metadata.xml
index 2c14fd89dd2e..3f0d6861e854 100644
--- a/dev-cpp/kokkos/metadata.xml
+++ b/dev-cpp/kokkos/metadata.xml
@@ -5,4 +5,8 @@
 		<email>junghans@gentoo.org</email>
 		<name>Christoph Junghans</name>
 	</maintainer>
+	<maintainer type="person">
+		<email>tamiko@gentoo.org</email>
+		<name>Matthias Maier</name>
+	</maintainer>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2023-03-26 18:02 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2023-03-26 18:02 UTC (permalink / raw
  To: gentoo-commits

commit:     eccb54239c2667a203dc2d2821af9f350853e079
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 26 18:02:36 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 26 18:02:44 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eccb5423

dev-cpp/kokkos: Stabilize 3.7.1 amd64, #892287

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/kokkos/kokkos-3.7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/kokkos/kokkos-3.7.1.ebuild b/dev-cpp/kokkos/kokkos-3.7.1.ebuild
index 643476dab313..4ec60171c232 100644
--- a/dev-cpp/kokkos/kokkos-3.7.1.ebuild
+++ b/dev-cpp/kokkos/kokkos-3.7.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 -x86"
+KEYWORDS="amd64 -x86"
 IUSE="+openmp test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2023-04-18  7:48 Sam James
  0 siblings, 0 replies; 35+ messages in thread
From: Sam James @ 2023-04-18  7:48 UTC (permalink / raw
  To: gentoo-commits

commit:     ba3172fa271678a71805d7fdaad31596acbaef4a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 18 07:20:53 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 18 07:20:53 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba3172fa

dev-cpp/kokkos: add github upstream metadata

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/kokkos/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-cpp/kokkos/metadata.xml b/dev-cpp/kokkos/metadata.xml
index 41492a48020d..a5d2799906b4 100644
--- a/dev-cpp/kokkos/metadata.xml
+++ b/dev-cpp/kokkos/metadata.xml
@@ -5,4 +5,7 @@
 		<email>tamiko@gentoo.org</email>
 		<name>Matthias Maier</name>
 	</maintainer>
+	<upstream>
+		<remote-id type="github">kokkos/kokkos</remote-id>
+	</upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2023-06-10 19:25 Andreas Sturmlechner
  0 siblings, 0 replies; 35+ messages in thread
From: Andreas Sturmlechner @ 2023-06-10 19:25 UTC (permalink / raw
  To: gentoo-commits

commit:     4c952695d80191a8562d7a3a54fb22e45bbf0a50
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun May 28 19:18:06 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jun 10 19:25:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c952695

dev-cpp/kokkos: drop 3.1.01-r1, 3.7.0

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-cpp/kokkos/Manifest                |  2 --
 dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild | 54 --------------------------------
 dev-cpp/kokkos/kokkos-3.7.0.ebuild     | 56 ----------------------------------
 3 files changed, 112 deletions(-)

diff --git a/dev-cpp/kokkos/Manifest b/dev-cpp/kokkos/Manifest
index f3d7d79b8a76..aead5200cb02 100644
--- a/dev-cpp/kokkos/Manifest
+++ b/dev-cpp/kokkos/Manifest
@@ -1,3 +1 @@
-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.1.01-r1.ebuild b/dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild
deleted file mode 100644
index eaa8cf4e4ec1..000000000000
--- a/dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2022 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"
-SRC_URI="https://github.com/${PN}/${PN}/archive/${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}"
-
-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_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_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
-}

diff --git a/dev-cpp/kokkos/kokkos-3.7.0.ebuild b/dev-cpp/kokkos/kokkos-3.7.0.ebuild
deleted file mode 100644
index 473cac731fff..000000000000
--- a/dev-cpp/kokkos/kokkos-3.7.0.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2022 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="${PV}0"
-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
-}


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2023-06-19 18:26 Matthias Maier
  0 siblings, 0 replies; 35+ messages in thread
From: Matthias Maier @ 2023-06-19 18:26 UTC (permalink / raw
  To: gentoo-commits

commit:     40849d1e87ab7f12c9fb9c6e075b4fcec1a6431c
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 19 17:07:03 2023 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Jun 19 18:26:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40849d1e

dev-cpp/kokkos: update maintainers

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 dev-cpp/kokkos/metadata.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-cpp/kokkos/metadata.xml b/dev-cpp/kokkos/metadata.xml
index a5d2799906b4..5a851f194061 100644
--- a/dev-cpp/kokkos/metadata.xml
+++ b/dev-cpp/kokkos/metadata.xml
@@ -5,6 +5,10 @@
 		<email>tamiko@gentoo.org</email>
 		<name>Matthias Maier</name>
 	</maintainer>
+	<maintainer type="project">
+		<email>sci@gentoo.org</email>
+		<name>Gentoo Science Project</name>
+	</maintainer>
 	<upstream>
 		<remote-id type="github">kokkos/kokkos</remote-id>
 	</upstream>


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2023-06-19 18:26 Matthias Maier
  0 siblings, 0 replies; 35+ messages in thread
From: Matthias Maier @ 2023-06-19 18:26 UTC (permalink / raw
  To: gentoo-commits

commit:     59a319267dc55c49e8789d935f55a8b4fd94f4af
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 19 17:08:09 2023 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Jun 19 18:26:32 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59a31926

dev-cpp/kokkos: add 4.0.1

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 dev-cpp/kokkos/Manifest            |  1 +
 dev-cpp/kokkos/kokkos-4.0.1.ebuild | 56 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/dev-cpp/kokkos/Manifest b/dev-cpp/kokkos/Manifest
index aead5200cb02..5a04b2ab21bf 100644
--- a/dev-cpp/kokkos/Manifest
+++ b/dev-cpp/kokkos/Manifest
@@ -1 +1,2 @@
 DIST kokkos-3.7.1.tar.gz 2305103 BLAKE2B c94493077190c1e5d2681d0e138012fcd82f91a1f7616ea7373f3c12f577a195937d507dd2d64f82902fa6760f63da8b3e2c1ef31a7114b9da21841280e22e33 SHA512 97cb7e05aec145ba9adae30b20ae3138a532db3a56cdd5e092d8f9c1e1788efe7a6f721282e2a5c5bf9c0da4c53d28f30b27fcb546b68aa8eaa589a362eb40c1
+DIST kokkos-4.0.1.tar.gz 2322402 BLAKE2B a4aba2f7ffe7b7c93051ad65d398f442b753975eceb3f83ed1bff0b8c468e4ffdcb6437989e740c65fc550f17ef8ddf78ca50ca881d3953f886309dc7d6fc597 SHA512 cf6742f4be777b52673858b49cf68fdf335e760509688483e62ef41af5026070f69dcf39d010134c85dc6c4868f82a38900872be11ed43190432c8530b90deee

diff --git a/dev-cpp/kokkos/kokkos-4.0.1.ebuild b/dev-cpp/kokkos/kokkos-4.0.1.ebuild
new file mode 100644
index 000000000000..4ec60171c232
--- /dev/null
+++ b/dev-cpp/kokkos/kokkos-4.0.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
+}


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2023-06-19 21:04 Matthias Maier
  0 siblings, 0 replies; 35+ messages in thread
From: Matthias Maier @ 2023-06-19 21:04 UTC (permalink / raw
  To: gentoo-commits

commit:     f3592fadc8f7d5862342a6f021d11bf2df3b9c90
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 19 21:03:02 2023 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Jun 19 21:03:02 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3592fad

dev-cpp/kokkos: update EAPI 7 -> 8

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 dev-cpp/kokkos/kokkos-4.0.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/kokkos/kokkos-4.0.1.ebuild b/dev-cpp/kokkos/kokkos-4.0.1.ebuild
index 4ec60171c232..fb34ce9b8546 100644
--- a/dev-cpp/kokkos/kokkos-4.0.1.ebuild
+++ b/dev-cpp/kokkos/kokkos-4.0.1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit cmake toolchain-funcs
 
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 -x86"
+KEYWORDS="~amd64 -x86"
 IUSE="+openmp test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2023-10-25 18:34 Arthur Zamarin
  0 siblings, 0 replies; 35+ messages in thread
From: Arthur Zamarin @ 2023-10-25 18:34 UTC (permalink / raw
  To: gentoo-commits

commit:     72c992d8637d53d26dc19dd53c3b306e06218412
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 25 18:34:10 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 25 18:34:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72c992d8

dev-cpp/kokkos: Stabilize 4.0.1 amd64, #911331

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-cpp/kokkos/kokkos-4.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/kokkos/kokkos-4.0.1.ebuild b/dev-cpp/kokkos/kokkos-4.0.1.ebuild
index fb34ce9b8546..a83617a9795f 100644
--- a/dev-cpp/kokkos/kokkos-4.0.1.ebuild
+++ b/dev-cpp/kokkos/kokkos-4.0.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 -x86"
+KEYWORDS="amd64 -x86"
 IUSE="+openmp test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2023-11-08 19:30 Andreas Sturmlechner
  0 siblings, 0 replies; 35+ messages in thread
From: Andreas Sturmlechner @ 2023-11-08 19:30 UTC (permalink / raw
  To: gentoo-commits

commit:     559909c47c5bb947653dc06a09d9f68c95d4b0c9
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Nov  6 00:30:25 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Nov  8 19:29:18 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=559909c4

dev-cpp/kokkos: drop 3.7.1

Closes: https://bugs.gentoo.org/911331
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-cpp/kokkos/Manifest            |  1 -
 dev-cpp/kokkos/kokkos-3.7.1.ebuild | 56 --------------------------------------
 2 files changed, 57 deletions(-)

diff --git a/dev-cpp/kokkos/Manifest b/dev-cpp/kokkos/Manifest
index 5a04b2ab21bf..6d7dbbb743e7 100644
--- a/dev-cpp/kokkos/Manifest
+++ b/dev-cpp/kokkos/Manifest
@@ -1,2 +1 @@
-DIST kokkos-3.7.1.tar.gz 2305103 BLAKE2B c94493077190c1e5d2681d0e138012fcd82f91a1f7616ea7373f3c12f577a195937d507dd2d64f82902fa6760f63da8b3e2c1ef31a7114b9da21841280e22e33 SHA512 97cb7e05aec145ba9adae30b20ae3138a532db3a56cdd5e092d8f9c1e1788efe7a6f721282e2a5c5bf9c0da4c53d28f30b27fcb546b68aa8eaa589a362eb40c1
 DIST kokkos-4.0.1.tar.gz 2322402 BLAKE2B a4aba2f7ffe7b7c93051ad65d398f442b753975eceb3f83ed1bff0b8c468e4ffdcb6437989e740c65fc550f17ef8ddf78ca50ca881d3953f886309dc7d6fc597 SHA512 cf6742f4be777b52673858b49cf68fdf335e760509688483e62ef41af5026070f69dcf39d010134c85dc6c4868f82a38900872be11ed43190432c8530b90deee

diff --git a/dev-cpp/kokkos/kokkos-3.7.1.ebuild b/dev-cpp/kokkos/kokkos-3.7.1.ebuild
deleted file mode 100644
index 4ec60171c232..000000000000
--- a/dev-cpp/kokkos/kokkos-3.7.1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# 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
-}


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2024-07-04  4:55 Matthias Maier
  0 siblings, 0 replies; 35+ messages in thread
From: Matthias Maier @ 2024-07-04  4:55 UTC (permalink / raw
  To: gentoo-commits

commit:     f8e751bb0df33bf63061b3341705d3bd4ea68cce
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  4 04:53:07 2024 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Thu Jul  4 04:55:27 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8e751bb

dev-cpp/kokkos: add 4.3.1

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 dev-cpp/kokkos/Manifest            |  1 +
 dev-cpp/kokkos/kokkos-4.3.1.ebuild | 56 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/dev-cpp/kokkos/Manifest b/dev-cpp/kokkos/Manifest
index 6d7dbbb743e7..9ed03b5fd146 100644
--- a/dev-cpp/kokkos/Manifest
+++ b/dev-cpp/kokkos/Manifest
@@ -1 +1,2 @@
 DIST kokkos-4.0.1.tar.gz 2322402 BLAKE2B a4aba2f7ffe7b7c93051ad65d398f442b753975eceb3f83ed1bff0b8c468e4ffdcb6437989e740c65fc550f17ef8ddf78ca50ca881d3953f886309dc7d6fc597 SHA512 cf6742f4be777b52673858b49cf68fdf335e760509688483e62ef41af5026070f69dcf39d010134c85dc6c4868f82a38900872be11ed43190432c8530b90deee
+DIST kokkos-4.3.1.tar.gz 2431142 BLAKE2B 158ceea3c62449f386613b17e996e4d11e9b95c38a92f69fb3c487b90cf5f07dffdafb6ee0a37eff5299e7d1db50efaed4b26b9baebeeea9d675d0d98dd420e4 SHA512 8180ecdec2f0a6167a85dd1eb268996b0310e82098f2329eccf658aff90118a7c85c2f7607984602de2ca48dc45c1dbf30a4843b35c42590e58d4b03beff474a

diff --git a/dev-cpp/kokkos/kokkos-4.3.1.ebuild b/dev-cpp/kokkos/kokkos-4.3.1.ebuild
new file mode 100644
index 000000000000..208704232631
--- /dev/null
+++ b/dev-cpp/kokkos/kokkos-4.3.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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
+}


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2025-07-15 22:18 Matthias Maier
  0 siblings, 0 replies; 35+ messages in thread
From: Matthias Maier @ 2025-07-15 22:18 UTC (permalink / raw
  To: gentoo-commits

commit:     9d3c495f23da97a84b89aab26c89ab3b0f0f6e82
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 15 22:09:10 2025 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Tue Jul 15 22:16:56 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d3c495f

dev-cpp/kokkos: add 9999

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 dev-cpp/kokkos/kokkos-9999.ebuild | 64 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 64 insertions(+)

diff --git a/dev-cpp/kokkos/kokkos-9999.ebuild b/dev-cpp/kokkos/kokkos-9999.ebuild
new file mode 100644
index 000000000000..aeea53f0b27f
--- /dev/null
+++ b/dev-cpp/kokkos/kokkos-9999.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake toolchain-funcs
+
+DESCRIPTION="C++ Performance Portability Programming EcoSystem"
+HOMEPAGE="https://github.com/kokkos"
+
+if [[ ${PV} = *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/kokkos/kokkos.git"
+	SRC_URI=""
+else
+	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"
+	S="${WORKDIR}/${PN}-${MY_PV}"
+	KEYWORDS="~amd64 -x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+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
+}


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2025-07-15 22:18 Matthias Maier
  0 siblings, 0 replies; 35+ messages in thread
From: Matthias Maier @ 2025-07-15 22:18 UTC (permalink / raw
  To: gentoo-commits

commit:     22cc663316a6c9bdf475ef602d30bd721e1f7194
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 15 22:11:41 2025 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Tue Jul 15 22:17:27 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22cc6633

dev-cpp/kokkos: fix pkgdev warnings about misplaced S= and empty SRC_URI=

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 dev-cpp/kokkos/kokkos-4.0.1.ebuild | 6 +++---
 dev-cpp/kokkos/kokkos-4.3.1.ebuild | 6 +++---
 dev-cpp/kokkos/kokkos-4.6.2.ebuild | 4 ++--
 dev-cpp/kokkos/kokkos-9999.ebuild  | 3 ---
 4 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/dev-cpp/kokkos/kokkos-4.0.1.ebuild b/dev-cpp/kokkos/kokkos-4.0.1.ebuild
index a83617a9795f..b294548bebab 100644
--- a/dev-cpp/kokkos/kokkos-4.0.1.ebuild
+++ b/dev-cpp/kokkos/kokkos-4.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -10,6 +10,8 @@ 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"
 
+S="${WORKDIR}/${PN}-${MY_PV}"
+
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="amd64 -x86"
@@ -19,8 +21,6 @@ RESTRICT="!test? ( test )"
 DEPEND="sys-apps/hwloc:="
 RDEPEND="${DEPEND}"
 
-S="${WORKDIR}/${PN}-${MY_PV}"
-
 pkg_pretend() {
 	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 }

diff --git a/dev-cpp/kokkos/kokkos-4.3.1.ebuild b/dev-cpp/kokkos/kokkos-4.3.1.ebuild
index d97010cc25f9..b294548bebab 100644
--- a/dev-cpp/kokkos/kokkos-4.3.1.ebuild
+++ b/dev-cpp/kokkos/kokkos-4.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -10,6 +10,8 @@ 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"
 
+S="${WORKDIR}/${PN}-${MY_PV}"
+
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="amd64 -x86"
@@ -19,8 +21,6 @@ RESTRICT="!test? ( test )"
 DEPEND="sys-apps/hwloc:="
 RDEPEND="${DEPEND}"
 
-S="${WORKDIR}/${PN}-${MY_PV}"
-
 pkg_pretend() {
 	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 }

diff --git a/dev-cpp/kokkos/kokkos-4.6.2.ebuild b/dev-cpp/kokkos/kokkos-4.6.2.ebuild
index 2cd725703e2c..94f3a9eec9e9 100644
--- a/dev-cpp/kokkos/kokkos-4.6.2.ebuild
+++ b/dev-cpp/kokkos/kokkos-4.6.2.ebuild
@@ -10,6 +10,8 @@ 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"
 
+S="${WORKDIR}/${PN}-${MY_PV}"
+
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 -x86"
@@ -19,8 +21,6 @@ RESTRICT="!test? ( test )"
 DEPEND="sys-apps/hwloc:="
 RDEPEND="${DEPEND}"
 
-S="${WORKDIR}/${PN}-${MY_PV}"
-
 pkg_pretend() {
 	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 }

diff --git a/dev-cpp/kokkos/kokkos-9999.ebuild b/dev-cpp/kokkos/kokkos-9999.ebuild
index aeea53f0b27f..3697596a5038 100644
--- a/dev-cpp/kokkos/kokkos-9999.ebuild
+++ b/dev-cpp/kokkos/kokkos-9999.ebuild
@@ -11,7 +11,6 @@ HOMEPAGE="https://github.com/kokkos"
 if [[ ${PV} = *9999* ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/kokkos/kokkos.git"
-	SRC_URI=""
 else
 	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"
@@ -27,8 +26,6 @@ RESTRICT="!test? ( test )"
 DEPEND="sys-apps/hwloc:="
 RDEPEND="${DEPEND}"
 
-S="${WORKDIR}/${PN}-${MY_PV}"
-
 pkg_pretend() {
 	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 }


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2025-07-15 22:18 Matthias Maier
  0 siblings, 0 replies; 35+ messages in thread
From: Matthias Maier @ 2025-07-15 22:18 UTC (permalink / raw
  To: gentoo-commits

commit:     37e9718c1d0fdafa06f34e1d93380d4dd0e8e695
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 15 20:40:52 2025 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Tue Jul 15 22:05:48 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37e9718c

dev-cpp/kokkos: add 4.6.2

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 dev-cpp/kokkos/Manifest            |  1 +
 dev-cpp/kokkos/kokkos-4.6.2.ebuild | 56 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/dev-cpp/kokkos/Manifest b/dev-cpp/kokkos/Manifest
index 9ed03b5fd146..26cc03fc5274 100644
--- a/dev-cpp/kokkos/Manifest
+++ b/dev-cpp/kokkos/Manifest
@@ -1,2 +1,3 @@
 DIST kokkos-4.0.1.tar.gz 2322402 BLAKE2B a4aba2f7ffe7b7c93051ad65d398f442b753975eceb3f83ed1bff0b8c468e4ffdcb6437989e740c65fc550f17ef8ddf78ca50ca881d3953f886309dc7d6fc597 SHA512 cf6742f4be777b52673858b49cf68fdf335e760509688483e62ef41af5026070f69dcf39d010134c85dc6c4868f82a38900872be11ed43190432c8530b90deee
 DIST kokkos-4.3.1.tar.gz 2431142 BLAKE2B 158ceea3c62449f386613b17e996e4d11e9b95c38a92f69fb3c487b90cf5f07dffdafb6ee0a37eff5299e7d1db50efaed4b26b9baebeeea9d675d0d98dd420e4 SHA512 8180ecdec2f0a6167a85dd1eb268996b0310e82098f2329eccf658aff90118a7c85c2f7607984602de2ca48dc45c1dbf30a4843b35c42590e58d4b03beff474a
+DIST kokkos-4.6.2.tar.gz 2477557 BLAKE2B 3d8a93ca8e27bc0a3a5542680b0a2daf7ca862826a1a45973012f09a6f0a39938628efdb532bb2d013cb669b912785eac12bcf1b17712cb3e098106e858f3fe3 SHA512 bef5afc0009d6e3ac555dbaebc471fe0823ac1d1add79dcacbed82bee4d2a9a34cf4342fbef8fd00beefc6bd0a2f569e9f0cbe987ec60d087fde803479eff426

diff --git a/dev-cpp/kokkos/kokkos-4.6.2.ebuild b/dev-cpp/kokkos/kokkos-4.6.2.ebuild
new file mode 100644
index 000000000000..2cd725703e2c
--- /dev/null
+++ b/dev-cpp/kokkos/kokkos-4.6.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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
+}


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2025-07-15 22:18 Matthias Maier
  0 siblings, 0 replies; 35+ messages in thread
From: Matthias Maier @ 2025-07-15 22:18 UTC (permalink / raw
  To: gentoo-commits

commit:     af8bd42ae68d15dae98e15556829519ff16e2cba
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 15 22:12:40 2025 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Tue Jul 15 22:17:27 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af8bd42a

dev-cpp/kokkos: synchronize 4.6.2 and 9999 ebuild

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 dev-cpp/kokkos/kokkos-4.6.2.ebuild | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/dev-cpp/kokkos/kokkos-4.6.2.ebuild b/dev-cpp/kokkos/kokkos-4.6.2.ebuild
index 94f3a9eec9e9..3697596a5038 100644
--- a/dev-cpp/kokkos/kokkos-4.6.2.ebuild
+++ b/dev-cpp/kokkos/kokkos-4.6.2.ebuild
@@ -7,14 +7,19 @@ 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"
 
-S="${WORKDIR}/${PN}-${MY_PV}"
+if [[ ${PV} = *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/kokkos/kokkos.git"
+else
+	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"
+	S="${WORKDIR}/${PN}-${MY_PV}"
+	KEYWORDS="~amd64 -x86"
+fi
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 -x86"
 IUSE="+openmp test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2025-07-16 22:50 Matthias Maier
  0 siblings, 0 replies; 35+ messages in thread
From: Matthias Maier @ 2025-07-16 22:50 UTC (permalink / raw
  To: gentoo-commits

commit:     0bd12f44a35353bbdf979ebc4cc32979487e82ad
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 16 22:11:49 2025 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Wed Jul 16 22:18:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bd12f44

dev-cpp/kokkos: switch to subslots tracking version number

Let us not assume any ABI stability between versions. Thus, add subslots
to cleanly force a rebuild of reverse dependencies.

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 dev-cpp/kokkos/{kokkos-4.0.1.ebuild => kokkos-4.0.1-r1.ebuild} | 2 +-
 dev-cpp/kokkos/{kokkos-4.3.1.ebuild => kokkos-4.3.1-r1.ebuild} | 2 +-
 dev-cpp/kokkos/{kokkos-4.6.2.ebuild => kokkos-4.6.2-r1.ebuild} | 2 +-
 dev-cpp/kokkos/kokkos-9999.ebuild                              | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-cpp/kokkos/kokkos-4.0.1.ebuild b/dev-cpp/kokkos/kokkos-4.0.1-r1.ebuild
similarity index 98%
rename from dev-cpp/kokkos/kokkos-4.0.1.ebuild
rename to dev-cpp/kokkos/kokkos-4.0.1-r1.ebuild
index b294548bebab..a0af3b2e9bb1 100644
--- a/dev-cpp/kokkos/kokkos-4.0.1.ebuild
+++ b/dev-cpp/kokkos/kokkos-4.0.1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P
 S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="BSD"
-SLOT="0"
+SLOT="0/${PV}"
 KEYWORDS="amd64 -x86"
 IUSE="+openmp test"
 RESTRICT="!test? ( test )"

diff --git a/dev-cpp/kokkos/kokkos-4.3.1.ebuild b/dev-cpp/kokkos/kokkos-4.3.1-r1.ebuild
similarity index 98%
rename from dev-cpp/kokkos/kokkos-4.3.1.ebuild
rename to dev-cpp/kokkos/kokkos-4.3.1-r1.ebuild
index b294548bebab..a0af3b2e9bb1 100644
--- a/dev-cpp/kokkos/kokkos-4.3.1.ebuild
+++ b/dev-cpp/kokkos/kokkos-4.3.1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P
 S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="BSD"
-SLOT="0"
+SLOT="0/${PV}"
 KEYWORDS="amd64 -x86"
 IUSE="+openmp test"
 RESTRICT="!test? ( test )"

diff --git a/dev-cpp/kokkos/kokkos-4.6.2.ebuild b/dev-cpp/kokkos/kokkos-4.6.2-r1.ebuild
similarity index 98%
rename from dev-cpp/kokkos/kokkos-4.6.2.ebuild
rename to dev-cpp/kokkos/kokkos-4.6.2-r1.ebuild
index 3697596a5038..8ce84df4f22b 100644
--- a/dev-cpp/kokkos/kokkos-4.6.2.ebuild
+++ b/dev-cpp/kokkos/kokkos-4.6.2-r1.ebuild
@@ -19,7 +19,7 @@ else
 fi
 
 LICENSE="BSD"
-SLOT="0"
+SLOT="0/${PV}"
 IUSE="+openmp test"
 RESTRICT="!test? ( test )"
 

diff --git a/dev-cpp/kokkos/kokkos-9999.ebuild b/dev-cpp/kokkos/kokkos-9999.ebuild
index 3697596a5038..8ce84df4f22b 100644
--- a/dev-cpp/kokkos/kokkos-9999.ebuild
+++ b/dev-cpp/kokkos/kokkos-9999.ebuild
@@ -19,7 +19,7 @@ else
 fi
 
 LICENSE="BSD"
-SLOT="0"
+SLOT="0/${PV}"
 IUSE="+openmp test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2025-07-16 22:50 Matthias Maier
  0 siblings, 0 replies; 35+ messages in thread
From: Matthias Maier @ 2025-07-16 22:50 UTC (permalink / raw
  To: gentoo-commits

commit:     f77a9aaf8cc62058a5a5fe8c9c305fbf34d43121
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 16 22:07:42 2025 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Wed Jul 16 22:18:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f77a9aaf

dev-cpp/kokkos: keyword 4.6.2 for ~x86

 - verified in an x86 lxc container that we do indeed compile.

 - sci-libs/trilinos, which internally bundles kokkos is keyworded for
   ~x86 as well.

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 dev-cpp/kokkos/kokkos-4.6.2-r1.ebuild | 2 +-
 dev-cpp/kokkos/kokkos-9999.ebuild     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/kokkos/kokkos-4.6.2-r1.ebuild b/dev-cpp/kokkos/kokkos-4.6.2-r1.ebuild
index 8ce84df4f22b..ee6ccf7fff8b 100644
--- a/dev-cpp/kokkos/kokkos-4.6.2-r1.ebuild
+++ b/dev-cpp/kokkos/kokkos-4.6.2-r1.ebuild
@@ -15,7 +15,7 @@ else
 	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"
 	S="${WORKDIR}/${PN}-${MY_PV}"
-	KEYWORDS="~amd64 -x86"
+	KEYWORDS="~amd64 ~x86"
 fi
 
 LICENSE="BSD"

diff --git a/dev-cpp/kokkos/kokkos-9999.ebuild b/dev-cpp/kokkos/kokkos-9999.ebuild
index 8ce84df4f22b..ee6ccf7fff8b 100644
--- a/dev-cpp/kokkos/kokkos-9999.ebuild
+++ b/dev-cpp/kokkos/kokkos-9999.ebuild
@@ -15,7 +15,7 @@ else
 	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"
 	S="${WORKDIR}/${PN}-${MY_PV}"
-	KEYWORDS="~amd64 -x86"
+	KEYWORDS="~amd64 ~x86"
 fi
 
 LICENSE="BSD"


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2025-08-09  7:43 Matthias Maier
  0 siblings, 0 replies; 35+ messages in thread
From: Matthias Maier @ 2025-08-09  7:43 UTC (permalink / raw
  To: gentoo-commits

commit:     0bb285ec75ca3911e299cda045f130b7c4250bd1
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  9 07:27:37 2025 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sat Aug  9 07:32:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bb285ec

dev-cpp/kokkos: add USE=cuda support

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 dev-cpp/kokkos/kokkos-4.6.2-r2.ebuild | 113 ++++++++++++++++++++++++++++++++++
 dev-cpp/kokkos/kokkos-9999.ebuild     |  60 ++++++++++++++++--
 2 files changed, 169 insertions(+), 4 deletions(-)

diff --git a/dev-cpp/kokkos/kokkos-4.6.2-r2.ebuild b/dev-cpp/kokkos/kokkos-4.6.2-r2.ebuild
new file mode 100644
index 000000000000..95f7a4721574
--- /dev/null
+++ b/dev-cpp/kokkos/kokkos-4.6.2-r2.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake cuda toolchain-funcs
+
+DESCRIPTION="C++ Performance Portability Programming EcoSystem"
+HOMEPAGE="https://github.com/kokkos"
+
+if [[ ${PV} = *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/kokkos/kokkos.git"
+else
+	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"
+	S="${WORKDIR}/${PN}-${MY_PV}"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+IUSE="cuda +openmp test"
+RESTRICT="!test? ( test )"
+
+DEPEND="sys-apps/hwloc:="
+RDEPEND="${DEPEND}"
+
+#
+# Try to translate the "${CUDAARCHS}" number coming from __nvcc_device_query
+# into an option string that Kokkos' CMake configuration understands:
+#
+kokkos_arch_option() {
+	case "${1}" in
+		3[0257]) echo "-DKokkos_ARCH_KEPLER${1}=ON"     ;;
+		5[023])  echo "-DKokkos_ARCH_MAXWELL${1}=ON"    ;;
+		6[01])   echo "-DKokkos_ARCH_PASCAL${1}=ON"     ;;
+		7[02])   echo "-DKokkos_ARCH_VOLTA${1}=ON"      ;;
+		75)      echo "-DKokkos_ARCH_TURING${1}=ON"     ;;
+		8[06])   echo "-DKokkos_ARCH_AMPERE${1}=ON"     ;;
+		89)      echo "-DKokkos_ARCH_ADA${1}=ON"        ;;
+		90)      echo "-DKokkos_ARCH_HOPPER${1}=ON"     ;;
+		1[02]0)  echo "-DKokkos_ARCH_BLACKWELL${1}=ON"  ;;
+		*)       die "Unknown CUDA architecture »${1}«" ;;
+	esac
+}
+
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_prepare() {
+	cmake_src_prepare
+}
+
+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_ENABLE_CUDA="$(usex cuda)"
+		-DKokkos_HWLOC_DIR="${EPREFIX}/usr"
+		-DKokkos_ENABLE_OPENMP="$(usex openmp)"
+		-DBUILD_SHARED_LIBS=ON
+	)
+
+	if use cuda; then
+		cuda_add_sandbox -w
+
+		if [[ ! -n "${CUDAARCHS}" ]]; then
+			if ! SANDBOX_WRITE=/dev/nvidiactl test -w /dev/nvidiactl ; then
+				eerror
+				eerror "Can not access the GPU at /dev/nvidiactl."
+				eerror "User $(id -nu) is not in the group \"video\"."
+				eerror
+				ewarn
+				ewarn "Can not query the native device. You will need to set one of the"
+				ewarn "supported Kokkos_ARCH_{..} CMake variables, or the CUDAARCHS"
+				ewarn "environment variable to the appropriate architecture by hand..."
+				ewarn
+			else
+				local CUDAARCHS
+				CUDAARCHS="$(__nvcc_device_query || eerror "failed to query the native device")"
+			fi
+		fi
+
+		if [[ -n "${CUDAARCHS}" ]]; then
+			einfo "Building with CUDAARCHS=${CUDAARCHS}"
+			mycmakeargs+=(
+				$(kokkos_arch_option "${CUDAARCHS}")
+			)
+		fi
+	fi
+
+	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
+}

diff --git a/dev-cpp/kokkos/kokkos-9999.ebuild b/dev-cpp/kokkos/kokkos-9999.ebuild
index ee6ccf7fff8b..95f7a4721574 100644
--- a/dev-cpp/kokkos/kokkos-9999.ebuild
+++ b/dev-cpp/kokkos/kokkos-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake toolchain-funcs
+inherit cmake cuda toolchain-funcs
 
 DESCRIPTION="C++ Performance Portability Programming EcoSystem"
 HOMEPAGE="https://github.com/kokkos"
@@ -20,12 +20,31 @@ fi
 
 LICENSE="BSD"
 SLOT="0/${PV}"
-IUSE="+openmp test"
+IUSE="cuda +openmp test"
 RESTRICT="!test? ( test )"
 
 DEPEND="sys-apps/hwloc:="
 RDEPEND="${DEPEND}"
 
+#
+# Try to translate the "${CUDAARCHS}" number coming from __nvcc_device_query
+# into an option string that Kokkos' CMake configuration understands:
+#
+kokkos_arch_option() {
+	case "${1}" in
+		3[0257]) echo "-DKokkos_ARCH_KEPLER${1}=ON"     ;;
+		5[023])  echo "-DKokkos_ARCH_MAXWELL${1}=ON"    ;;
+		6[01])   echo "-DKokkos_ARCH_PASCAL${1}=ON"     ;;
+		7[02])   echo "-DKokkos_ARCH_VOLTA${1}=ON"      ;;
+		75)      echo "-DKokkos_ARCH_TURING${1}=ON"     ;;
+		8[06])   echo "-DKokkos_ARCH_AMPERE${1}=ON"     ;;
+		89)      echo "-DKokkos_ARCH_ADA${1}=ON"        ;;
+		90)      echo "-DKokkos_ARCH_HOPPER${1}=ON"     ;;
+		1[02]0)  echo "-DKokkos_ARCH_BLACKWELL${1}=ON"  ;;
+		*)       die "Unknown CUDA architecture »${1}«" ;;
+	esac
+}
+
 pkg_pretend() {
 	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 }
@@ -34,18 +53,51 @@ pkg_setup() {
 	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 }
 
+src_prepare() {
+	cmake_src_prepare
+}
+
 src_configure() {
 	local mycmakeargs=(
 		-DCMAKE_INSTALL_INCLUDEDIR=include/kokkos
-		-DKokkos_ENABLE_TESTS=$(usex test)
+		-DKokkos_ENABLE_TESTS="$(usex test)"
 		-DKokkos_ENABLE_AGGRESSIVE_VECTORIZATION=ON
 		-DKokkos_ENABLE_SERIAL=ON
 		-DKokkos_ENABLE_HWLOC=ON
+		-DKokkos_ENABLE_CUDA="$(usex cuda)"
 		-DKokkos_HWLOC_DIR="${EPREFIX}/usr"
-		-DKokkos_ENABLE_OPENMP=$(usex openmp)
+		-DKokkos_ENABLE_OPENMP="$(usex openmp)"
 		-DBUILD_SHARED_LIBS=ON
 	)
 
+	if use cuda; then
+		cuda_add_sandbox -w
+
+		if [[ ! -n "${CUDAARCHS}" ]]; then
+			if ! SANDBOX_WRITE=/dev/nvidiactl test -w /dev/nvidiactl ; then
+				eerror
+				eerror "Can not access the GPU at /dev/nvidiactl."
+				eerror "User $(id -nu) is not in the group \"video\"."
+				eerror
+				ewarn
+				ewarn "Can not query the native device. You will need to set one of the"
+				ewarn "supported Kokkos_ARCH_{..} CMake variables, or the CUDAARCHS"
+				ewarn "environment variable to the appropriate architecture by hand..."
+				ewarn
+			else
+				local CUDAARCHS
+				CUDAARCHS="$(__nvcc_device_query || eerror "failed to query the native device")"
+			fi
+		fi
+
+		if [[ -n "${CUDAARCHS}" ]]; then
+			einfo "Building with CUDAARCHS=${CUDAARCHS}"
+			mycmakeargs+=(
+				$(kokkos_arch_option "${CUDAARCHS}")
+			)
+		fi
+	fi
+
 	cmake_src_configure
 }
 


^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/
@ 2025-08-09 19:54 Matthias Maier
  0 siblings, 0 replies; 35+ messages in thread
From: Matthias Maier @ 2025-08-09 19:54 UTC (permalink / raw
  To: gentoo-commits

commit:     db7c930bf1c19c70242f94443925dbe622291c4c
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  9 19:53:14 2025 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sat Aug  9 19:54:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db7c930b

dev-cpp/kokkos: enable CUDA_CONSTEXPR when USE=cuda

This option is required for sci-libs/dealii and other downstream
dependencies. Let us simply enable it unconditionally.

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 dev-cpp/kokkos/kokkos-4.6.2-r2.ebuild | 1 +
 dev-cpp/kokkos/kokkos-9999.ebuild     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/dev-cpp/kokkos/kokkos-4.6.2-r2.ebuild b/dev-cpp/kokkos/kokkos-4.6.2-r2.ebuild
index 95f7a4721574..401c5258f64e 100644
--- a/dev-cpp/kokkos/kokkos-4.6.2-r2.ebuild
+++ b/dev-cpp/kokkos/kokkos-4.6.2-r2.ebuild
@@ -65,6 +65,7 @@ src_configure() {
 		-DKokkos_ENABLE_SERIAL=ON
 		-DKokkos_ENABLE_HWLOC=ON
 		-DKokkos_ENABLE_CUDA="$(usex cuda)"
+		-DKokkos_ENABLE_CUDA_CONSTEXPR="$(usex cuda)"
 		-DKokkos_HWLOC_DIR="${EPREFIX}/usr"
 		-DKokkos_ENABLE_OPENMP="$(usex openmp)"
 		-DBUILD_SHARED_LIBS=ON

diff --git a/dev-cpp/kokkos/kokkos-9999.ebuild b/dev-cpp/kokkos/kokkos-9999.ebuild
index 95f7a4721574..401c5258f64e 100644
--- a/dev-cpp/kokkos/kokkos-9999.ebuild
+++ b/dev-cpp/kokkos/kokkos-9999.ebuild
@@ -65,6 +65,7 @@ src_configure() {
 		-DKokkos_ENABLE_SERIAL=ON
 		-DKokkos_ENABLE_HWLOC=ON
 		-DKokkos_ENABLE_CUDA="$(usex cuda)"
+		-DKokkos_ENABLE_CUDA_CONSTEXPR="$(usex cuda)"
 		-DKokkos_HWLOC_DIR="${EPREFIX}/usr"
 		-DKokkos_ENABLE_OPENMP="$(usex openmp)"
 		-DBUILD_SHARED_LIBS=ON


^ permalink raw reply related	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2025-08-09 19:54 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-27  7:23 [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2025-08-09 19:54 Matthias Maier
2025-08-09  7:43 Matthias Maier
2025-07-16 22:50 Matthias Maier
2025-07-16 22:50 Matthias Maier
2025-07-15 22:18 Matthias Maier
2025-07-15 22:18 Matthias Maier
2025-07-15 22:18 Matthias Maier
2025-07-15 22:18 Matthias Maier
2024-07-04  4:55 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
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-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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox