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 AEBF8138350 for ; Thu, 30 Apr 2020 20:37:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E328EE09F9; Thu, 30 Apr 2020 20:37:56 +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 B4F7FE09F9 for ; Thu, 30 Apr 2020 20:37:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 54ADD34F04C for ; Thu, 30 Apr 2020 20:37:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AD7251DD for ; Thu, 30 Apr 2020 20:37:51 +0000 (UTC) From: "Matthias Maier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthias Maier" Message-ID: <1588279058.8f672be663388bcc425aaaafb61e2799342395ef.tamiko@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/ginkgo/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/ginkgo/Manifest sci-libs/ginkgo/ginkgo-1.1.1.ebuild sci-libs/ginkgo/ginkgo-9999.ebuild sci-libs/ginkgo/metadata.xml X-VCS-Directories: sci-libs/ginkgo/ X-VCS-Committer: tamiko X-VCS-Committer-Name: Matthias Maier X-VCS-Revision: 8f672be663388bcc425aaaafb61e2799342395ef X-VCS-Branch: master Date: Thu, 30 Apr 2020 20:37:51 +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: 92a1faaa-5514-40ec-8339-c2c5669e91eb X-Archives-Hash: cc6f42033541f1e21144bb3ac4d15e04 commit: 8f672be663388bcc425aaaafb61e2799342395ef Author: Matthias Maier gentoo org> AuthorDate: Thu Apr 30 20:29:32 2020 +0000 Commit: Matthias Maier gentoo org> CommitDate: Thu Apr 30 20:37:38 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f672be6 sci-libs/ginkgo: new package This is a future reverse dependency of sci-libs/dealii Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Matthias Maier gentoo.org> sci-libs/ginkgo/Manifest | 1 + sci-libs/ginkgo/ginkgo-1.1.1.ebuild | 44 +++++++++++++++++++++++++++++++++++ sci-libs/ginkgo/ginkgo-9999.ebuild | 46 +++++++++++++++++++++++++++++++++++++ sci-libs/ginkgo/metadata.xml | 22 ++++++++++++++++++ 4 files changed, 113 insertions(+) diff --git a/sci-libs/ginkgo/Manifest b/sci-libs/ginkgo/Manifest new file mode 100644 index 00000000000..935ba5909f2 --- /dev/null +++ b/sci-libs/ginkgo/Manifest @@ -0,0 +1 @@ +DIST ginkgo-1.1.1.tar.gz 11787690 BLAKE2B 75c2c9b2d1e9ba00e3b0a20859af621cdf4aefe7c6e5ec9c7fc34a5368e5bee70d7d2b86ed9b2d9075ab7cc1a3334434fe20329d780f693be45fd7707cdbe27f SHA512 ab8f2d36453f4e60a4e0a13eddc4a137006c1cc6c9c0db00997dd721dfc06f4401109c5a22ba23a838206cff576d5041d06edaed8823006e69f11e360d1dadce diff --git a/sci-libs/ginkgo/ginkgo-1.1.1.ebuild b/sci-libs/ginkgo/ginkgo-1.1.1.ebuild new file mode 100644 index 00000000000..a3c8615833d --- /dev/null +++ b/sci-libs/ginkgo/ginkgo-1.1.1.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 + +DESCRIPTION="Numerical linear algebra software package" +HOMEPAGE="https://ginkgo-project.github.io/" + +SRC_URI="https://github.com/${PN}-project/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64 ~x86" + +LICENSE="BSD-with-attribution" +SLOT="0" +IUSE="" + +# TODO: add slepc use flag once slepc is packaged for gentoo-science +REQUIRED_USE="" + +RDEPEND="" + +DEPEND="" + +src_prepare() { + sed -i \ + -e "s#\"lib\"#\"$(get_libdir)\"#g" \ + -e "s#\"lib/#\"$(get_libdir)/#g" \ + cmake/install_helpers.cmake || die "sed failed" + + cmake-utils_src_prepare +} + +src_configure() { + + local mycmakeargs=( + -DGINKGO_DEVEL_TOOLS=OFF + -DGINKGO_BUILD_TESTS=OFF + -DGINKGO_BUILD_BENCHMARKS=OFF + -DGINKGO_BUILD_REFERENCE=ON + -DGINKGO_BUILD_OMP=ON + ) + cmake-utils_src_configure +} diff --git a/sci-libs/ginkgo/ginkgo-9999.ebuild b/sci-libs/ginkgo/ginkgo-9999.ebuild new file mode 100644 index 00000000000..3b9102d2165 --- /dev/null +++ b/sci-libs/ginkgo/ginkgo-9999.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils + +DESCRIPTION="Numerical linear algebra software package" +HOMEPAGE="https://ginkgo-project.github.io/" + +inherit git-r3 +EGIT_REPO_URI="https://github.com/ginkgo-project/ginkgo" +SRC_URI="" +KEYWORDS="" + +LICENSE="BSD-with-attribution" +SLOT="0" +IUSE="" + +# TODO: add slepc use flag once slepc is packaged for gentoo-science +REQUIRED_USE="" + +RDEPEND="" + +DEPEND="" + +src_prepare() { + sed -i \ + -e "s#\"lib\"#\"$(get_libdir)\"#g" \ + -e "s#\"lib/#\"$(get_libdir)/#g" \ + cmake/install_helpers.cmake || die "sed failed" + + cmake-utils_src_prepare +} + +src_configure() { + + local mycmakeargs=( + -DGINKGO_DEVEL_TOOLS=OFF + -DGINKGO_BUILD_TESTS=OFF + -DGINKGO_BUILD_BENCHMARKS=OFF + -DGINKGO_BUILD_REFERENCE=ON + -DGINKGO_BUILD_OMP=ON + ) + cmake-utils_src_configure +} diff --git a/sci-libs/ginkgo/metadata.xml b/sci-libs/ginkgo/metadata.xml new file mode 100644 index 00000000000..e67b3457031 --- /dev/null +++ b/sci-libs/ginkgo/metadata.xml @@ -0,0 +1,22 @@ + + + + + tamiko@gentoo.org + Matthias Maier + + + sci@gentoo.org + Gentoo Science Project + + + Ginkgo is a high-performance linear algebra library for manycore + systems, with a focus on sparse solution of linear systems. It is + implemented using modern C++, with GPU kernels implemented in CUDA. + + + + + ginkgo-project/ginkgo + +