summaryrefslogtreecommitdiff
path: root/dev-cpp/kokkos
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-24 00:56:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-24 00:56:11 +0000
commita2014cddc474ddf247d63fa74aac9a182a2bcefc (patch)
treef4a72c4d2dbe2dce9b029570659db8c778fd5877 /dev-cpp/kokkos
parenta0a719bf17efc5be8bd5caa7abb9d2b199ea8231 (diff)
gentoo auto-resync : 24:01:2023 - 00:56:11
Diffstat (limited to 'dev-cpp/kokkos')
-rw-r--r--dev-cpp/kokkos/Manifest4
-rw-r--r--dev-cpp/kokkos/kokkos-3.7.1.ebuild56
-rw-r--r--dev-cpp/kokkos/metadata.xml4
3 files changed, 63 insertions, 1 deletions
diff --git a/dev-cpp/kokkos/Manifest b/dev-cpp/kokkos/Manifest
index e083a43ec025..c9d2fa04c047 100644
--- a/dev-cpp/kokkos/Manifest
+++ b/dev-cpp/kokkos/Manifest
@@ -1,5 +1,7 @@
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
EBUILD kokkos-3.1.01-r1.ebuild 1263 BLAKE2B 93ef4adfa0b71df2e57d324007d80f3617ca325b5e563eff9366b3204a69cf42ca1f83b65aebcde4e1022686d0c69097a9f2255308ec81ae0062820c81798b20 SHA512 286c9d2071ea2deb1d9f6ac1cb653eb710e2a45249cfc9c680313f13e93d754a2bd359ae28b52de7e6f6aadd06fefd146833b31cc3be31dabb4340816d3ddfb2
EBUILD kokkos-3.7.0.ebuild 1286 BLAKE2B 01a2b841849d2b3e6e00829f779dcce4c9bd78059b7b3fb7a05c3c84e3bbaa6fc08ed27e4e6925e86dd01dadd711c438a42b79bdfe6be75865117323c944c282 SHA512 7efa2612300f61e3def706fc6fdcfe4c4c2949c47ad6d8e23005f90b24e00110f4074e281625d94a4b82d839b1dad67f1647e88530303463cf2729a3120c484b
-MISC metadata.xml 254 BLAKE2B a78564cb4b2bc87f6bba710cf53a3cb19dbd43363361b936e2041b564a2840172c4bbf1e42a5fb1aff7adb5a4843c36cb4e53a75989137343cfea0655add5a19 SHA512 83ce2926ad7bdadbf376ce803de60225491e26c23739394f46787d443648f747b84c962193b85230d22e936534c0d5d2ca7a759f33a1fb22c2d0ceeb0ea1f2ab
+EBUILD kokkos-3.7.1.ebuild 1308 BLAKE2B dc5d1d7251615092dd920c516c60ee137a88f7813bb6cd334ed73814bad353e428f2270d02089f2ae1c19ce4c508fe914b62fe40ff22d97d21b0d379bdebc521 SHA512 47b34bb19939f7600a79fa5bd8e76eb90338c49c2cb184e36c059034ad71a35a42f0d034b8ee7e5d187bbddfeea3ec725647cc20577b63e028d2d0ea42d5740e
+MISC metadata.xml 362 BLAKE2B 42b6ce0648b9d2ec257dac9edb312aea7d13428e4989a5d627a501b7b572e0a2a928f07a8b5fec068b8e4f537ee44cec3f7c2f220b56872fa965728e86663723 SHA512 68a5381258ef869b7fe17ed928d5ebb2994ca55f9f543a9e9690c5eb7512f0cc2051389eda82492a7ed3d2888df17fc8df7989aad36fc960d07e8a60e104da79
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
+}
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>