diff options
author | Christoph Junghans <junghans@gentoo.org> | 2020-05-13 06:40:48 -0600 |
---|---|---|
committer | Christoph Junghans <junghans@gentoo.org> | 2020-05-13 06:40:48 -0600 |
commit | 00a1312ae7e430e0bf4bddda1048ce2f3abd8914 (patch) | |
tree | e190f2db500cc68aa7b7cff33345b8ee4765859e /dev-cpp/kokkos | |
parent | dev-perl/Cache-Memcached-Fast: Bump to version 0.260.0 (diff) | |
download | gentoo-00a1312ae7e430e0bf4bddda1048ce2f3abd8914.tar.gz gentoo-00a1312ae7e430e0bf4bddda1048ce2f3abd8914.tar.bz2 gentoo-00a1312ae7e430e0bf4bddda1048ce2f3abd8914.zip |
dev-cpp/kokkos: version bump
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Christoph Junghans <junghans@gentoo.org>
Diffstat (limited to 'dev-cpp/kokkos')
-rw-r--r-- | dev-cpp/kokkos/Manifest | 1 | ||||
-rw-r--r-- | dev-cpp/kokkos/kokkos-3.1.01.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-cpp/kokkos/Manifest b/dev-cpp/kokkos/Manifest index 20fd3f08d3ba..d3bb82f1710a 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 000000000000..1707ae8abba0 --- /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 +} |