From 623ee73d661e5ed8475cb264511f683407d87365 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 12 Apr 2020 03:41:30 +0100 Subject: gentoo Easter resync : 12.04.2020 --- dev-cpp/kokkos/Manifest | 3 +++ dev-cpp/kokkos/kokkos-3.0.00.ebuild | 45 +++++++++++++++++++++++++++++++++++++ dev-cpp/kokkos/metadata.xml | 8 +++++++ 3 files changed, 56 insertions(+) create mode 100644 dev-cpp/kokkos/Manifest create mode 100644 dev-cpp/kokkos/kokkos-3.0.00.ebuild create mode 100644 dev-cpp/kokkos/metadata.xml (limited to 'dev-cpp/kokkos') diff --git a/dev-cpp/kokkos/Manifest b/dev-cpp/kokkos/Manifest new file mode 100644 index 000000000000..7be27615bb04 --- /dev/null +++ b/dev-cpp/kokkos/Manifest @@ -0,0 +1,3 @@ +DIST kokkos-3.0.00.tar.gz 1923287 BLAKE2B 4a2935e9388b3d577d6ce8678cad37830970222e6ce8a9c3db67633cb521440f14fdb380f03d3c77cd5ade85abe94aef97e9cc4949cc3a140fae958e0c15fff8 SHA512 c9daf62a2c92462c815aa241934aca5720bac8f88195635ae5a3ff4111d289a48898d32358b91e120756d3412820050297a76f44828f4cbc0b2b837a736e84aa +EBUILD kokkos-3.0.00.ebuild 1024 BLAKE2B 1fb461017af3ce32385a579a9551b49bf8b8d98962f158c316562e2c8123ea6b1237585ac11ae2104354a1580ca9bef66dbbbd0fbda83c00de1b75b874742f32 SHA512 eda4aad0df902b602e470469c7c1127c1467cbdd48dc5cc9184cc2636bd86f872dbfdd6dbb6b8f793797342fc8f1901dc32a4a87e364017a9e91cf075a41b118 +MISC metadata.xml 253 BLAKE2B 58dd329781b98af52e191fbc6b1de24c80612678e467d126dc77ff0559c12eb8fb48546ef7a240f64fadbe289039adfb87dd2b0c8ae01bd9210bac81b2b385bf SHA512 a931cf8d295191e246377a75882955524e9e3a86aeacf4a5067c0025b6a03d608cdfa6763cfc53ba4a00cd6ee4b7db42d1a042dda5e74e578047ad42ad92be50 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 000000000000..1707ae8abba0 --- /dev/null +++ b/dev-cpp/kokkos/kokkos-3.0.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 +} diff --git a/dev-cpp/kokkos/metadata.xml b/dev-cpp/kokkos/metadata.xml new file mode 100644 index 000000000000..ef6b5dcd53aa --- /dev/null +++ b/dev-cpp/kokkos/metadata.xml @@ -0,0 +1,8 @@ + + + + + junghans@gentoo.org + Christoph Junghans + + -- cgit v1.2.3