From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 65E28138350 for ; Sat, 18 Apr 2020 04:22:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 82EACE08F0; Sat, 18 Apr 2020 04:22:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 55857E08F0 for ; Sat, 18 Apr 2020 04:22:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5A7A234F19E for ; Sat, 18 Apr 2020 04:22:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F1E241C3 for ; Sat, 18 Apr 2020 04:22:21 +0000 (UTC) From: "Christoph Junghans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Christoph Junghans" Message-ID: <1587183716.ea22e4e3b6f583f84f19ae96c18b467c52619842.junghans@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/kokkos/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-cpp/kokkos/Manifest dev-cpp/kokkos/kokkos-3.1.00.ebuild X-VCS-Directories: dev-cpp/kokkos/ X-VCS-Committer: junghans X-VCS-Committer-Name: Christoph Junghans X-VCS-Revision: ea22e4e3b6f583f84f19ae96c18b467c52619842 X-VCS-Branch: master Date: Sat, 18 Apr 2020 04:22:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6e74b951-9296-4fd5-8a6e-8a6a50fd1deb X-Archives-Hash: d3a5143df5b0a5014fdda801aa48f75d commit: ea22e4e3b6f583f84f19ae96c18b467c52619842 Author: Christoph Junghans gentoo org> AuthorDate: Sat Apr 18 04:21:56 2020 +0000 Commit: Christoph Junghans gentoo 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 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 +}