* [gentoo-commits] repo/gentoo:master commit in: sci-libs/ginkgo/
@ 2020-04-30 20:37 Matthias Maier
0 siblings, 0 replies; 11+ messages in thread
From: Matthias Maier @ 2020-04-30 20:37 UTC (permalink / raw
To: gentoo-commits
commit: 8f672be663388bcc425aaaafb61e2799342395ef
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 30 20:29:32 2020 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> 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 <tamiko <AT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>tamiko@gentoo.org</email>
+ <name>Matthias Maier</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ 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.
+ </longdescription>
+ <use>
+ </use>
+ <upstream>
+ <remote-id type="github">ginkgo-project/ginkgo</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/ginkgo/
@ 2021-09-01 21:49 Matthias Maier
0 siblings, 0 replies; 11+ messages in thread
From: Matthias Maier @ 2021-09-01 21:49 UTC (permalink / raw
To: gentoo-commits
commit: ee9e9104cc280f261504e2506d9be3cea2b73610
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 1 20:19:56 2021 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Wed Sep 1 21:49:12 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee9e9104
sci-libs/ginkgo: version bump to 1.4.0
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
sci-libs/ginkgo/Manifest | 1 +
sci-libs/ginkgo/ginkgo-1.4.0.ebuild | 55 +++++++++++++++++++++++++++++++++++++
2 files changed, 56 insertions(+)
diff --git a/sci-libs/ginkgo/Manifest b/sci-libs/ginkgo/Manifest
index 935ba5909f2..0300862dce6 100644
--- a/sci-libs/ginkgo/Manifest
+++ b/sci-libs/ginkgo/Manifest
@@ -1 +1,2 @@
DIST ginkgo-1.1.1.tar.gz 11787690 BLAKE2B 75c2c9b2d1e9ba00e3b0a20859af621cdf4aefe7c6e5ec9c7fc34a5368e5bee70d7d2b86ed9b2d9075ab7cc1a3334434fe20329d780f693be45fd7707cdbe27f SHA512 ab8f2d36453f4e60a4e0a13eddc4a137006c1cc6c9c0db00997dd721dfc06f4401109c5a22ba23a838206cff576d5041d06edaed8823006e69f11e360d1dadce
+DIST ginkgo-1.4.0.tar.gz 2574052 BLAKE2B 99677d9d75831991cac40312095d32c44bef18cd05b120d80fdb9e64ea6dc15796c09b26f35dc8230db6b55c7be4dd76efd6d1cd8ca13c83e1f3087550db0dca SHA512 9bfcb2c415c7a1a70cf8e49f20adf62d02cab83bb23b6fcecfeaeeb322b2d4e1ad8d8fa6582735073753f9a05eac8688b9bd1ff1d4203957c1a80702d117e807
diff --git a/sci-libs/ginkgo/ginkgo-1.4.0.ebuild b/sci-libs/ginkgo/ginkgo-1.4.0.ebuild
new file mode 100644
index 00000000000..56b629f829f
--- /dev/null
+++ b/sci-libs/ginkgo/ginkgo-1.4.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2021 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/"
+
+if [[ ${PV} = *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/ginkgo-project/ginkgo"
+ SRC_URI=""
+ inherit git-r3
+else
+ SRC_URI="https://github.com/${PN}-project/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD-with-attribution"
+SLOT="0"
+IUSE="+openmp cuda"
+
+RDEPEND="
+ cuda? ( dev-util/nvidia-cuda-sdk )"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ if [[ ${MERGE_TYPE} != binary ]] && \
+ use openmp && ! tc-has-openmp ; then
+ die "Need an OpenMP capable compiler"
+ fi
+}
+
+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="$(usex openmp)"
+ -DGINKGO_BUILD_CUDA="$(usex cuda)"
+ )
+ cmake-utils_src_configure
+}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/ginkgo/
@ 2021-10-06 8:33 Jakov Smolić
0 siblings, 0 replies; 11+ messages in thread
From: Jakov Smolić @ 2021-10-06 8:33 UTC (permalink / raw
To: gentoo-commits
commit: bdbf129e37f7fe222719a3df2341f48d6f576e81
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 6 08:15:27 2021 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Wed Oct 6 08:31:39 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdbf129e
sci-libs/ginkgo: Port to EAPI-8 and cmake.eclass
Closes: https://bugs.gentoo.org/811957
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
sci-libs/ginkgo/ginkgo-1.4.0-r1.ebuild | 55 ++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
diff --git a/sci-libs/ginkgo/ginkgo-1.4.0-r1.ebuild b/sci-libs/ginkgo/ginkgo-1.4.0-r1.ebuild
new file mode 100644
index 00000000000..84dae4aa427
--- /dev/null
+++ b/sci-libs/ginkgo/ginkgo-1.4.0-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Numerical linear algebra software package"
+HOMEPAGE="https://ginkgo-project.github.io/"
+
+if [[ ${PV} = *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/ginkgo-project/ginkgo"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/${PN}-project/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD-with-attribution"
+SLOT="0"
+IUSE="+openmp cuda"
+
+RDEPEND="
+ cuda? ( dev-util/nvidia-cuda-sdk )
+"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ if [[ ${MERGE_TYPE} != binary ]] && \
+ use openmp && ! tc-has-openmp ; then
+ die "Need an OpenMP capable compiler"
+ fi
+}
+
+src_prepare() {
+ sed -i \
+ -e "s#\"lib\"#\"$(get_libdir)\"#g" \
+ -e "s#\"lib/#\"$(get_libdir)/#g" \
+ cmake/install_helpers.cmake || die "sed failed"
+
+ cmake_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=$(usex openmp)
+ -DGINKGO_BUILD_CUDA=$(usex cuda)
+ )
+ cmake_src_configure
+}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/ginkgo/
@ 2021-10-06 8:33 Jakov Smolić
0 siblings, 0 replies; 11+ messages in thread
From: Jakov Smolić @ 2021-10-06 8:33 UTC (permalink / raw
To: gentoo-commits
commit: 3431a557b857bfd5d3634ce2b709c7afd46a2b8f
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 6 08:15:43 2021 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Wed Oct 6 08:31:40 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3431a557
sci-libs/ginkgo: Remove broken live ebuild
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
sci-libs/ginkgo/ginkgo-9999.ebuild | 59 --------------------------------------
1 file changed, 59 deletions(-)
diff --git a/sci-libs/ginkgo/ginkgo-9999.ebuild b/sci-libs/ginkgo/ginkgo-9999.ebuild
deleted file mode 100644
index 6d9b7f42768..00000000000
--- a/sci-libs/ginkgo/ginkgo-9999.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2021 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/"
-
-if [[ ${PV} = *9999* ]]; then
- EGIT_REPO_URI="https://github.com/ginkgo-project/ginkgo"
- SRC_URI=""
- inherit git-r3
-else
- SRC_URI="https://github.com/${PN}-project/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="BSD-with-attribution"
-SLOT="0"
-IUSE="+openmp cuda"
-
-RDEPEND="
- cuda? ( dev-util/nvidia-cuda-sdk )"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.1.1-set_soname.patch
-)
-
-pkg_setup() {
- if [[ ${MERGE_TYPE} != binary ]] && \
- use openmp && ! tc-has-openmp ; then
- die "Need an OpenMP capable compiler"
- fi
-}
-
-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="$(usex openmp)"
- -DGINKGO_BUILD_CUDA="$(usex cuda)"
- )
- cmake-utils_src_configure
-}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/ginkgo/
@ 2021-12-20 10:57 David Seifert
0 siblings, 0 replies; 11+ messages in thread
From: David Seifert @ 2021-12-20 10:57 UTC (permalink / raw
To: gentoo-commits
commit: 891b8db9f284f482e005ce07a7674b9601290eb2
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 20 10:57:36 2021 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Dec 20 10:57:36 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=891b8db9
sci-libs/ginkgo: dep on dev-util/nvidia-cuda-toolkit
Signed-off-by: David Seifert <soap <AT> gentoo.org>
sci-libs/ginkgo/{ginkgo-1.4.0-r1.ebuild => ginkgo-1.4.0-r2.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/ginkgo/ginkgo-1.4.0-r1.ebuild b/sci-libs/ginkgo/ginkgo-1.4.0-r2.ebuild
similarity index 96%
rename from sci-libs/ginkgo/ginkgo-1.4.0-r1.ebuild
rename to sci-libs/ginkgo/ginkgo-1.4.0-r2.ebuild
index 84dae4aa427a..0752e5eefc9a 100644
--- a/sci-libs/ginkgo/ginkgo-1.4.0-r1.ebuild
+++ b/sci-libs/ginkgo/ginkgo-1.4.0-r2.ebuild
@@ -21,7 +21,7 @@ SLOT="0"
IUSE="+openmp cuda"
RDEPEND="
- cuda? ( dev-util/nvidia-cuda-sdk )
+ cuda? ( dev-util/nvidia-cuda-toolkit )
"
DEPEND="${RDEPEND}"
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/ginkgo/
@ 2021-12-21 1:37 Sam James
0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2021-12-21 1:37 UTC (permalink / raw
To: gentoo-commits
commit: 97929bfb6438ddaeaddf687b2d0efb5826ea23ef
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 21 01:35:28 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 21 01:36:59 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97929bfb
sci-libs/ginkgo: fix automagic hwloc dependency
It'll also try to download it if it can't find it on the system,
so a revbump is worth it just for that as on some platforms
we don't have network-sandbox (nor do we require it be used
by users, even though they definitely should use it).
But mainly for the automagic dep.
Closes: https://bugs.gentoo.org/811384
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../ginkgo/{ginkgo-1.4.0-r2.ebuild => ginkgo-1.4.0-r3.ebuild} | 9 +++++----
sci-libs/ginkgo/metadata.xml | 1 +
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/sci-libs/ginkgo/ginkgo-1.4.0-r2.ebuild b/sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild
similarity index 90%
rename from sci-libs/ginkgo/ginkgo-1.4.0-r2.ebuild
rename to sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild
index 0752e5eefc9a..5092a73a706d 100644
--- a/sci-libs/ginkgo/ginkgo-1.4.0-r2.ebuild
+++ b/sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake
+inherit cmake toolchain-funcs
DESCRIPTION="Numerical linear algebra software package"
HOMEPAGE="https://ginkgo-project.github.io/"
@@ -18,10 +18,11 @@ fi
LICENSE="BSD-with-attribution"
SLOT="0"
-IUSE="+openmp cuda"
+IUSE="cuda hwloc +openmp"
RDEPEND="
cuda? ( dev-util/nvidia-cuda-toolkit )
+ hwloc? ( sys-apps/hwloc:= )
"
DEPEND="${RDEPEND}"
@@ -42,14 +43,14 @@ 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=$(usex openmp)
-DGINKGO_BUILD_CUDA=$(usex cuda)
+ -DGINKGO_BUILD_HWLOC=$(usex hwloc)
+ -DGINKGO_BUILD_OMP=$(usex openmp)
)
cmake_src_configure
}
diff --git a/sci-libs/ginkgo/metadata.xml b/sci-libs/ginkgo/metadata.xml
index 604252f3caf9..56c6a1d71fc6 100644
--- a/sci-libs/ginkgo/metadata.xml
+++ b/sci-libs/ginkgo/metadata.xml
@@ -16,6 +16,7 @@
</longdescription>
<use>
<flag name="cuda">Add support for cuda assimp (<pkg>dev-util/nvidia-cuda-sdk</pkg>)</flag>
+ <flag name="hwloc">Add support for hwloc (<pkg>sys-apps/hwloc</pkg>)</flag>
</use>
<upstream>
<remote-id type="github">ginkgo-project/ginkgo</remote-id>
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/ginkgo/
@ 2022-05-14 21:30 David Seifert
0 siblings, 0 replies; 11+ messages in thread
From: David Seifert @ 2022-05-14 21:30 UTC (permalink / raw
To: gentoo-commits
commit: 0307b6b0f8a436273160af04404a38fd31ef89d1
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat May 14 21:30:22 2022 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat May 14 21:30:22 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0307b6b0
sci-libs/ginkgo: [QA] tc-has-openmp → tc-check-openmp
Signed-off-by: David Seifert <soap <AT> gentoo.org>
sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild b/sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild
index 5092a73a706d..abd270c911c4 100644
--- a/sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild
+++ b/sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -26,11 +26,12 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
pkg_setup() {
- if [[ ${MERGE_TYPE} != binary ]] && \
- use openmp && ! tc-has-openmp ; then
- die "Need an OpenMP capable compiler"
- fi
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
src_prepare() {
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/ginkgo/
@ 2022-11-19 4:48 David Seifert
0 siblings, 0 replies; 11+ messages in thread
From: David Seifert @ 2022-11-19 4:48 UTC (permalink / raw
To: gentoo-commits
commit: 7f21bd19263445fdc9ddf2e1ff09d3701e61b1a2
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 19 04:48:06 2022 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Nov 19 04:48:06 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f21bd19
sci-libs/ginkgo: fix reference to dev-util/nvidia-cuda-sdk
Signed-off-by: David Seifert <soap <AT> gentoo.org>
sci-libs/ginkgo/metadata.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/ginkgo/metadata.xml b/sci-libs/ginkgo/metadata.xml
index 56c6a1d71fc6..8c638bee8543 100644
--- a/sci-libs/ginkgo/metadata.xml
+++ b/sci-libs/ginkgo/metadata.xml
@@ -15,7 +15,7 @@
implemented using modern C++, with GPU kernels implemented in CUDA.
</longdescription>
<use>
- <flag name="cuda">Add support for cuda assimp (<pkg>dev-util/nvidia-cuda-sdk</pkg>)</flag>
+ <flag name="cuda">Add support for cuda assimp (<pkg>dev-util/nvidia-cuda-toolkit</pkg>)</flag>
<flag name="hwloc">Add support for hwloc (<pkg>sys-apps/hwloc</pkg>)</flag>
</use>
<upstream>
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/ginkgo/
@ 2023-06-19 18:26 Matthias Maier
0 siblings, 0 replies; 11+ messages in thread
From: Matthias Maier @ 2023-06-19 18:26 UTC (permalink / raw
To: gentoo-commits
commit: fe24aa961fb7bc82373b4609fec7ccacc0c4145a
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 19 17:05:08 2023 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Jun 19 18:26:30 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe24aa96
sci-libs/ginkgo: add 1.6.0
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
sci-libs/ginkgo/Manifest | 1 +
sci-libs/ginkgo/ginkgo-1.6.0.ebuild | 57 +++++++++++++++++++++++++++++++++++++
2 files changed, 58 insertions(+)
diff --git a/sci-libs/ginkgo/Manifest b/sci-libs/ginkgo/Manifest
index 4a45be486a9b..85fa14f2e7ef 100644
--- a/sci-libs/ginkgo/Manifest
+++ b/sci-libs/ginkgo/Manifest
@@ -1 +1,2 @@
DIST ginkgo-1.4.0.tar.gz 2574052 BLAKE2B 99677d9d75831991cac40312095d32c44bef18cd05b120d80fdb9e64ea6dc15796c09b26f35dc8230db6b55c7be4dd76efd6d1cd8ca13c83e1f3087550db0dca SHA512 9bfcb2c415c7a1a70cf8e49f20adf62d02cab83bb23b6fcecfeaeeb322b2d4e1ad8d8fa6582735073753f9a05eac8688b9bd1ff1d4203957c1a80702d117e807
+DIST ginkgo-1.6.0.tar.gz 12788830 BLAKE2B c452e20eddb3673b5863106d8a8d42aab253cb5a17cf0445194903ebadcffe53ef0df6b5f26e2602e137faaa4a23dddd0b192f3453b4bd440907385fc09d004a SHA512 507a17bc9ad010c235c4ae49ac4bef3f4d5b65b4ea02bfa5cad5ea578fa65d28f564d1faf0a1f5618a6e72d744217f58bdff68c5f1fffc9cfb484800f7f84c50
diff --git a/sci-libs/ginkgo/ginkgo-1.6.0.ebuild b/sci-libs/ginkgo/ginkgo-1.6.0.ebuild
new file mode 100644
index 000000000000..00081e5e00a7
--- /dev/null
+++ b/sci-libs/ginkgo/ginkgo-1.6.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake toolchain-funcs
+
+DESCRIPTION="Numerical linear algebra software package"
+HOMEPAGE="https://ginkgo-project.github.io/"
+
+if [[ ${PV} = *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/ginkgo-project/ginkgo"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/${PN}-project/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD-with-attribution"
+SLOT="0"
+IUSE="cuda hwloc +openmp"
+
+RDEPEND="
+ cuda? ( dev-util/nvidia-cuda-toolkit )
+ hwloc? ( sys-apps/hwloc:= )
+"
+DEPEND="${RDEPEND}"
+
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_prepare() {
+ sed -i \
+ -e "s#\"lib\"#\"$(get_libdir)\"#g" \
+ -e "s#\"lib/#\"$(get_libdir)/#g" \
+ cmake/install_helpers.cmake || die "sed failed"
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DGINKGO_DEVEL_TOOLS=OFF
+ -DGINKGO_BUILD_TESTS=OFF
+ -DGINKGO_BUILD_BENCHMARKS=OFF
+ -DGINKGO_BUILD_REFERENCE=ON
+ -DGINKGO_BUILD_CUDA=$(usex cuda)
+ -DGINKGO_BUILD_HWLOC=$(usex hwloc)
+ -DGINKGO_BUILD_OMP=$(usex openmp)
+ )
+ cmake_src_configure
+}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/ginkgo/
@ 2024-08-01 3:15 Eli Schwartz
0 siblings, 0 replies; 11+ messages in thread
From: Eli Schwartz @ 2024-08-01 3:15 UTC (permalink / raw
To: gentoo-commits
commit: 12772e77c1002179e87918b5af37ac1d52b64f78
Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 1 00:16:45 2024 +0000
Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Thu Aug 1 03:14:17 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12772e77
sci-libs/ginkgo: mark as LTO-unsafe, strict-aliasing unsafe
Closes: https://bugs.gentoo.org/862705
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>
sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild | 10 +++++++++-
sci-libs/ginkgo/ginkgo-1.6.0.ebuild | 10 +++++++++-
sci-libs/ginkgo/ginkgo-1.8.0.ebuild | 10 +++++++++-
3 files changed, 27 insertions(+), 3 deletions(-)
diff --git a/sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild b/sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild
index c3849d3ff6dd..0a4e3d5aea71 100644
--- a/sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild
+++ b/sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake toolchain-funcs
+inherit cmake flag-o-matic toolchain-funcs
DESCRIPTION="Numerical linear algebra software package"
HOMEPAGE="https://ginkgo-project.github.io/"
@@ -35,6 +35,14 @@ pkg_setup() {
}
src_configure() {
+ # -Werror=strict-aliasing
+ # https://bugs.gentoo.org/862705
+ # https://github.com/ginkgo-project/ginkgo/issues/1657
+ #
+ # Do not trust it with LTO either.
+ append-flags -fno-strict-aliasing
+ filter-lto
+
local mycmakeargs=(
-DGINKGO_DEVEL_TOOLS=OFF
-DGINKGO_BUILD_TESTS=OFF
diff --git a/sci-libs/ginkgo/ginkgo-1.6.0.ebuild b/sci-libs/ginkgo/ginkgo-1.6.0.ebuild
index 3120a68d8975..c08e881a46e3 100644
--- a/sci-libs/ginkgo/ginkgo-1.6.0.ebuild
+++ b/sci-libs/ginkgo/ginkgo-1.6.0.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake toolchain-funcs
+inherit cmake flag-o-matic toolchain-funcs
DESCRIPTION="Numerical linear algebra software package"
HOMEPAGE="https://ginkgo-project.github.io/"
@@ -40,6 +40,14 @@ pkg_setup() {
}
src_configure() {
+ # -Werror=strict-aliasing
+ # https://bugs.gentoo.org/862705
+ # https://github.com/ginkgo-project/ginkgo/issues/1657
+ #
+ # Do not trust it with LTO either.
+ append-flags -fno-strict-aliasing
+ filter-lto
+
local mycmakeargs=(
-DGINKGO_DEVEL_TOOLS=OFF
-DGINKGO_BUILD_TESTS=OFF
diff --git a/sci-libs/ginkgo/ginkgo-1.8.0.ebuild b/sci-libs/ginkgo/ginkgo-1.8.0.ebuild
index 9f0450e54c30..028c8cdc3a77 100644
--- a/sci-libs/ginkgo/ginkgo-1.8.0.ebuild
+++ b/sci-libs/ginkgo/ginkgo-1.8.0.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake toolchain-funcs
+inherit cmake flag-o-matic toolchain-funcs
DESCRIPTION="Numerical linear algebra software package"
HOMEPAGE="https://ginkgo-project.github.io/"
@@ -39,6 +39,14 @@ pkg_setup() {
}
src_configure() {
+ # -Werror=strict-aliasing
+ # https://bugs.gentoo.org/862705
+ # https://github.com/ginkgo-project/ginkgo/issues/1657
+ #
+ # Do not trust it with LTO either.
+ append-flags -fno-strict-aliasing
+ filter-lto
+
local mycmakeargs=(
-DGINKGO_DEVEL_TOOLS=OFF
-DGINKGO_BUILD_TESTS=OFF
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/ginkgo/
@ 2024-08-01 3:15 Eli Schwartz
0 siblings, 0 replies; 11+ messages in thread
From: Eli Schwartz @ 2024-08-01 3:15 UTC (permalink / raw
To: gentoo-commits
commit: 26047d5fa5ca0be5a2e8f3be8bfa547f89b711e9
Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 31 23:50:55 2024 +0000
Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Thu Aug 1 03:14:17 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26047d5f
sci-libs/ginkgo: remove long-obsolete seds
```
* SED: the following did not cause any changes
* sed -i -e "s#\"lib\"#\"$(get_libdir)\"#g" -e "s#\"lib/#\"$(get_libdir)/#g" cmake/install_helpers.cmake || die "sed failed";
* no-op: -e s#"lib"#"lib64"#g
* no-op: -e s#"lib/#"lib64/#g
```
It was fixed upstream in 1.4.0:
https://github.com/ginkgo-project/ginkgo/pull/713
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>
sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild | 11 +----------
sci-libs/ginkgo/ginkgo-1.6.0.ebuild | 11 +----------
sci-libs/ginkgo/ginkgo-1.8.0.ebuild | 9 ---------
3 files changed, 2 insertions(+), 29 deletions(-)
diff --git a/sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild b/sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild
index abd270c911c4..c3849d3ff6dd 100644
--- a/sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild
+++ b/sci-libs/ginkgo/ginkgo-1.4.0-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -34,15 +34,6 @@ pkg_setup() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
-src_prepare() {
- sed -i \
- -e "s#\"lib\"#\"$(get_libdir)\"#g" \
- -e "s#\"lib/#\"$(get_libdir)/#g" \
- cmake/install_helpers.cmake || die "sed failed"
-
- cmake_src_prepare
-}
-
src_configure() {
local mycmakeargs=(
-DGINKGO_DEVEL_TOOLS=OFF
diff --git a/sci-libs/ginkgo/ginkgo-1.6.0.ebuild b/sci-libs/ginkgo/ginkgo-1.6.0.ebuild
index 4cceeb06c5b6..3120a68d8975 100644
--- a/sci-libs/ginkgo/ginkgo-1.6.0.ebuild
+++ b/sci-libs/ginkgo/ginkgo-1.6.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -39,15 +39,6 @@ pkg_setup() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
-src_prepare() {
- sed -i \
- -e "s#\"lib\"#\"$(get_libdir)\"#g" \
- -e "s#\"lib/#\"$(get_libdir)/#g" \
- cmake/install_helpers.cmake || die "sed failed"
-
- cmake_src_prepare
-}
-
src_configure() {
local mycmakeargs=(
-DGINKGO_DEVEL_TOOLS=OFF
diff --git a/sci-libs/ginkgo/ginkgo-1.8.0.ebuild b/sci-libs/ginkgo/ginkgo-1.8.0.ebuild
index 5b507b79f030..9f0450e54c30 100644
--- a/sci-libs/ginkgo/ginkgo-1.8.0.ebuild
+++ b/sci-libs/ginkgo/ginkgo-1.8.0.ebuild
@@ -38,15 +38,6 @@ pkg_setup() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
-src_prepare() {
- sed -i \
- -e "s#\"lib\"#\"$(get_libdir)\"#g" \
- -e "s#\"lib/#\"$(get_libdir)/#g" \
- cmake/install_helpers.cmake || die "sed failed"
-
- cmake_src_prepare
-}
-
src_configure() {
local mycmakeargs=(
-DGINKGO_DEVEL_TOOLS=OFF
^ permalink raw reply related [flat|nested] 11+ messages in thread
end of thread, other threads:[~2024-08-01 3:15 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-01 3:15 [gentoo-commits] repo/gentoo:master commit in: sci-libs/ginkgo/ Eli Schwartz
-- strict thread matches above, loose matches on Subject: below --
2024-08-01 3:15 Eli Schwartz
2023-06-19 18:26 Matthias Maier
2022-11-19 4:48 David Seifert
2022-05-14 21:30 David Seifert
2021-12-21 1:37 Sam James
2021-12-20 10:57 David Seifert
2021-10-06 8:33 Jakov Smolić
2021-10-06 8:33 Jakov Smolić
2021-09-01 21:49 Matthias Maier
2020-04-30 20:37 Matthias Maier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox