From: "Matthias Maier" <tamiko@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/
Date: Tue, 24 Apr 2018 15:58:04 +0000 (UTC) [thread overview]
Message-ID: <1524585471.2c6300bae5d00a1b8891c986fdc7a93b79ca47f6.tamiko@gentoo> (raw)
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
+}
next reply other threads:[~2018-04-24 15:58 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-24 15:58 Matthias Maier [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-13 1:50 [gentoo-commits] repo/gentoo:master commit in: sci-libs/sundials/ Sam James
2024-09-20 22:28 Matthias Maier
2024-07-04 16:53 Matthias Maier
2024-03-24 6:57 Sam James
2023-03-04 13:51 Arthur Zamarin
2023-01-02 18:22 Matthias Maier
2022-08-03 23:45 Sam James
2022-07-07 6:34 Agostino Sarubbo
2022-05-17 22:12 Sam James
2022-05-14 21:30 David Seifert
2021-12-13 6:57 Agostino Sarubbo
2021-12-01 6:37 Yixun Lan
2021-10-12 22:23 Marek Szuba
2021-10-12 22:23 Marek Szuba
2021-10-04 19:35 Jakov Smolić
2021-10-04 10:09 Jakov Smolić
2021-07-16 5:27 Sam James
2021-02-27 5:16 Sam James
2020-12-12 23:31 Sam James
2020-12-12 22:20 Sam James
2020-12-07 15:27 Sam James
2020-12-07 15:27 Sam James
2020-10-09 15:23 Agostino Sarubbo
2020-06-06 0:28 Andreas Sturmlechner
2020-01-14 14:56 Agostino Sarubbo
2019-07-30 15:12 Matthias Maier
2019-07-16 13:21 Matthias Maier
2019-07-15 21:35 Matthias Maier
2018-05-16 22:57 Aaron Bauman
2018-04-24 16:19 Matthias Maier
2018-03-20 4:16 Matthias Maier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1524585471.2c6300bae5d00a1b8891c986fdc7a93b79ca47f6.tamiko@gentoo \
--to=tamiko@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox