public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2018-03-20  4:16 Matthias Maier
  0 siblings, 0 replies; 32+ messages in thread
From: Matthias Maier @ 2018-03-20  4:16 UTC (permalink / raw
  To: gentoo-commits

commit:     204cfc28088ee86d46c94a267a30989ce4d26cdf
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 20 04:02:11 2018 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Tue Mar 20 04:15:53 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=204cfc28

sci-libs/sundials: version bump to 3.0.0

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sci-libs/sundials/Manifest              |  1 +
 sci-libs/sundials/sundials-3.0.0.ebuild | 79 +++++++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)

diff --git a/sci-libs/sundials/Manifest b/sci-libs/sundials/Manifest
index 90658767e7d..fa23e7dfe48 100644
--- a/sci-libs/sundials/Manifest
+++ b/sci-libs/sundials/Manifest
@@ -1 +1,2 @@
 DIST sundials-2.7.0.tar.gz 12258093 BLAKE2B 331fcf255f2bb8bcc798818b05db114feda7aacb6585177a836f17a9b58477f504099b4a33c7d71cab6e70eeb6fe47a76d101c08aa6219ee6fbac630524d5928 SHA512 c86c167538065a4109b36ae7c8f60f3d92184133cfa661b5acfccee052c38f40be865412a1746bb57907b61602c212c0f15e1e30ef29e8a49db6d46a75a28e69
+DIST sundials-3.0.0.tar.gz 12996039 BLAKE2B 0557190f6f7550bd4d7d3df10f727c6f235ff4917f2cfd35ca77785037edc43236a82383664f6fe1579bb5b07a148875b82b22f5a9e4f5f2a0607838e8a3b286 SHA512 3c86c7f27e64c2e6732546b0b1e87ea092502e361cae09b3b7eb29795c978edf494e17be13b78541dc91cc0709d928006bd0fc62ea968f2b621efa51856cdd60

diff --git a/sci-libs/sundials/sundials-3.0.0.ebuild b/sci-libs/sundials/sundials-3.0.0.ebuild
new file mode 100644
index 00000000000..35e90af469e
--- /dev/null
+++ b/sci-libs/sundials/sundials-3.0.0.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+FORTRAN_NEEDED=fortran
+FORTRAN_STANDARD=90
+
+inherit cmake-utils toolchain-funcs fortran-2 versionator
+
+DESCRIPTION="Suite of nonlinear solvers"
+HOMEPAGE="http://computation.llnl.gov/projects/sundials"
+SRC_URI="http://computation.llnl.gov/projects/sundials/download/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/$(get_major_version)"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="cxx doc examples fortran hypre lapack mpi openmp sparse static-libs superlumt threads"
+REQUIRED_USE="hypre? ( mpi )"
+
+RDEPEND="
+	lapack? ( virtual/lapack )
+	mpi? ( virtual/mpi sci-libs/hypre:= )
+	sparse? ( sci-libs/klu:= )
+	superlumt? ( sci-libs/superlu_mt:= )
+"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
+
+PATCHES=( )
+
+pkg_setup() {
+	if [[ ${MERGE_TYPE} != binary ]] && use openmp && [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then
+		ewarn "OpenMP is not available in your current selected gcc"
+		die "need openmp capable gcc"
+	fi
+}
+
+src_configure() {
+	mycmakeargs+=(
+		-DBUILD_SHARED_LIBS=ON
+		-DBUILD_STATIC_LIBS="$(usex static-libs)"
+		-DCXX_ENABLE="$(usex cxx)"
+		-DFCMIX_ENABLE="$(usex fortran)"
+		-DF90_ENABLE="$(usex fortran)"
+		-DHYPRE_ENABLE="$(usex hypre)"
+		-DHYPRE_INCLUDE_DIR="${EPREFIX}/usr/include/hypre"
+		-DHYPRE_LIBRARY="HYPRE"
+		-DKLU_ENABLE="$(usex sparse)"
+		-DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so"
+		-DLAPACK_ENABLE="$(usex lapack)"
+		-DMPI_ENABLE="$(usex mpi)"
+		-DOPENMP_ENABLE="$(usex openmp)"
+		-DPTHREAD_ENABLE="$(usex threads)"
+		-DSUPERLUMT_ENABLE="$(usex superlumt)"
+		-DSUPERLUMT_INCLUDE_DIR="${EPREFIX}/usr/include/superlu_mt"
+		-DSUPERLUMT_LIBRARY="superlu_mt"
+		-DEXAMPLES_ENABLE="$(usex examples)"
+		-DEXAMPLES_INSTALL=ON
+		-DEXAMPLES_INSTALL_PATH="/usr/share/doc/${PF}/examples"
+		-DUSE_GENERIC_MATH=ON
+	)
+	cmake-utils_src_configure
+}
+
+src_install() {
+	cmake-utils_src_install
+	use doc && dodoc doc/*/*.pdf
+	cd src
+	for r in */README; do
+		newdoc ${r} README-${r%/*}
+	done
+
+	# Use a sledgehammer, patching the buildsystem is too annoyoing (the
+	# CMake build systems consists of 2000 "lib" DESTINATIONS...)
+	if [[ lib != $(get_libdir) ]]; then
+		mv "${ED%/}"/usr/lib "${ED%/}"/usr/$(get_libdir) || die
+	fi
+}


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2018-04-24 15:58 Matthias Maier
  0 siblings, 0 replies; 32+ messages in thread
From: Matthias Maier @ 2018-04-24 15:58 UTC (permalink / raw
  To: gentoo-commits

commit:     2c6300bae5d00a1b8891c986fdc7a93b79ca47f6
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 24 15:55:23 2018 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Tue Apr 24 15:57:51 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c6300ba

sci-libs/sundials: version bump to 3.1.0

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 sci-libs/sundials/Manifest              |  1 +
 sci-libs/sundials/sundials-3.1.0.ebuild | 79 +++++++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)

diff --git a/sci-libs/sundials/Manifest b/sci-libs/sundials/Manifest
index fa23e7dfe48..c97d47fcd0b 100644
--- a/sci-libs/sundials/Manifest
+++ b/sci-libs/sundials/Manifest
@@ -1,2 +1,3 @@
 DIST sundials-2.7.0.tar.gz 12258093 BLAKE2B 331fcf255f2bb8bcc798818b05db114feda7aacb6585177a836f17a9b58477f504099b4a33c7d71cab6e70eeb6fe47a76d101c08aa6219ee6fbac630524d5928 SHA512 c86c167538065a4109b36ae7c8f60f3d92184133cfa661b5acfccee052c38f40be865412a1746bb57907b61602c212c0f15e1e30ef29e8a49db6d46a75a28e69
 DIST sundials-3.0.0.tar.gz 12996039 BLAKE2B 0557190f6f7550bd4d7d3df10f727c6f235ff4917f2cfd35ca77785037edc43236a82383664f6fe1579bb5b07a148875b82b22f5a9e4f5f2a0607838e8a3b286 SHA512 3c86c7f27e64c2e6732546b0b1e87ea092502e361cae09b3b7eb29795c978edf494e17be13b78541dc91cc0709d928006bd0fc62ea968f2b621efa51856cdd60
+DIST sundials-3.1.0.tar.gz 13033516 BLAKE2B 41294c1022ab09db6fbfa0d41c169d2ead3483693653a9c0cc26fdffec61918fed5e93241f64f9bfdc6ff22812fb846f3ea8deecd82c28d179dded85ec2c69ba SHA512 288427e00f58c512583cc14d81385e82b0fdeaa4e9adca588a108ad0752341b7be62c9fa2740924ec733e3e0d5794f305dc582fc72e244e675e5ea00ac0d08ca

diff --git a/sci-libs/sundials/sundials-3.1.0.ebuild b/sci-libs/sundials/sundials-3.1.0.ebuild
new file mode 100644
index 00000000000..35e90af469e
--- /dev/null
+++ b/sci-libs/sundials/sundials-3.1.0.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+FORTRAN_NEEDED=fortran
+FORTRAN_STANDARD=90
+
+inherit cmake-utils toolchain-funcs fortran-2 versionator
+
+DESCRIPTION="Suite of nonlinear solvers"
+HOMEPAGE="http://computation.llnl.gov/projects/sundials"
+SRC_URI="http://computation.llnl.gov/projects/sundials/download/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/$(get_major_version)"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="cxx doc examples fortran hypre lapack mpi openmp sparse static-libs superlumt threads"
+REQUIRED_USE="hypre? ( mpi )"
+
+RDEPEND="
+	lapack? ( virtual/lapack )
+	mpi? ( virtual/mpi sci-libs/hypre:= )
+	sparse? ( sci-libs/klu:= )
+	superlumt? ( sci-libs/superlu_mt:= )
+"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
+
+PATCHES=( )
+
+pkg_setup() {
+	if [[ ${MERGE_TYPE} != binary ]] && use openmp && [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then
+		ewarn "OpenMP is not available in your current selected gcc"
+		die "need openmp capable gcc"
+	fi
+}
+
+src_configure() {
+	mycmakeargs+=(
+		-DBUILD_SHARED_LIBS=ON
+		-DBUILD_STATIC_LIBS="$(usex static-libs)"
+		-DCXX_ENABLE="$(usex cxx)"
+		-DFCMIX_ENABLE="$(usex fortran)"
+		-DF90_ENABLE="$(usex fortran)"
+		-DHYPRE_ENABLE="$(usex hypre)"
+		-DHYPRE_INCLUDE_DIR="${EPREFIX}/usr/include/hypre"
+		-DHYPRE_LIBRARY="HYPRE"
+		-DKLU_ENABLE="$(usex sparse)"
+		-DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so"
+		-DLAPACK_ENABLE="$(usex lapack)"
+		-DMPI_ENABLE="$(usex mpi)"
+		-DOPENMP_ENABLE="$(usex openmp)"
+		-DPTHREAD_ENABLE="$(usex threads)"
+		-DSUPERLUMT_ENABLE="$(usex superlumt)"
+		-DSUPERLUMT_INCLUDE_DIR="${EPREFIX}/usr/include/superlu_mt"
+		-DSUPERLUMT_LIBRARY="superlu_mt"
+		-DEXAMPLES_ENABLE="$(usex examples)"
+		-DEXAMPLES_INSTALL=ON
+		-DEXAMPLES_INSTALL_PATH="/usr/share/doc/${PF}/examples"
+		-DUSE_GENERIC_MATH=ON
+	)
+	cmake-utils_src_configure
+}
+
+src_install() {
+	cmake-utils_src_install
+	use doc && dodoc doc/*/*.pdf
+	cd src
+	for r in */README; do
+		newdoc ${r} README-${r%/*}
+	done
+
+	# Use a sledgehammer, patching the buildsystem is too annoyoing (the
+	# CMake build systems consists of 2000 "lib" DESTINATIONS...)
+	if [[ lib != $(get_libdir) ]]; then
+		mv "${ED%/}"/usr/lib "${ED%/}"/usr/$(get_libdir) || die
+	fi
+}


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2018-04-24 16:19 Matthias Maier
  0 siblings, 0 replies; 32+ messages in thread
From: Matthias Maier @ 2018-04-24 16:19 UTC (permalink / raw
  To: gentoo-commits

commit:     93283bdb4772dbb824110dc2449586c972bdac99
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 24 16:16:20 2018 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Tue Apr 24 16:18:49 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93283bdb

sci-libs/sundials: remove unused configure option

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 sci-libs/sundials/sundials-3.1.0.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sci-libs/sundials/sundials-3.1.0.ebuild b/sci-libs/sundials/sundials-3.1.0.ebuild
index 35e90af469e..707322d2acc 100644
--- a/sci-libs/sundials/sundials-3.1.0.ebuild
+++ b/sci-libs/sundials/sundials-3.1.0.ebuild
@@ -45,7 +45,6 @@ src_configure() {
 		-DF90_ENABLE="$(usex fortran)"
 		-DHYPRE_ENABLE="$(usex hypre)"
 		-DHYPRE_INCLUDE_DIR="${EPREFIX}/usr/include/hypre"
-		-DHYPRE_LIBRARY="HYPRE"
 		-DKLU_ENABLE="$(usex sparse)"
 		-DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so"
 		-DLAPACK_ENABLE="$(usex lapack)"


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2018-05-16 22:57 Aaron Bauman
  0 siblings, 0 replies; 32+ messages in thread
From: Aaron Bauman @ 2018-05-16 22:57 UTC (permalink / raw
  To: gentoo-commits

commit:     66b50ac9755c37a3c7dc9f214c8e0577e37999ae
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Tue May 15 11:30:30 2018 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Wed May 16 22:57:02 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66b50ac9

sci-libs/sundials: use HTTPS

 sci-libs/sundials/sundials-2.7.0.ebuild | 6 +++---
 sci-libs/sundials/sundials-3.0.0.ebuild | 4 ++--
 sci-libs/sundials/sundials-3.1.0.ebuild | 4 ++--
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/sci-libs/sundials/sundials-2.7.0.ebuild b/sci-libs/sundials/sundials-2.7.0.ebuild
index 5eb5426e8a5..3b5df344e82 100644
--- a/sci-libs/sundials/sundials-2.7.0.ebuild
+++ b/sci-libs/sundials/sundials-2.7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -9,8 +9,8 @@ FORTRAN_STANDARD=90
 inherit cmake-utils toolchain-funcs fortran-2 versionator
 
 DESCRIPTION="Suite of nonlinear solvers"
-HOMEPAGE="http://computation.llnl.gov/projects/sundials"
-SRC_URI="http://computation.llnl.gov/projects/sundials/download/${P}.tar.gz"
+HOMEPAGE="https://computation.llnl.gov/projects/sundials"
+SRC_URI="https://computation.llnl.gov/projects/sundials/download/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0/$(get_major_version)"

diff --git a/sci-libs/sundials/sundials-3.0.0.ebuild b/sci-libs/sundials/sundials-3.0.0.ebuild
index 35e90af469e..5be73141477 100644
--- a/sci-libs/sundials/sundials-3.0.0.ebuild
+++ b/sci-libs/sundials/sundials-3.0.0.ebuild
@@ -9,8 +9,8 @@ FORTRAN_STANDARD=90
 inherit cmake-utils toolchain-funcs fortran-2 versionator
 
 DESCRIPTION="Suite of nonlinear solvers"
-HOMEPAGE="http://computation.llnl.gov/projects/sundials"
-SRC_URI="http://computation.llnl.gov/projects/sundials/download/${P}.tar.gz"
+HOMEPAGE="https://computation.llnl.gov/projects/sundials"
+SRC_URI="https://computation.llnl.gov/projects/sundials/download/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0/$(get_major_version)"

diff --git a/sci-libs/sundials/sundials-3.1.0.ebuild b/sci-libs/sundials/sundials-3.1.0.ebuild
index 707322d2acc..6285504725e 100644
--- a/sci-libs/sundials/sundials-3.1.0.ebuild
+++ b/sci-libs/sundials/sundials-3.1.0.ebuild
@@ -9,8 +9,8 @@ FORTRAN_STANDARD=90
 inherit cmake-utils toolchain-funcs fortran-2 versionator
 
 DESCRIPTION="Suite of nonlinear solvers"
-HOMEPAGE="http://computation.llnl.gov/projects/sundials"
-SRC_URI="http://computation.llnl.gov/projects/sundials/download/${P}.tar.gz"
+HOMEPAGE="https://computation.llnl.gov/projects/sundials"
+SRC_URI="https://computation.llnl.gov/projects/sundials/download/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0/$(get_major_version)"


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2019-07-15 21:35 Matthias Maier
  0 siblings, 0 replies; 32+ messages in thread
From: Matthias Maier @ 2019-07-15 21:35 UTC (permalink / raw
  To: gentoo-commits

commit:     b43ff0fea216afd2f0c3bebe29e7ccc40357d1d9
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 15 21:16:57 2019 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Jul 15 21:33:34 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b43ff0fe

sci-libs/sundials: Port to EAPI 7

Package-Manager: Portage-2.3.68, Repoman-2.3.16
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-libs/sundials/sundials-3.2.1.ebuild | 6 +++---
 sci-libs/sundials/sundials-4.0.2.ebuild | 6 +++---
 sci-libs/sundials/sundials-4.1.0.ebuild | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/sci-libs/sundials/sundials-3.2.1.ebuild b/sci-libs/sundials/sundials-3.2.1.ebuild
index 649b2f4f708..5ac6dffc0d7 100644
--- a/sci-libs/sundials/sundials-3.2.1.ebuild
+++ b/sci-libs/sundials/sundials-3.2.1.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 FORTRAN_NEEDED=fortran
 FORTRAN_STANDARD=90
 
-inherit cmake-utils eapi7-ver toolchain-funcs fortran-2
+inherit cmake-utils toolchain-funcs fortran-2
 
 DESCRIPTION="Suite of nonlinear solvers"
 HOMEPAGE="https://computation.llnl.gov/projects/sundials"

diff --git a/sci-libs/sundials/sundials-4.0.2.ebuild b/sci-libs/sundials/sundials-4.0.2.ebuild
index 649b2f4f708..5ac6dffc0d7 100644
--- a/sci-libs/sundials/sundials-4.0.2.ebuild
+++ b/sci-libs/sundials/sundials-4.0.2.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 FORTRAN_NEEDED=fortran
 FORTRAN_STANDARD=90
 
-inherit cmake-utils eapi7-ver toolchain-funcs fortran-2
+inherit cmake-utils toolchain-funcs fortran-2
 
 DESCRIPTION="Suite of nonlinear solvers"
 HOMEPAGE="https://computation.llnl.gov/projects/sundials"

diff --git a/sci-libs/sundials/sundials-4.1.0.ebuild b/sci-libs/sundials/sundials-4.1.0.ebuild
index 649b2f4f708..5ac6dffc0d7 100644
--- a/sci-libs/sundials/sundials-4.1.0.ebuild
+++ b/sci-libs/sundials/sundials-4.1.0.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 FORTRAN_NEEDED=fortran
 FORTRAN_STANDARD=90
 
-inherit cmake-utils eapi7-ver toolchain-funcs fortran-2
+inherit cmake-utils toolchain-funcs fortran-2
 
 DESCRIPTION="Suite of nonlinear solvers"
 HOMEPAGE="https://computation.llnl.gov/projects/sundials"


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2019-07-16 13:21 Matthias Maier
  0 siblings, 0 replies; 32+ messages in thread
From: Matthias Maier @ 2019-07-16 13:21 UTC (permalink / raw
  To: gentoo-commits

commit:     6e3b10ed4641c838aec202daf0a6fc83e198563a
Author:     band-a-prend <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Tue Jul 16 12:57:33 2019 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Tue Jul 16 13:21:05 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e3b10ed

sci-libs/sundials: fix makefile generator for EAPI7

Force to use emake as cmake makefile generator instead of default ninja
for EAPI7 to fix Fortran configuration error.

Closes: https://github.com/gentoo/gentoo/pull/12455
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-libs/sundials/sundials-3.2.1.ebuild | 1 +
 sci-libs/sundials/sundials-4.0.2.ebuild | 1 +
 sci-libs/sundials/sundials-4.1.0.ebuild | 1 +
 3 files changed, 3 insertions(+)

diff --git a/sci-libs/sundials/sundials-3.2.1.ebuild b/sci-libs/sundials/sundials-3.2.1.ebuild
index 5ac6dffc0d7..54f396b21f7 100644
--- a/sci-libs/sundials/sundials-3.2.1.ebuild
+++ b/sci-libs/sundials/sundials-3.2.1.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=7
 
+CMAKE_MAKEFILE_GENERATOR="emake"
 FORTRAN_NEEDED=fortran
 FORTRAN_STANDARD=90
 

diff --git a/sci-libs/sundials/sundials-4.0.2.ebuild b/sci-libs/sundials/sundials-4.0.2.ebuild
index 5ac6dffc0d7..54f396b21f7 100644
--- a/sci-libs/sundials/sundials-4.0.2.ebuild
+++ b/sci-libs/sundials/sundials-4.0.2.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=7
 
+CMAKE_MAKEFILE_GENERATOR="emake"
 FORTRAN_NEEDED=fortran
 FORTRAN_STANDARD=90
 

diff --git a/sci-libs/sundials/sundials-4.1.0.ebuild b/sci-libs/sundials/sundials-4.1.0.ebuild
index 5ac6dffc0d7..54f396b21f7 100644
--- a/sci-libs/sundials/sundials-4.1.0.ebuild
+++ b/sci-libs/sundials/sundials-4.1.0.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=7
 
+CMAKE_MAKEFILE_GENERATOR="emake"
 FORTRAN_NEEDED=fortran
 FORTRAN_STANDARD=90
 


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2019-07-30 15:12 Matthias Maier
  0 siblings, 0 replies; 32+ messages in thread
From: Matthias Maier @ 2019-07-30 15:12 UTC (permalink / raw
  To: gentoo-commits

commit:     850a2ef5912c262b4ccd99c20c1c7d5c12b52bd9
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 30 15:12:07 2019 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Tue Jul 30 15:12:38 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=850a2ef5

sci-libs/sundials: remove dangling whitespace in metadata.xml

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-libs/sundials/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/sundials/metadata.xml b/sci-libs/sundials/metadata.xml
index b4735cc5086..a817ac12feb 100644
--- a/sci-libs/sundials/metadata.xml
+++ b/sci-libs/sundials/metadata.xml
@@ -17,6 +17,6 @@
   <use>
     <flag name="hypre">Build with <pkg>sci-libs/hypre</pkg> conditioners</flag>
     <flag name="sparse">Enable support for <pkg>sci-libs/klu</pkg> sparse solver</flag>
-    <flag name="superlumt">Build with <pkg>sci-libs/superlu_mt</pkg></flag>    
+    <flag name="superlumt">Build with <pkg>sci-libs/superlu_mt</pkg></flag>
   </use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2020-01-14 14:56 Agostino Sarubbo
  0 siblings, 0 replies; 32+ messages in thread
From: Agostino Sarubbo @ 2020-01-14 14:56 UTC (permalink / raw
  To: gentoo-commits

commit:     66b3160abf363261f53f72f44519bb7463506cce
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 14 14:55:56 2020 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Jan 14 14:55:56 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66b3160a

sci-libs/sundials: amd64 stable wrt bug #705134

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 sci-libs/sundials/sundials-3.2.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/sundials/sundials-3.2.1.ebuild b/sci-libs/sundials/sundials-3.2.1.ebuild
index 54f396b21f7..18dd6bbaa8d 100644
--- a/sci-libs/sundials/sundials-3.2.1.ebuild
+++ b/sci-libs/sundials/sundials-3.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,7 +15,7 @@ SRC_URI="https://computation.llnl.gov/projects/sundials/download/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0/$(ver_cut 1)"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="cxx doc examples fortran hypre lapack mpi openmp sparse static-libs superlumt threads"
 REQUIRED_USE="hypre? ( mpi )"
 


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2020-06-06  0:28 Andreas Sturmlechner
  0 siblings, 0 replies; 32+ messages in thread
From: Andreas Sturmlechner @ 2020-06-06  0:28 UTC (permalink / raw
  To: gentoo-commits

commit:     addfd7ac7105505bad401888777d74bc30dd7ee9
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  6 00:27:44 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jun  6 00:27:55 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=addfd7ac

sci-libs/sundials: Fix unused CMake variables

Closes: https://bugs.gentoo.org/659268
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-libs/sundials/sundials-3.2.1.ebuild | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/sci-libs/sundials/sundials-3.2.1.ebuild b/sci-libs/sundials/sundials-3.2.1.ebuild
index 18dd6bbaa8d..36bca3f96aa 100644
--- a/sci-libs/sundials/sundials-3.2.1.ebuild
+++ b/sci-libs/sundials/sundials-3.2.1.ebuild
@@ -47,19 +47,23 @@ src_configure() {
 		-DHYPRE_ENABLE="$(usex hypre)"
 		-DHYPRE_INCLUDE_DIR="${EPREFIX}/usr/include/hypre"
 		-DKLU_ENABLE="$(usex sparse)"
-		-DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so"
 		-DLAPACK_ENABLE="$(usex lapack)"
 		-DMPI_ENABLE="$(usex mpi)"
 		-DOPENMP_ENABLE="$(usex openmp)"
 		-DPTHREAD_ENABLE="$(usex threads)"
 		-DSUPERLUMT_ENABLE="$(usex superlumt)"
-		-DSUPERLUMT_INCLUDE_DIR="${EPREFIX}/usr/include/superlu_mt"
-		-DSUPERLUMT_LIBRARY="superlu_mt"
 		-DEXAMPLES_ENABLE="$(usex examples)"
 		-DEXAMPLES_INSTALL=ON
 		-DEXAMPLES_INSTALL_PATH="/usr/share/doc/${PF}/examples"
 		-DUSE_GENERIC_MATH=ON
 	)
+	use sparse && mycmakeargs+=(
+		-DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so"
+	)
+	use superlumt && mycmakeargs+=(
+		-DSUPERLUMT_INCLUDE_DIR="${EPREFIX}/usr/include/superlu_mt"
+		-DSUPERLUMT_LIBRARY="superlu_mt"
+	)
 	cmake-utils_src_configure
 }
 


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2020-10-09 15:23 Agostino Sarubbo
  0 siblings, 0 replies; 32+ messages in thread
From: Agostino Sarubbo @ 2020-10-09 15:23 UTC (permalink / raw
  To: gentoo-commits

commit:     d00f3b815df5d2ce8f78d9249c37216d58e4d18c
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  9 15:22:55 2020 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Oct  9 15:22:55 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d00f3b81

sci-libs/sundials: amd64 stable wrt bug #705134

Package-Manager: Portage-3.0.4, Repoman-3.0.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 sci-libs/sundials/sundials-5.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/sundials/sundials-5.2.0.ebuild b/sci-libs/sundials/sundials-5.2.0.ebuild
index c6bc6848c81..fb50f916f61 100644
--- a/sci-libs/sundials/sundials-5.2.0.ebuild
+++ b/sci-libs/sundials/sundials-5.2.0.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://computation.llnl.gov/projects/sundials/download/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0/$(ver_cut 1)"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="cxx doc examples fortran hypre lapack mpi openmp sparse static-libs superlumt threads"
 REQUIRED_USE="hypre? ( mpi )"
 


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2020-12-07 15:27 Sam James
  0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2020-12-07 15:27 UTC (permalink / raw
  To: gentoo-commits

commit:     0e549f74d0376d1ef6a6a77bb3d4b0040c9424cf
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  7 15:27:13 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec  7 15:27:13 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e549f74

sci-libs/sundials: arm64 keyworded (bug #757822)

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/sundials/sundials-5.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/sundials/sundials-5.2.0.ebuild b/sci-libs/sundials/sundials-5.2.0.ebuild
index dde176d6e86..9b9ad05f984 100644
--- a/sci-libs/sundials/sundials-5.2.0.ebuild
+++ b/sci-libs/sundials/sundials-5.2.0.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://computation.llnl.gov/projects/sundials/download/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0/$(ver_cut 1)"
-KEYWORDS="amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="cxx doc examples fortran hypre lapack mpi openmp sparse static-libs superlumt threads"
 REQUIRED_USE="hypre? ( mpi )"
 


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2020-12-07 15:27 Sam James
  0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2020-12-07 15:27 UTC (permalink / raw
  To: gentoo-commits

commit:     127630f9dc406db58aea456d0afc979d96de07da
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  7 15:24:30 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec  7 15:24:30 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=127630f9

sci-libs/sundials: Keyword 5.2.0 arm, #757822

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/sundials/sundials-5.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/sundials/sundials-5.2.0.ebuild b/sci-libs/sundials/sundials-5.2.0.ebuild
index fb50f916f61..dde176d6e86 100644
--- a/sci-libs/sundials/sundials-5.2.0.ebuild
+++ b/sci-libs/sundials/sundials-5.2.0.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://computation.llnl.gov/projects/sundials/download/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0/$(ver_cut 1)"
-KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
 IUSE="cxx doc examples fortran hypre lapack mpi openmp sparse static-libs superlumt threads"
 REQUIRED_USE="hypre? ( mpi )"
 


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2020-12-12 22:20 Sam James
  0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2020-12-12 22:20 UTC (permalink / raw
  To: gentoo-commits

commit:     131b19c06375d5d053635ad7862dde80c12da2eb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 12 22:20:20 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 12 22:20:20 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=131b19c0

sci-libs/sundials: ppc64 keyworded (bug #757822)

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/sundials/sundials-5.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/sundials/sundials-5.2.0.ebuild b/sci-libs/sundials/sundials-5.2.0.ebuild
index 9b9ad05f984..4894a9ec4bf 100644
--- a/sci-libs/sundials/sundials-5.2.0.ebuild
+++ b/sci-libs/sundials/sundials-5.2.0.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://computation.llnl.gov/projects/sundials/download/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0/$(ver_cut 1)"
-KEYWORDS="amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="cxx doc examples fortran hypre lapack mpi openmp sparse static-libs superlumt threads"
 REQUIRED_USE="hypre? ( mpi )"
 


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2020-12-12 23:31 Sam James
  0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2020-12-12 23:31 UTC (permalink / raw
  To: gentoo-commits

commit:     3ceb19531eca44ecd784b6bc86280ecc31978f1d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 12 23:31:37 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 12 23:31:37 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ceb1953

sci-libs/sundials: ppc keyworded (bug #757822)

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/sundials/sundials-5.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/sundials/sundials-5.2.0.ebuild b/sci-libs/sundials/sundials-5.2.0.ebuild
index 4894a9ec4bf..aa14eeb5320 100644
--- a/sci-libs/sundials/sundials-5.2.0.ebuild
+++ b/sci-libs/sundials/sundials-5.2.0.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://computation.llnl.gov/projects/sundials/download/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0/$(ver_cut 1)"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="cxx doc examples fortran hypre lapack mpi openmp sparse static-libs superlumt threads"
 REQUIRED_USE="hypre? ( mpi )"
 


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2021-02-27  5:16 Sam James
  0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2021-02-27  5:16 UTC (permalink / raw
  To: gentoo-commits

commit:     ef3b07820955e5152f355d9fd294028aa73e203d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 27 05:14:40 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 27 05:15:51 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef3b0782

sci-libs/sundials: fix gcc 10 build

Closes: https://bugs.gentoo.org/707240
Package-Manager: Portage-3.0.15, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/sundials/sundials-5.2.0.ebuild | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/sci-libs/sundials/sundials-5.2.0.ebuild b/sci-libs/sundials/sundials-5.2.0.ebuild
index aa14eeb5320..3d60a524cc2 100644
--- a/sci-libs/sundials/sundials-5.2.0.ebuild
+++ b/sci-libs/sundials/sundials-5.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -8,7 +8,7 @@ FORTRAN_NEEDED=fortran
 FORTRAN_STANDARD="77 90"
 # if FFLAGS and FCFLAGS are set then should be equal
 
-inherit cmake fortran-2 toolchain-funcs
+inherit cmake fortran-2 toolchain-funcs flag-o-matic
 
 DESCRIPTION="Suite of nonlinear solvers"
 HOMEPAGE="https://computation.llnl.gov/projects/sundials"
@@ -38,6 +38,13 @@ pkg_setup() {
 	fi
 }
 
+src_prepare() {
+	# bug #707240
+	append-cflags -fcommon
+
+	cmake_src_prepare
+}
+
 src_configure() {
 	mycmakeargs+=(
 		-DBUILD_SHARED_LIBS=ON


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2021-07-16  5:27 Sam James
  0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2021-07-16  5:27 UTC (permalink / raw
  To: gentoo-commits

commit:     40e6e7d1871fcbd67e738eb577f58e87e6118cbe
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 16 05:26:23 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 16 05:26:46 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40e6e7d1

sci-libs/sundials: fix installation of examples on prefix

Closes: https://bugs.gentoo.org/802369
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/sundials/sundials-3.2.1.ebuild | 4 ++--
 sci-libs/sundials/sundials-5.2.0.ebuild | 2 +-
 sci-libs/sundials/sundials-5.7.0.ebuild | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-libs/sundials/sundials-3.2.1.ebuild b/sci-libs/sundials/sundials-3.2.1.ebuild
index 36bca3f96aa..d58d6a9829f 100644
--- a/sci-libs/sundials/sundials-3.2.1.ebuild
+++ b/sci-libs/sundials/sundials-3.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -54,7 +54,7 @@ src_configure() {
 		-DSUPERLUMT_ENABLE="$(usex superlumt)"
 		-DEXAMPLES_ENABLE="$(usex examples)"
 		-DEXAMPLES_INSTALL=ON
-		-DEXAMPLES_INSTALL_PATH="/usr/share/doc/${PF}/examples"
+		-DEXAMPLES_INSTALL_PATH="${EPREFIX}/usr/share/doc/${PF}/examples"
 		-DUSE_GENERIC_MATH=ON
 	)
 	use sparse && mycmakeargs+=(

diff --git a/sci-libs/sundials/sundials-5.2.0.ebuild b/sci-libs/sundials/sundials-5.2.0.ebuild
index 3d60a524cc2..c99c2b64396 100644
--- a/sci-libs/sundials/sundials-5.2.0.ebuild
+++ b/sci-libs/sundials/sundials-5.2.0.ebuild
@@ -64,7 +64,7 @@ src_configure() {
 		-DSUPERLUMT_LIBRARY="-lsuperlu_mt"
 		-DEXAMPLES_ENABLE="$(usex examples)"
 		-DEXAMPLES_INSTALL=ON
-		-DEXAMPLES_INSTALL_PATH="/usr/share/doc/${PF}/examples"
+		-DEXAMPLES_INSTALL_PATH="${EPREFIX}/usr/share/doc/${PF}/examples"
 		-DUSE_GENERIC_MATH=ON
 	)
 	use sparse && mycmakeargs+=( -DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so" )

diff --git a/sci-libs/sundials/sundials-5.7.0.ebuild b/sci-libs/sundials/sundials-5.7.0.ebuild
index de4ffc5ebca..dc933a9a83e 100644
--- a/sci-libs/sundials/sundials-5.7.0.ebuild
+++ b/sci-libs/sundials/sundials-5.7.0.ebuild
@@ -64,7 +64,7 @@ src_configure() {
 		-DSUPERLUMT_LIBRARY="-lsuperlu_mt"
 		-DEXAMPLES_ENABLE="$(usex examples)"
 		-DEXAMPLES_INSTALL=ON
-		-DEXAMPLES_INSTALL_PATH="/usr/share/doc/${PF}/examples"
+		-DEXAMPLES_INSTALL_PATH="${EPREFIX}/usr/share/doc/${PF}/examples"
 		-DUSE_GENERIC_MATH=ON
 	)
 	use sparse && mycmakeargs+=( -DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so" )


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2021-10-04 10:09 Jakov Smolić
  0 siblings, 0 replies; 32+ messages in thread
From: Jakov Smolić @ 2021-10-04 10:09 UTC (permalink / raw
  To: gentoo-commits

commit:     ec0186b8f4e70402be225f5f0ce9f5179dee4110
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  4 08:19:38 2021 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Mon Oct  4 09:03:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec0186b8

sci-libs/sundials: Remove old 3.2.1

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 sci-libs/sundials/Manifest              |  1 -
 sci-libs/sundials/sundials-3.2.1.ebuild | 77 ---------------------------------
 2 files changed, 78 deletions(-)

diff --git a/sci-libs/sundials/Manifest b/sci-libs/sundials/Manifest
index f28af30da2f..6bbc8edccc4 100644
--- a/sci-libs/sundials/Manifest
+++ b/sci-libs/sundials/Manifest
@@ -1,3 +1,2 @@
-DIST sundials-3.2.1.tar.gz 14958699 BLAKE2B ecc4b454ec589e9177acc9375e1db370ad6281f8d29580d9558ad3146dbbaab52794013e9cb56ad83f7309dbd3084a1ccaf6972c6b1468cefcc86bf30d3a460c SHA512 1f3e4b12f368e4f50c38b970c012f1702e339319ee0a858661bdf83e5739bb5b8a36f98b82e2ef76d1ce8a473123046347ee1b44f3cb685509823864f0af1384
 DIST sundials-5.2.0.tar.gz 18639221 BLAKE2B c10e6deb5839993b8601347be94412d0b0c058084b4dc0d380681f7b4debd535f9736c2ef734e9fd84c6ddc190ab05f46abcb711225ec1f156a18d8edb6317fb SHA512 99163a104e436dab4779c77519502b5614b65d726324b29b14236315f6916beb5863fcd56b5acf19f62985c033b227fba1ebd3d3c4607ce991d94ee7739bb55f
 DIST sundials-5.7.0.tar.gz 22612286 BLAKE2B a21db0d07b8f2056ba244ca52f13bde51a2f745535c7381a4eecf9d8037df3d50f010c8fecd8e37d71150f101c8177b2e3f0ffbed8139702993e01b8ad52e707 SHA512 5e2b6145fdaa72e7d13f43e75e5bc08b9d7eb5b9e048207d5772ddab767e198af5be24b73a942a564a49d56ca0b47fe6493bd2de34a8a93948ccd1c13e5dd170

diff --git a/sci-libs/sundials/sundials-3.2.1.ebuild b/sci-libs/sundials/sundials-3.2.1.ebuild
deleted file mode 100644
index d58d6a9829f..00000000000
--- a/sci-libs/sundials/sundials-3.2.1.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_MAKEFILE_GENERATOR="emake"
-FORTRAN_NEEDED=fortran
-FORTRAN_STANDARD=90
-
-inherit cmake-utils toolchain-funcs fortran-2
-
-DESCRIPTION="Suite of nonlinear solvers"
-HOMEPAGE="https://computation.llnl.gov/projects/sundials"
-SRC_URI="https://computation.llnl.gov/projects/sundials/download/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/$(ver_cut 1)"
-KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="cxx doc examples fortran hypre lapack mpi openmp sparse static-libs superlumt threads"
-REQUIRED_USE="hypre? ( mpi )"
-
-RDEPEND="
-	lapack? ( virtual/lapack )
-	mpi? ( virtual/mpi sci-libs/hypre:= )
-	sparse? ( sci-libs/klu:= )
-	superlumt? ( sci-libs/superlu_mt:= )
-"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig"
-
-PATCHES=( "${FILESDIR}"/${P}-fix-license-install-path.patch )
-
-pkg_setup() {
-	if [[ ${MERGE_TYPE} != binary ]] && use openmp && [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then
-		ewarn "OpenMP is not available in your current selected gcc"
-		die "need openmp capable gcc"
-	fi
-}
-
-src_configure() {
-	mycmakeargs+=(
-		-DBUILD_SHARED_LIBS=ON
-		-DBUILD_STATIC_LIBS="$(usex static-libs)"
-		-DCXX_ENABLE="$(usex cxx)"
-		-DFCMIX_ENABLE="$(usex fortran)"
-		-DF90_ENABLE="$(usex fortran)"
-		-DHYPRE_ENABLE="$(usex hypre)"
-		-DHYPRE_INCLUDE_DIR="${EPREFIX}/usr/include/hypre"
-		-DKLU_ENABLE="$(usex sparse)"
-		-DLAPACK_ENABLE="$(usex lapack)"
-		-DMPI_ENABLE="$(usex mpi)"
-		-DOPENMP_ENABLE="$(usex openmp)"
-		-DPTHREAD_ENABLE="$(usex threads)"
-		-DSUPERLUMT_ENABLE="$(usex superlumt)"
-		-DEXAMPLES_ENABLE="$(usex examples)"
-		-DEXAMPLES_INSTALL=ON
-		-DEXAMPLES_INSTALL_PATH="${EPREFIX}/usr/share/doc/${PF}/examples"
-		-DUSE_GENERIC_MATH=ON
-	)
-	use sparse && mycmakeargs+=(
-		-DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so"
-	)
-	use superlumt && mycmakeargs+=(
-		-DSUPERLUMT_INCLUDE_DIR="${EPREFIX}/usr/include/superlu_mt"
-		-DSUPERLUMT_LIBRARY="superlu_mt"
-	)
-	cmake-utils_src_configure
-}
-
-src_install() {
-	cmake-utils_src_install
-	use doc && dodoc doc/*/*.pdf
-	cd src
-	for r in */README; do
-		newdoc ${r} README-${r%/*}
-	done
-}


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2021-10-04 19:35 Jakov Smolić
  0 siblings, 0 replies; 32+ messages in thread
From: Jakov Smolić @ 2021-10-04 19:35 UTC (permalink / raw
  To: gentoo-commits

commit:     682e4cb4892cc43f9ff03e73416b0db9295b51db
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  4 19:35:11 2021 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Mon Oct  4 19:35:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=682e4cb4

sci-libs/sundials: drop 5.7.0

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 sci-libs/sundials/Manifest              |  1 -
 sci-libs/sundials/sundials-5.7.0.ebuild | 77 ---------------------------------
 2 files changed, 78 deletions(-)

diff --git a/sci-libs/sundials/Manifest b/sci-libs/sundials/Manifest
index 17ed196b551..5588e189068 100644
--- a/sci-libs/sundials/Manifest
+++ b/sci-libs/sundials/Manifest
@@ -1,3 +1,2 @@
 DIST sundials-5.2.0.tar.gz 18639221 BLAKE2B c10e6deb5839993b8601347be94412d0b0c058084b4dc0d380681f7b4debd535f9736c2ef734e9fd84c6ddc190ab05f46abcb711225ec1f156a18d8edb6317fb SHA512 99163a104e436dab4779c77519502b5614b65d726324b29b14236315f6916beb5863fcd56b5acf19f62985c033b227fba1ebd3d3c4607ce991d94ee7739bb55f
-DIST sundials-5.7.0.tar.gz 22612286 BLAKE2B a21db0d07b8f2056ba244ca52f13bde51a2f745535c7381a4eecf9d8037df3d50f010c8fecd8e37d71150f101c8177b2e3f0ffbed8139702993e01b8ad52e707 SHA512 5e2b6145fdaa72e7d13f43e75e5bc08b9d7eb5b9e048207d5772ddab767e198af5be24b73a942a564a49d56ca0b47fe6493bd2de34a8a93948ccd1c13e5dd170
 DIST sundials-5.8.0.tar.gz 24012815 BLAKE2B f707ad7465218532f3dc4df7627b87933b2bc52be6f1ad290b91ab83a3414ae83bc64503126af8772daa000f58a89855d7ca35fe74fa21bd91180695582442c7 SHA512 d22e699aaddaeef026e91e18dd070d06278c75b6980b36c6fb2e50203ba6445420e4a8e0612a6317dcaa521aeffbdf62ab88737be235ef70cef3a8be02a13dbb

diff --git a/sci-libs/sundials/sundials-5.7.0.ebuild b/sci-libs/sundials/sundials-5.7.0.ebuild
deleted file mode 100644
index dc933a9a83e..00000000000
--- a/sci-libs/sundials/sundials-5.7.0.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_MAKEFILE_GENERATOR="emake"
-FORTRAN_NEEDED=fortran
-FORTRAN_STANDARD="77 90"
-# if FFLAGS and FCFLAGS are set then should be equal
-
-inherit cmake fortran-2 toolchain-funcs flag-o-matic
-
-DESCRIPTION="Suite of nonlinear solvers"
-HOMEPAGE="https://computation.llnl.gov/projects/sundials"
-SRC_URI="https://github.com/LLNL/${PN}/releases/download/v${PV}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/$(ver_cut 1)"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="cxx doc examples fortran hypre lapack mpi openmp sparse static-libs superlumt threads"
-REQUIRED_USE="hypre? ( mpi )"
-
-BDEPEND="virtual/pkgconfig"
-RDEPEND="
-	lapack? ( virtual/lapack )
-	mpi? ( virtual/mpi sci-libs/hypre:= )
-	sparse? ( sci-libs/klu )
-	superlumt? ( sci-libs/superlu_mt:= )
-"
-DEPEND="${RDEPEND}"
-
-PATCHES=( "${FILESDIR}"/${P}-fix-license-install-path.patch )
-
-pkg_setup() {
-	if [[ ${MERGE_TYPE} != binary ]] && use openmp && [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then
-		ewarn "OpenMP is not available in your current selected gcc"
-		die "need openmp capable gcc"
-	fi
-}
-
-src_prepare() {
-	# bug #707240
-	append-cflags -fcommon
-
-	cmake_src_prepare
-}
-
-src_configure() {
-	mycmakeargs+=(
-		-DBUILD_SHARED_LIBS=ON
-		-DBUILD_STATIC_LIBS="$(usex static-libs)"
-		-DCXX_ENABLE="$(usex cxx)"
-		-DFCMIX_ENABLE="$(usex fortran)"
-		-DF90_ENABLE="$(usex fortran)"
-		-DHYPRE_ENABLE="$(usex hypre)"
-		-DHYPRE_INCLUDE_DIR="${EPREFIX}/usr/include/hypre"
-		-DKLU_ENABLE="$(usex sparse)"
-		-DLAPACK_ENABLE="$(usex lapack)"
-		-DMPI_ENABLE="$(usex mpi)"
-		-DOPENMP_ENABLE="$(usex openmp)"
-		-DPTHREAD_ENABLE="$(usex threads)"
-		-DSUPERLUMT_ENABLE="$(usex superlumt)"
-		-DSUPERLUMT_INCLUDE_DIR="${EPREFIX}/usr/include/superlu_mt"
-		-DSUPERLUMT_LIBRARY="-lsuperlu_mt"
-		-DEXAMPLES_ENABLE="$(usex examples)"
-		-DEXAMPLES_INSTALL=ON
-		-DEXAMPLES_INSTALL_PATH="${EPREFIX}/usr/share/doc/${PF}/examples"
-		-DUSE_GENERIC_MATH=ON
-	)
-	use sparse && mycmakeargs+=( -DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so" )
-	cmake_src_configure
-}
-
-src_install() {
-	cmake_src_install
-	use doc && dodoc doc/*/*.pdf
-}


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2021-10-12 22:23 Marek Szuba
  0 siblings, 0 replies; 32+ messages in thread
From: Marek Szuba @ 2021-10-12 22:23 UTC (permalink / raw
  To: gentoo-commits

commit:     94413af0dba4dc1caaf92dc6f78910ca1aac502a
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 12 22:04:49 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Oct 12 22:22:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94413af0

sci-libs/sundials: update HOMEPAGE

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 sci-libs/sundials/sundials-5.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/sundials/sundials-5.8.0.ebuild b/sci-libs/sundials/sundials-5.8.0.ebuild
index 5b64bd8198a..9d6837a1479 100644
--- a/sci-libs/sundials/sundials-5.8.0.ebuild
+++ b/sci-libs/sundials/sundials-5.8.0.ebuild
@@ -11,7 +11,7 @@ FORTRAN_STANDARD="77 90 2003"
 inherit cmake flag-o-matic fortran-2 toolchain-funcs
 
 DESCRIPTION="Suite of nonlinear solvers"
-HOMEPAGE="https://computation.llnl.gov/projects/sundials"
+HOMEPAGE="https://computing.llnl.gov/projects/sundials"
 SRC_URI="https://github.com/LLNL/${PN}/releases/download/v${PV}/${P}.tar.gz"
 
 LICENSE="BSD"


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2021-10-12 22:23 Marek Szuba
  0 siblings, 0 replies; 32+ messages in thread
From: Marek Szuba @ 2021-10-12 22:23 UTC (permalink / raw
  To: gentoo-commits

commit:     dd47d1b3ec10aa6779430d1c1142e64d462ee707
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 12 21:55:29 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Oct 12 22:22:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd47d1b3

sci-libs/sundials: implement USE=int64

What it already does:
 * allows changing the index size from 64 (default) to 32 bits
 * if USE=superlumt is set makes sure the state of USE=int64 in
   sci-libs/superlu_mt is the same as here, so that the assumption
   about index-type compatibility made in sunlinsol_superlumt.h is
   correct
 * allows test_sunlinsol_superlumt_300_0_1_0 and
    test_sunlinsol_superlumt_300_1_1_0 to pass *if USE=-int64*

What still needs work:
 * getting the two superlumt tests to pass for USE=int64 - they still
   fail with "COLAMD failed at line 58 in file get_perm_c.c"

Bug: https://bugs.gentoo.org/817680
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 sci-libs/sundials/metadata.xml          | 1 +
 sci-libs/sundials/sundials-5.8.0.ebuild | 5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/sci-libs/sundials/metadata.xml b/sci-libs/sundials/metadata.xml
index ad709aab336..7e8359df030 100644
--- a/sci-libs/sundials/metadata.xml
+++ b/sci-libs/sundials/metadata.xml
@@ -16,6 +16,7 @@
   </longdescription>
   <use>
     <flag name="hypre">Build with <pkg>sci-libs/hypre</pkg> conditioners</flag>
+    <flag name="int64">Use index size of 64 rather than 32 bits</flag>
     <flag name="sparse">Enable support for <pkg>sci-libs/klu</pkg> sparse solver</flag>
     <flag name="superlumt">Build with <pkg>sci-libs/superlu_mt</pkg></flag>
   </use>

diff --git a/sci-libs/sundials/sundials-5.8.0.ebuild b/sci-libs/sundials/sundials-5.8.0.ebuild
index 894e7ef201c..5b64bd8198a 100644
--- a/sci-libs/sundials/sundials-5.8.0.ebuild
+++ b/sci-libs/sundials/sundials-5.8.0.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/LLNL/${PN}/releases/download/v${PV}/${P}.tar.gz"
 LICENSE="BSD"
 SLOT="0/$(ver_cut 1)"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples fortran hypre lapack mpi openmp sparse +static-libs superlumt threads"
+IUSE="doc examples fortran hypre +int64 lapack mpi openmp sparse +static-libs superlumt threads"
 REQUIRED_USE="
 	fortran? ( static-libs )
 	hypre? ( mpi )
@@ -31,7 +31,7 @@ RDEPEND="
 		virtual/mpi[fortran?]
 	)
 	sparse? ( sci-libs/klu )
-	superlumt? ( sci-libs/superlu_mt:= )
+	superlumt? ( sci-libs/superlu_mt:=[int64=] )
 "
 DEPEND="${RDEPEND}"
 
@@ -69,6 +69,7 @@ src_configure() {
 		-DENABLE_SUPERLUMT=$(usex superlumt)
 		-DEXAMPLES_INSTALL=ON
 		-DEXAMPLES_INSTALL_PATH="/usr/share/doc/${PF}/examples"
+		-DSUNDIALS_INDEX_SIZE="$(usex int64 64 32)"
 		-DSUPERLUMT_INCLUDE_DIR="${EPREFIX}/usr/include/superlu_mt"
 		-DSUPERLUMT_LIBRARY="-lsuperlu_mt"
 		-DUSE_GENERIC_MATH=ON


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2021-12-01  6:37 Yixun Lan
  0 siblings, 0 replies; 32+ messages in thread
From: Yixun Lan @ 2021-12-01  6:37 UTC (permalink / raw
  To: gentoo-commits

commit:     0f2d32fa0806982e7ed48e24fb6931d71409bbd1
Author:     Alex Fan <alex.fan.q <AT> gmail <DOT> com>
AuthorDate: Tue Nov 30 10:58:00 2021 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Wed Dec  1 06:34:26 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f2d32fa

sci-libs/sundials: keyword 5.8.0 for ~riscv

Signed-off-by: Alex Fan <alex.fan.q <AT> gmail.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 sci-libs/sundials/sundials-5.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/sundials/sundials-5.8.0.ebuild b/sci-libs/sundials/sundials-5.8.0.ebuild
index 9d6837a1479e..56a1a89dc03b 100644
--- a/sci-libs/sundials/sundials-5.8.0.ebuild
+++ b/sci-libs/sundials/sundials-5.8.0.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/LLNL/${PN}/releases/download/v${PV}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0/$(ver_cut 1)"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples fortran hypre +int64 lapack mpi openmp sparse +static-libs superlumt threads"
 REQUIRED_USE="
 	fortran? ( static-libs )


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2021-12-13  6:57 Agostino Sarubbo
  0 siblings, 0 replies; 32+ messages in thread
From: Agostino Sarubbo @ 2021-12-13  6:57 UTC (permalink / raw
  To: gentoo-commits

commit:     f4d219c1ee3965fe29ba48f51ee9be12143080cf
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 13 06:56:55 2021 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Dec 13 06:56:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4d219c1

sci-libs/sundials: amd64 stable wrt bug #828934

Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 sci-libs/sundials/sundials-5.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/sundials/sundials-5.8.0.ebuild b/sci-libs/sundials/sundials-5.8.0.ebuild
index 56a1a89dc03b..623a8cee16ed 100644
--- a/sci-libs/sundials/sundials-5.8.0.ebuild
+++ b/sci-libs/sundials/sundials-5.8.0.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/LLNL/${PN}/releases/download/v${PV}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0/$(ver_cut 1)"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples fortran hypre +int64 lapack mpi openmp sparse +static-libs superlumt threads"
 REQUIRED_USE="
 	fortran? ( static-libs )


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2022-05-14 21:30 David Seifert
  0 siblings, 0 replies; 32+ messages in thread
From: David Seifert @ 2022-05-14 21:30 UTC (permalink / raw
  To: gentoo-commits

commit:     18aa29a9cc9ee5434c0d9664ba526c74444912d5
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat May 14 21:30:27 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat May 14 21:30:27 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18aa29a9

sci-libs/sundials: [QA] tc-has-openmp → tc-check-openmp

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-libs/sundials/sundials-5.2.0.ebuild | 12 +++++++-----
 sci-libs/sundials/sundials-5.8.0.ebuild | 12 +++++++-----
 2 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/sci-libs/sundials/sundials-5.2.0.ebuild b/sci-libs/sundials/sundials-5.2.0.ebuild
index c99c2b643966..5af24cd4ed75 100644
--- a/sci-libs/sundials/sundials-5.2.0.ebuild
+++ b/sci-libs/sundials/sundials-5.2.0.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=7
@@ -31,11 +31,13 @@ DEPEND="${RDEPEND}"
 
 PATCHES=( "${FILESDIR}"/${P}-fix-license-install-path.patch )
 
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
 pkg_setup() {
-	if [[ ${MERGE_TYPE} != binary ]] && use openmp && [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then
-		ewarn "OpenMP is not available in your current selected gcc"
-		die "need openmp capable gcc"
-	fi
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+	use fortran && fortran-2_pkg_setup
 }
 
 src_prepare() {

diff --git a/sci-libs/sundials/sundials-5.8.0.ebuild b/sci-libs/sundials/sundials-5.8.0.ebuild
index 623a8cee16ed..517e32342ded 100644
--- a/sci-libs/sundials/sundials-5.8.0.ebuild
+++ b/sci-libs/sundials/sundials-5.8.0.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
@@ -39,11 +39,13 @@ PATCHES=(
 		"${FILESDIR}"/${P}-fix-license-install-path.patch
 )
 
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
 pkg_setup() {
-	if [[ ${MERGE_TYPE} != binary ]] && use openmp && [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then
-		ewarn "OpenMP is not available in your current selected gcc"
-		die "need openmp capable gcc"
-	fi
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+	use fortran && fortran-2_pkg_setup
 }
 
 src_prepare() {


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2022-05-17 22:12 Sam James
  0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2022-05-17 22:12 UTC (permalink / raw
  To: gentoo-commits

commit:     083c8e158079d734bf9fd4502865ccc50fe9043a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 17 22:12:31 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 17 22:12:31 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=083c8e15

sci-libs/sundials: add 6.2.0

Bug: https://bugs.gentoo.org/731904
Bug: https://bugs.gentoo.org/831110
Bug: https://bugs.gentoo.org/715556
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/sundials/Manifest              |   1 +
 sci-libs/sundials/sundials-6.2.0.ebuild | 119 ++++++++++++++++++++++++++++++++
 2 files changed, 120 insertions(+)

diff --git a/sci-libs/sundials/Manifest b/sci-libs/sundials/Manifest
index 5588e189068a..dc11161c3fdd 100644
--- a/sci-libs/sundials/Manifest
+++ b/sci-libs/sundials/Manifest
@@ -1,2 +1,3 @@
 DIST sundials-5.2.0.tar.gz 18639221 BLAKE2B c10e6deb5839993b8601347be94412d0b0c058084b4dc0d380681f7b4debd535f9736c2ef734e9fd84c6ddc190ab05f46abcb711225ec1f156a18d8edb6317fb SHA512 99163a104e436dab4779c77519502b5614b65d726324b29b14236315f6916beb5863fcd56b5acf19f62985c033b227fba1ebd3d3c4607ce991d94ee7739bb55f
 DIST sundials-5.8.0.tar.gz 24012815 BLAKE2B f707ad7465218532f3dc4df7627b87933b2bc52be6f1ad290b91ab83a3414ae83bc64503126af8772daa000f58a89855d7ca35fe74fa21bd91180695582442c7 SHA512 d22e699aaddaeef026e91e18dd070d06278c75b6980b36c6fb2e50203ba6445420e4a8e0612a6317dcaa521aeffbdf62ab88737be235ef70cef3a8be02a13dbb
+DIST sundials-6.2.0.tar.gz 82410068 BLAKE2B c6aa9735198465bb458590ef1a90101e246202632afd6bd7f48970b9a2752810ce8c5be7983097cd816189cb994efbddf8d34706665846c67d6442bd7c12db38 SHA512 0dd0a2bf6390a13a5846caf440aa6d459f3890f6d13c0eff8c8180a92a636d6eae7f64679d45acd2048de742d4c644e2ae112cb09028b3fdef10a247bee44c0b

diff --git a/sci-libs/sundials/sundials-6.2.0.ebuild b/sci-libs/sundials/sundials-6.2.0.ebuild
new file mode 100644
index 000000000000..bc44870f0732
--- /dev/null
+++ b/sci-libs/sundials/sundials-6.2.0.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+FORTRAN_NEEDED=fortran
+FORTRAN_STANDARD="77 90 2003"
+# if FFLAGS and FCFLAGS are set then should be equal
+
+inherit cmake flag-o-matic fortran-2 toolchain-funcs
+
+DESCRIPTION="Suite of nonlinear solvers"
+HOMEPAGE="https://computing.llnl.gov/projects/sundials"
+SRC_URI="https://github.com/LLNL/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples fortran hypre +int64 lapack mpi openmp sparse +static-libs superlumt threads"
+REQUIRED_USE="
+	fortran? ( static-libs )
+	hypre? ( mpi )
+"
+
+BDEPEND="virtual/pkgconfig"
+RDEPEND="
+	lapack? ( virtual/lapack )
+	mpi? (
+		sci-libs/hypre:=[fortran?,mpi?]
+		virtual/mpi[fortran?]
+	)
+	sparse? ( sci-libs/klu )
+	superlumt? ( sci-libs/superlu_mt:=[int64=] )
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-5.8.0-fix-license-install-path.patch
+)
+
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+
+	use fortran && fortran-2_pkg_setup
+}
+
+src_prepare() {
+	# bug #707240
+	append-cflags -fcommon
+	use threads && append-ldflags -pthread
+
+	cmake_src_prepare
+}
+
+src_configure() {
+	mycmakeargs+=(
+		-DBUILD_FORTRAN_MODULE_INTERFACE=$(usex fortran)
+		-DBUILD_SHARED_LIBS=ON
+		-DBUILD_STATIC_LIBS=$(usex static-libs)
+		-DENABLE_HYPRE=$(usex hypre)
+		-DENABLE_KLU=$(usex sparse)
+		-DENABLE_LAPACK=$(usex lapack)
+		-DENABLE_MPI=$(usex mpi)
+		-DENABLE_OPENMP=$(usex openmp)
+		-DENABLE_PTHREAD=$(usex threads)
+		-DENABLE_SUPERLUMT=$(usex superlumt)
+		-DEXAMPLES_INSTALL=ON
+		-DEXAMPLES_INSTALL_PATH="/usr/share/doc/${PF}/examples"
+		-DSUNDIALS_INDEX_SIZE="$(usex int64 64 32)"
+		-DSUPERLUMT_INCLUDE_DIR="${EPREFIX}/usr/include/superlu_mt"
+		-DSUPERLUMT_LIBRARY="-lsuperlu_mt"
+		-DUSE_GENERIC_MATH=ON
+	)
+
+	if use examples; then
+		mycmakeargs+=(
+			-DEXAMPLES_ENABLE_C=ON
+			-DEXAMPLES_ENABLE_CXX=ON
+		)
+		if use fortran; then
+			mycmakeargs+=(
+				-DEXAMPLES_ENABLE_F77=ON
+				-DEXAMPLES_ENABLE_F90=ON
+				-DEXAMPLES_ENABLE_F2003=ON
+			)
+		fi
+	fi
+
+	if use fortran; then
+		mycmakeargs+=(
+			-DFortran_INSTALL_MODDIR="${EPREFIX}/usr/$(get_libdir)/fortran"
+		)
+	fi
+
+	if use hypre; then
+		mycmakeargs+=(
+			-DHYPRE_INCLUDE_DIR="${EPREFIX}/usr/include/hypre"
+			-DHYPRE_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libHYPRE.so"
+		)
+	fi
+
+	if use sparse; then
+		mycmakeargs+=(
+			-DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so"
+		)
+	fi
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+	use doc && dodoc doc/*/*.pdf
+}


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2022-07-07  6:34 Agostino Sarubbo
  0 siblings, 0 replies; 32+ messages in thread
From: Agostino Sarubbo @ 2022-07-07  6:34 UTC (permalink / raw
  To: gentoo-commits

commit:     a250896c54c8e4eac9cf4f51c58f58ba9230452b
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  7 06:34:07 2022 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Jul  7 06:34:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a250896c

sci-libs/sundials: amd64 stable wrt bug #856553

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 sci-libs/sundials/sundials-6.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/sundials/sundials-6.2.0.ebuild b/sci-libs/sundials/sundials-6.2.0.ebuild
index bc44870f0732..6c7c190fc0c7 100644
--- a/sci-libs/sundials/sundials-6.2.0.ebuild
+++ b/sci-libs/sundials/sundials-6.2.0.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/LLNL/${PN}/releases/download/v${PV}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0/$(ver_cut 1)"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples fortran hypre +int64 lapack mpi openmp sparse +static-libs superlumt threads"
 REQUIRED_USE="
 	fortran? ( static-libs )


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2022-08-03 23:45 Sam James
  0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2022-08-03 23:45 UTC (permalink / raw
  To: gentoo-commits

commit:     2fa5b0c88c728cc9a32aa5e3398b61d471fe3a7f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  3 23:41:49 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug  3 23:41:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fa5b0c8

sci-libs/sundials: add github upstream metadata

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/sundials/metadata.xml | 41 ++++++++++++++++++++++-------------------
 1 file changed, 22 insertions(+), 19 deletions(-)

diff --git a/sci-libs/sundials/metadata.xml b/sci-libs/sundials/metadata.xml
index 7e8359df0301..3a9a3b121469 100644
--- a/sci-libs/sundials/metadata.xml
+++ b/sci-libs/sundials/metadata.xml
@@ -1,23 +1,26 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <maintainer type="project">
-    <email>sci@gentoo.org</email>
-    <name>Gentoo Scientific Project</name>
-  </maintainer>
-  <longdescription lang="en">
-    SUite of Nonlinear and DIfferential/ALgebraic equation Solvers was
-    implemented with the goal of providing robust time integrators and
-    nonlinear solvers that can easily be incorporated into existing
-    simulation codes. The primary design goals were to require minimal
-    information from the user, allow users to easily supply their own
-    data structures underneath the solvers, and allow for easy
-    incorporation of user-supplied linear solvers and preconditioners.
-  </longdescription>
-  <use>
-    <flag name="hypre">Build with <pkg>sci-libs/hypre</pkg> conditioners</flag>
-    <flag name="int64">Use index size of 64 rather than 32 bits</flag>
-    <flag name="sparse">Enable support for <pkg>sci-libs/klu</pkg> sparse solver</flag>
-    <flag name="superlumt">Build with <pkg>sci-libs/superlu_mt</pkg></flag>
-  </use>
+	<maintainer type="project">
+		<email>sci@gentoo.org</email>
+		<name>Gentoo Scientific Project</name>
+	</maintainer>
+	<longdescription lang="en">
+	SUite of Nonlinear and DIfferential/ALgebraic equation Solvers was
+	implemented with the goal of providing robust time integrators and
+	nonlinear solvers that can easily be incorporated into existing
+	simulation codes. The primary design goals were to require minimal
+	information from the user, allow users to easily supply their own
+	data structures underneath the solvers, and allow for easy
+	incorporation of user-supplied linear solvers and preconditioners.
+	</longdescription>
+	<use>
+		<flag name="hypre">Build with <pkg>sci-libs/hypre</pkg> conditioners</flag>
+		<flag name="int64">Use index size of 64 rather than 32 bits</flag>
+		<flag name="sparse">Enable support for <pkg>sci-libs/klu</pkg> sparse solver</flag>
+		<flag name="superlumt">Build with <pkg>sci-libs/superlu_mt</pkg></flag>
+	</use>
+	<upstream>
+		<remote-id type="github">LLNL/sundials</remote-id>
+	</upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2023-01-02 18:22 Matthias Maier
  0 siblings, 0 replies; 32+ messages in thread
From: Matthias Maier @ 2023-01-02 18:22 UTC (permalink / raw
  To: gentoo-commits

commit:     b98ffe40b42d20f71ed7c555c9fcfdd5001b2b88
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  2 18:22:15 2023 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Jan  2 18:22:52 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b98ffe40

sci-libs/sundials: add 6.5.0

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-libs/sundials/Manifest              |   1 +
 sci-libs/sundials/sundials-6.5.0.ebuild | 117 ++++++++++++++++++++++++++++++++
 2 files changed, 118 insertions(+)

diff --git a/sci-libs/sundials/Manifest b/sci-libs/sundials/Manifest
index dc11161c3fdd..8347f91d2451 100644
--- a/sci-libs/sundials/Manifest
+++ b/sci-libs/sundials/Manifest
@@ -1,3 +1,4 @@
 DIST sundials-5.2.0.tar.gz 18639221 BLAKE2B c10e6deb5839993b8601347be94412d0b0c058084b4dc0d380681f7b4debd535f9736c2ef734e9fd84c6ddc190ab05f46abcb711225ec1f156a18d8edb6317fb SHA512 99163a104e436dab4779c77519502b5614b65d726324b29b14236315f6916beb5863fcd56b5acf19f62985c033b227fba1ebd3d3c4607ce991d94ee7739bb55f
 DIST sundials-5.8.0.tar.gz 24012815 BLAKE2B f707ad7465218532f3dc4df7627b87933b2bc52be6f1ad290b91ab83a3414ae83bc64503126af8772daa000f58a89855d7ca35fe74fa21bd91180695582442c7 SHA512 d22e699aaddaeef026e91e18dd070d06278c75b6980b36c6fb2e50203ba6445420e4a8e0612a6317dcaa521aeffbdf62ab88737be235ef70cef3a8be02a13dbb
 DIST sundials-6.2.0.tar.gz 82410068 BLAKE2B c6aa9735198465bb458590ef1a90101e246202632afd6bd7f48970b9a2752810ce8c5be7983097cd816189cb994efbddf8d34706665846c67d6442bd7c12db38 SHA512 0dd0a2bf6390a13a5846caf440aa6d459f3890f6d13c0eff8c8180a92a636d6eae7f64679d45acd2048de742d4c644e2ae112cb09028b3fdef10a247bee44c0b
+DIST sundials-6.5.0.tar.gz 89142911 BLAKE2B 3605686f813928fe55e5aafd409c478cf782411b5d2e510121fe15cc15eae84a5d0fe7470c7c0c976fbe11e7f0fd0e9fb449ae45b4c34aa077ac1acb25255cf5 SHA512 30ad3d3f998df6a6381a14b0c8fe247a5507e386ed1b9b55afae87b976f15026d7b4e8609c3cf8423ad79e1b55bade40dc66b274dc3422e040cb12fec981d502

diff --git a/sci-libs/sundials/sundials-6.5.0.ebuild b/sci-libs/sundials/sundials-6.5.0.ebuild
new file mode 100644
index 000000000000..ac6b57bf182b
--- /dev/null
+++ b/sci-libs/sundials/sundials-6.5.0.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+FORTRAN_NEEDED=fortran
+FORTRAN_STANDARD="77 90 2003"
+# if FFLAGS and FCFLAGS are set then should be equal
+
+inherit cmake flag-o-matic fortran-2 toolchain-funcs
+
+DESCRIPTION="Suite of nonlinear solvers"
+HOMEPAGE="https://computing.llnl.gov/projects/sundials"
+SRC_URI="https://github.com/LLNL/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples fortran hypre +int64 lapack mpi openmp sparse +static-libs superlumt threads"
+REQUIRED_USE="
+	fortran? ( static-libs )
+	hypre? ( mpi )
+"
+
+BDEPEND="virtual/pkgconfig"
+RDEPEND="
+	lapack? ( virtual/lapack )
+	mpi? (
+		sci-libs/hypre:=[fortran?,mpi?]
+		virtual/mpi[fortran?]
+	)
+	sparse? ( sci-libs/klu )
+	superlumt? ( sci-libs/superlu_mt:=[int64=] )
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-5.8.0-fix-license-install-path.patch
+)
+
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+
+	use fortran && fortran-2_pkg_setup
+}
+
+src_prepare() {
+	# bug #707240
+	append-cflags -fcommon
+	use threads && append-ldflags -pthread
+
+	cmake_src_prepare
+}
+
+src_configure() {
+	mycmakeargs+=(
+		-DBUILD_FORTRAN_MODULE_INTERFACE=$(usex fortran)
+		-DBUILD_SHARED_LIBS=ON
+		-DBUILD_STATIC_LIBS=$(usex static-libs)
+		-DENABLE_HYPRE=$(usex hypre)
+		-DENABLE_KLU=$(usex sparse)
+		-DENABLE_LAPACK=$(usex lapack)
+		-DENABLE_MPI=$(usex mpi)
+		-DENABLE_OPENMP=$(usex openmp)
+		-DENABLE_PTHREAD=$(usex threads)
+		-DENABLE_SUPERLUMT=$(usex superlumt)
+		-DEXAMPLES_INSTALL=ON
+		-DEXAMPLES_INSTALL_PATH="/usr/share/doc/${PF}/examples"
+		-DSUNDIALS_INDEX_SIZE="$(usex int64 64 32)"
+		-DSUPERLUMT_INCLUDE_DIR="${EPREFIX}/usr/include/superlu_mt"
+		-DSUPERLUMT_LIBRARY="-lsuperlu_mt"
+		-DUSE_GENERIC_MATH=ON
+	)
+
+	if use examples; then
+		mycmakeargs+=(
+			-DEXAMPLES_ENABLE_C=ON
+			-DEXAMPLES_ENABLE_CXX=ON
+		)
+		if use fortran; then
+			mycmakeargs+=(
+				-DEXAMPLES_ENABLE_F2003=ON
+			)
+		fi
+	fi
+
+	if use fortran; then
+		mycmakeargs+=(
+			-DFortran_INSTALL_MODDIR="${EPREFIX}/usr/$(get_libdir)/fortran"
+		)
+	fi
+
+	if use hypre; then
+		mycmakeargs+=(
+			-DHYPRE_INCLUDE_DIR="${EPREFIX}/usr/include/hypre"
+			-DHYPRE_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libHYPRE.so"
+		)
+	fi
+
+	if use sparse; then
+		mycmakeargs+=(
+			-DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so"
+		)
+	fi
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+	use doc && dodoc doc/*/*.pdf
+}


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2023-03-04 13:51 Arthur Zamarin
  0 siblings, 0 replies; 32+ messages in thread
From: Arthur Zamarin @ 2023-03-04 13:51 UTC (permalink / raw
  To: gentoo-commits

commit:     cf3fb040420ced3e4f5e7ef9b050a238b9094ca0
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  4 13:50:01 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar  4 13:50:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf3fb040

sci-libs/sundials: Stabilize 6.5.0 amd64, #899438

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sci-libs/sundials/sundials-6.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/sundials/sundials-6.5.0.ebuild b/sci-libs/sundials/sundials-6.5.0.ebuild
index ac6b57bf182b..3c5b1fe76979 100644
--- a/sci-libs/sundials/sundials-6.5.0.ebuild
+++ b/sci-libs/sundials/sundials-6.5.0.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/LLNL/${PN}/releases/download/v${PV}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0/$(ver_cut 1)"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples fortran hypre +int64 lapack mpi openmp sparse +static-libs superlumt threads"
 REQUIRED_USE="
 	fortran? ( static-libs )


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2024-03-24  6:57 Sam James
  0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2024-03-24  6:57 UTC (permalink / raw
  To: gentoo-commits

commit:     badab11d7c186f4c0140f06771d3ce3d66190a91
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Sun Mar 24 06:11:42 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 24 06:56:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=badab11d

sci-libs/sundials: mark as LTO-unsafe

It fails with linking errors that are probably fortran related.

An upstream ticket exists since 2021 but no sign anything is being done
about it.

Bug: https://github.com/LLNL/sundials/issues/97
Closes: https://bugs.gentoo.org/862933
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/sundials/sundials-5.8.0.ebuild | 8 +++++++-
 sci-libs/sundials/sundials-6.2.0.ebuild | 8 +++++++-
 sci-libs/sundials/sundials-6.5.0.ebuild | 8 +++++++-
 3 files changed, 21 insertions(+), 3 deletions(-)

diff --git a/sci-libs/sundials/sundials-5.8.0.ebuild b/sci-libs/sundials/sundials-5.8.0.ebuild
index 517e32342ded..53665c56e14f 100644
--- a/sci-libs/sundials/sundials-5.8.0.ebuild
+++ b/sci-libs/sundials/sundials-5.8.0.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
@@ -57,6 +57,12 @@ src_prepare() {
 }
 
 src_configure() {
+	# undefined reference to `psolve'
+	# undefined reference to `psetup'
+	# https://bugs.gentoo.org/862933
+	# https://github.com/LLNL/sundials/issues/97
+	filter-lto
+
 	mycmakeargs+=(
 		-DBUILD_FORTRAN77_INTERFACE=$(usex fortran)
 		-DBUILD_FORTRAN_MODULE_INTERFACE=$(usex fortran)

diff --git a/sci-libs/sundials/sundials-6.2.0.ebuild b/sci-libs/sundials/sundials-6.2.0.ebuild
index 6c7c190fc0c7..d7351c6df946 100644
--- a/sci-libs/sundials/sundials-6.2.0.ebuild
+++ b/sci-libs/sundials/sundials-6.2.0.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
@@ -58,6 +58,12 @@ src_prepare() {
 }
 
 src_configure() {
+	# undefined reference to `psolve'
+	# undefined reference to `psetup'
+	# https://bugs.gentoo.org/862933
+	# https://github.com/LLNL/sundials/issues/97
+	filter-lto
+
 	mycmakeargs+=(
 		-DBUILD_FORTRAN_MODULE_INTERFACE=$(usex fortran)
 		-DBUILD_SHARED_LIBS=ON

diff --git a/sci-libs/sundials/sundials-6.5.0.ebuild b/sci-libs/sundials/sundials-6.5.0.ebuild
index 3c5b1fe76979..d98b371af267 100644
--- a/sci-libs/sundials/sundials-6.5.0.ebuild
+++ b/sci-libs/sundials/sundials-6.5.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
@@ -58,6 +58,12 @@ src_prepare() {
 }
 
 src_configure() {
+	# undefined reference to `psolve'
+	# undefined reference to `psetup'
+	# https://bugs.gentoo.org/862933
+	# https://github.com/LLNL/sundials/issues/97
+	filter-lto
+
 	mycmakeargs+=(
 		-DBUILD_FORTRAN_MODULE_INTERFACE=$(usex fortran)
 		-DBUILD_SHARED_LIBS=ON


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2024-07-04 16:53 Matthias Maier
  0 siblings, 0 replies; 32+ messages in thread
From: Matthias Maier @ 2024-07-04 16:53 UTC (permalink / raw
  To: gentoo-commits

commit:     466c0b85025e5536f5c68fb19a874756e059f62c
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  4 16:36:48 2024 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Thu Jul  4 16:53:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=466c0b85

sci-libs/sundials: add 7.0.0

 - Remove "examples" use flag and do not compile examples that never get
   installed. We already install the example source code unconditionally
   as part of the documentation.

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-libs/sundials/Manifest              |   1 +
 sci-libs/sundials/sundials-7.0.0.ebuild | 110 ++++++++++++++++++++++++++++++++
 2 files changed, 111 insertions(+)

diff --git a/sci-libs/sundials/Manifest b/sci-libs/sundials/Manifest
index dc635448d6f7..b8b9223f233c 100644
--- a/sci-libs/sundials/Manifest
+++ b/sci-libs/sundials/Manifest
@@ -1,3 +1,4 @@
 DIST sundials-5.8.0.tar.gz 24012815 BLAKE2B f707ad7465218532f3dc4df7627b87933b2bc52be6f1ad290b91ab83a3414ae83bc64503126af8772daa000f58a89855d7ca35fe74fa21bd91180695582442c7 SHA512 d22e699aaddaeef026e91e18dd070d06278c75b6980b36c6fb2e50203ba6445420e4a8e0612a6317dcaa521aeffbdf62ab88737be235ef70cef3a8be02a13dbb
 DIST sundials-6.2.0.tar.gz 82410068 BLAKE2B c6aa9735198465bb458590ef1a90101e246202632afd6bd7f48970b9a2752810ce8c5be7983097cd816189cb994efbddf8d34706665846c67d6442bd7c12db38 SHA512 0dd0a2bf6390a13a5846caf440aa6d459f3890f6d13c0eff8c8180a92a636d6eae7f64679d45acd2048de742d4c644e2ae112cb09028b3fdef10a247bee44c0b
 DIST sundials-6.5.0.tar.gz 89142911 BLAKE2B 3605686f813928fe55e5aafd409c478cf782411b5d2e510121fe15cc15eae84a5d0fe7470c7c0c976fbe11e7f0fd0e9fb449ae45b4c34aa077ac1acb25255cf5 SHA512 30ad3d3f998df6a6381a14b0c8fe247a5507e386ed1b9b55afae87b976f15026d7b4e8609c3cf8423ad79e1b55bade40dc66b274dc3422e040cb12fec981d502
+DIST sundials-7.0.0.tar.gz 91813927 BLAKE2B 5fab34e674473078812e9a7be43d19ac2595adf7d6f7b71f90375546578eaf42f7e45d1d6297dbedbbc454fb84f741c4e5a4e43766dfc2774ac5dadfcb3295d7 SHA512 4f818124985d6083c6c1a9d34ae2f7d8e6f9a5ca1c1c01e8d00d2b516fdd34eb634c9e601c8a0d1515f198a70d3c1f11118da99a48b4d067464312b02d8265a9

diff --git a/sci-libs/sundials/sundials-7.0.0.ebuild b/sci-libs/sundials/sundials-7.0.0.ebuild
new file mode 100644
index 000000000000..e3baf22eb43e
--- /dev/null
+++ b/sci-libs/sundials/sundials-7.0.0.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+FORTRAN_NEEDED=fortran
+FORTRAN_STANDARD="77 90 2003"
+# if FFLAGS and FCFLAGS are set then should be equal
+
+inherit cmake flag-o-matic fortran-2 toolchain-funcs
+
+DESCRIPTION="Suite of nonlinear solvers"
+HOMEPAGE="https://computing.llnl.gov/projects/sundials"
+SRC_URI="https://github.com/LLNL/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc fortran hypre +int64 lapack mpi openmp sparse +static-libs superlumt threads"
+REQUIRED_USE="
+	fortran? ( static-libs )
+	hypre? ( mpi )
+"
+
+BDEPEND="virtual/pkgconfig"
+RDEPEND="
+	lapack? ( virtual/lapack )
+	mpi? (
+		sci-libs/hypre:=[fortran?,mpi?]
+		virtual/mpi[fortran?]
+	)
+	sparse? ( sci-libs/klu )
+	superlumt? ( sci-libs/superlu_mt:=[int64=] )
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-5.8.0-fix-license-install-path.patch
+)
+
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+
+	use fortran && fortran-2_pkg_setup
+}
+
+src_prepare() {
+	# bug #707240
+	append-cflags -fcommon
+	use threads && append-ldflags -pthread
+
+	cmake_src_prepare
+}
+
+src_configure() {
+	# undefined reference to `psolve'
+	# undefined reference to `psetup'
+	# https://bugs.gentoo.org/862933
+	# https://github.com/LLNL/sundials/issues/97
+	filter-lto
+
+	mycmakeargs+=(
+		-DBUILD_FORTRAN_MODULE_INTERFACE=$(usex fortran)
+		-DBUILD_SHARED_LIBS=ON
+		-DBUILD_STATIC_LIBS=$(usex static-libs)
+		-DENABLE_HYPRE=$(usex hypre)
+		-DENABLE_KLU=$(usex sparse)
+		-DENABLE_LAPACK=$(usex lapack)
+		-DENABLE_MPI=$(usex mpi)
+		-DENABLE_OPENMP=$(usex openmp)
+		-DENABLE_PTHREAD=$(usex threads)
+		-DENABLE_SUPERLUMT=$(usex superlumt)
+		-DEXAMPLES_INSTALL=ON
+		-DEXAMPLES_INSTALL_PATH="/usr/share/doc/${PF}/examples"
+		-DSUNDIALS_INDEX_SIZE="$(usex int64 64 32)"
+		-DSUPERLUMT_INCLUDE_DIR="${EPREFIX}/usr/include/superlu_mt"
+		-DSUPERLUMT_LIBRARY="-lsuperlu_mt"
+	)
+
+	if use fortran; then
+		mycmakeargs+=(
+			-DFortran_INSTALL_MODDIR="${EPREFIX}/usr/$(get_libdir)/fortran"
+		)
+	fi
+
+	if use hypre; then
+		mycmakeargs+=(
+			-DHYPRE_INCLUDE_DIR="${EPREFIX}/usr/include/hypre"
+			-DHYPRE_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libHYPRE.so"
+		)
+	fi
+
+	if use sparse; then
+		mycmakeargs+=(
+			-DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so"
+		)
+	fi
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+	use doc && dodoc doc/*/*.pdf
+}


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2024-09-20 22:28 Matthias Maier
  0 siblings, 0 replies; 32+ messages in thread
From: Matthias Maier @ 2024-09-20 22:28 UTC (permalink / raw
  To: gentoo-commits

commit:     2bc67cf357db36f45297a283dc2d36942263c67d
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 20 22:15:32 2024 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Fri Sep 20 22:28:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bc67cf3

sci-libs/sundials: add 7.1.1

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-libs/sundials/Manifest              |   1 +
 sci-libs/sundials/sundials-7.1.1.ebuild | 110 ++++++++++++++++++++++++++++++++
 2 files changed, 111 insertions(+)

diff --git a/sci-libs/sundials/Manifest b/sci-libs/sundials/Manifest
index b8b9223f233c..2887d9a2518a 100644
--- a/sci-libs/sundials/Manifest
+++ b/sci-libs/sundials/Manifest
@@ -2,3 +2,4 @@ DIST sundials-5.8.0.tar.gz 24012815 BLAKE2B f707ad7465218532f3dc4df7627b87933b2b
 DIST sundials-6.2.0.tar.gz 82410068 BLAKE2B c6aa9735198465bb458590ef1a90101e246202632afd6bd7f48970b9a2752810ce8c5be7983097cd816189cb994efbddf8d34706665846c67d6442bd7c12db38 SHA512 0dd0a2bf6390a13a5846caf440aa6d459f3890f6d13c0eff8c8180a92a636d6eae7f64679d45acd2048de742d4c644e2ae112cb09028b3fdef10a247bee44c0b
 DIST sundials-6.5.0.tar.gz 89142911 BLAKE2B 3605686f813928fe55e5aafd409c478cf782411b5d2e510121fe15cc15eae84a5d0fe7470c7c0c976fbe11e7f0fd0e9fb449ae45b4c34aa077ac1acb25255cf5 SHA512 30ad3d3f998df6a6381a14b0c8fe247a5507e386ed1b9b55afae87b976f15026d7b4e8609c3cf8423ad79e1b55bade40dc66b274dc3422e040cb12fec981d502
 DIST sundials-7.0.0.tar.gz 91813927 BLAKE2B 5fab34e674473078812e9a7be43d19ac2595adf7d6f7b71f90375546578eaf42f7e45d1d6297dbedbbc454fb84f741c4e5a4e43766dfc2774ac5dadfcb3295d7 SHA512 4f818124985d6083c6c1a9d34ae2f7d8e6f9a5ca1c1c01e8d00d2b516fdd34eb634c9e601c8a0d1515f198a70d3c1f11118da99a48b4d067464312b02d8265a9
+DIST sundials-7.1.1.tar.gz 93104639 BLAKE2B 0bd6197c776dffc1621d2212611eb93e69a4691765474eb005759334afbba344cd120fa9d1a5b3fe5bc8cb67cd0eeb210e730fa00aaa6e022490fd5278aa2570 SHA512 5dc1329f8baf94601133e66def9db95e3d62dc954c1f2d52612aea121600b93f188089d361ff0fc7bdf0264daee13b9b062174705dc06ceecbde2eb2121856a2

diff --git a/sci-libs/sundials/sundials-7.1.1.ebuild b/sci-libs/sundials/sundials-7.1.1.ebuild
new file mode 100644
index 000000000000..e3baf22eb43e
--- /dev/null
+++ b/sci-libs/sundials/sundials-7.1.1.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+FORTRAN_NEEDED=fortran
+FORTRAN_STANDARD="77 90 2003"
+# if FFLAGS and FCFLAGS are set then should be equal
+
+inherit cmake flag-o-matic fortran-2 toolchain-funcs
+
+DESCRIPTION="Suite of nonlinear solvers"
+HOMEPAGE="https://computing.llnl.gov/projects/sundials"
+SRC_URI="https://github.com/LLNL/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc fortran hypre +int64 lapack mpi openmp sparse +static-libs superlumt threads"
+REQUIRED_USE="
+	fortran? ( static-libs )
+	hypre? ( mpi )
+"
+
+BDEPEND="virtual/pkgconfig"
+RDEPEND="
+	lapack? ( virtual/lapack )
+	mpi? (
+		sci-libs/hypre:=[fortran?,mpi?]
+		virtual/mpi[fortran?]
+	)
+	sparse? ( sci-libs/klu )
+	superlumt? ( sci-libs/superlu_mt:=[int64=] )
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-5.8.0-fix-license-install-path.patch
+)
+
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+
+	use fortran && fortran-2_pkg_setup
+}
+
+src_prepare() {
+	# bug #707240
+	append-cflags -fcommon
+	use threads && append-ldflags -pthread
+
+	cmake_src_prepare
+}
+
+src_configure() {
+	# undefined reference to `psolve'
+	# undefined reference to `psetup'
+	# https://bugs.gentoo.org/862933
+	# https://github.com/LLNL/sundials/issues/97
+	filter-lto
+
+	mycmakeargs+=(
+		-DBUILD_FORTRAN_MODULE_INTERFACE=$(usex fortran)
+		-DBUILD_SHARED_LIBS=ON
+		-DBUILD_STATIC_LIBS=$(usex static-libs)
+		-DENABLE_HYPRE=$(usex hypre)
+		-DENABLE_KLU=$(usex sparse)
+		-DENABLE_LAPACK=$(usex lapack)
+		-DENABLE_MPI=$(usex mpi)
+		-DENABLE_OPENMP=$(usex openmp)
+		-DENABLE_PTHREAD=$(usex threads)
+		-DENABLE_SUPERLUMT=$(usex superlumt)
+		-DEXAMPLES_INSTALL=ON
+		-DEXAMPLES_INSTALL_PATH="/usr/share/doc/${PF}/examples"
+		-DSUNDIALS_INDEX_SIZE="$(usex int64 64 32)"
+		-DSUPERLUMT_INCLUDE_DIR="${EPREFIX}/usr/include/superlu_mt"
+		-DSUPERLUMT_LIBRARY="-lsuperlu_mt"
+	)
+
+	if use fortran; then
+		mycmakeargs+=(
+			-DFortran_INSTALL_MODDIR="${EPREFIX}/usr/$(get_libdir)/fortran"
+		)
+	fi
+
+	if use hypre; then
+		mycmakeargs+=(
+			-DHYPRE_INCLUDE_DIR="${EPREFIX}/usr/include/hypre"
+			-DHYPRE_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libHYPRE.so"
+		)
+	fi
+
+	if use sparse; then
+		mycmakeargs+=(
+			-DKLU_LIBRARY="${EPREFIX}/usr/$(get_libdir)/libklu.so"
+		)
+	fi
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+	use doc && dodoc doc/*/*.pdf
+}


^ permalink raw reply related	[flat|nested] 32+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
@ 2024-11-13  1:50 Sam James
  0 siblings, 0 replies; 32+ messages in thread
From: Sam James @ 2024-11-13  1:50 UTC (permalink / raw
  To: gentoo-commits

commit:     52a8b024eb61ac99693cc2fc5e49fd99ffecb742
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 13 01:49:59 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 13 01:49:59 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52a8b024

sci-libs/sundials: Stabilize 7.1.1 amd64, #942127

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/sundials/sundials-7.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/sundials/sundials-7.1.1.ebuild b/sci-libs/sundials/sundials-7.1.1.ebuild
index e3baf22eb43e..3b46e35d136d 100644
--- a/sci-libs/sundials/sundials-7.1.1.ebuild
+++ b/sci-libs/sundials/sundials-7.1.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/LLNL/${PN}/releases/download/v${PV}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0/$(ver_cut 1)"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc fortran hypre +int64 lapack mpi openmp sparse +static-libs superlumt threads"
 REQUIRED_USE="
 	fortran? ( static-libs )


^ permalink raw reply related	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2024-11-13  1:50 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-20  4:16 [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/ Matthias Maier
  -- strict thread matches above, loose matches on Subject: below --
2018-04-24 15:58 Matthias Maier
2018-04-24 16:19 Matthias Maier
2018-05-16 22:57 Aaron Bauman
2019-07-15 21:35 Matthias Maier
2019-07-16 13:21 Matthias Maier
2019-07-30 15:12 Matthias Maier
2020-01-14 14:56 Agostino Sarubbo
2020-06-06  0:28 Andreas Sturmlechner
2020-10-09 15:23 Agostino Sarubbo
2020-12-07 15:27 Sam James
2020-12-07 15:27 Sam James
2020-12-12 22:20 Sam James
2020-12-12 23:31 Sam James
2021-02-27  5:16 Sam James
2021-07-16  5:27 Sam James
2021-10-04 10:09 Jakov Smolić
2021-10-04 19:35 Jakov Smolić
2021-10-12 22:23 Marek Szuba
2021-10-12 22:23 Marek Szuba
2021-12-01  6:37 Yixun Lan
2021-12-13  6:57 Agostino Sarubbo
2022-05-14 21:30 David Seifert
2022-05-17 22:12 Sam James
2022-07-07  6:34 Agostino Sarubbo
2022-08-03 23:45 Sam James
2023-01-02 18:22 Matthias Maier
2023-03-04 13:51 Arthur Zamarin
2024-03-24  6:57 Sam James
2024-07-04 16:53 Matthias Maier
2024-09-20 22:28 Matthias Maier
2024-11-13  1:50 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox