public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jakov Smolić" <jsmolic@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/superlu/
Date: Mon,  4 Oct 2021 19:33:27 +0000 (UTC)	[thread overview]
Message-ID: <1633375998.f86064edba7fd88e5f9b6fa6aec9e52aaf5b0639.jsmolic@gentoo> (raw)

commit:     f86064edba7fd88e5f9b6fa6aec9e52aaf5b0639
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  4 19:14:17 2021 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Mon Oct  4 19:33:18 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f86064ed

sci-libs/superlu: add 5.3.0

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

 sci-libs/superlu/Manifest             |  1 +
 sci-libs/superlu/superlu-5.3.0.ebuild | 55 +++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/sci-libs/superlu/Manifest b/sci-libs/superlu/Manifest
index 3f0630c28ea..53cf5f7f2fb 100644
--- a/sci-libs/superlu/Manifest
+++ b/sci-libs/superlu/Manifest
@@ -1,2 +1,3 @@
+DIST superlu-5.3.0.tar.gz 2483070 BLAKE2B 2e877c12b698fae6649d3146d4a22a8c701df813d1fa037b7707081229de09e102660e75dd32138264ad9e01e5b3e820012106cd2b0d46cc2a1c37dc5eaafec2 SHA512 1461b52bc18a8b0345beb70fdd46e07df497a13be840bcc061158ea1d0e61c8745806d1ad21cb2723db80f5ed762c3741f9c0ded2b2013df46da0e8bb6b77b83
 DIST superlu_4.3.tar.gz 2876631 BLAKE2B 0a563e6730394f8e69fe13f1418f9f046bd37c848c51063e93a24a209e50a67f91b725eb3978fd6c4d28e51615806d6c0b6a2539cbc0d7fd11b5e4f0a9360148 SHA512 5c13da47b79160be14719f62ccdf5d59142a172e25a988fa340eaeb001a64d7f45ba39e675cb7aa3571bec52cb3a7cda0bb7a708c9608184ba6251edb7990e8c
 DIST superlu_5.2.2.tar.gz 2481538 BLAKE2B db9d6437c8012f1aeeb3313212298a77e4ef04405c6ec853ceeef8b80426ea80d8b9fc30a0ca2dd7288131a0e21c43e17cafafaa7fb615d6d825b54f4beb84a2 SHA512 091928a3df3433b337ebdacdb28de341d6d29d655965de6ffd656a6de18cf11171555bfd3af73082af62b1cead6835b4c11e4ba524a32db7f7d28db47c9d490c

diff --git a/sci-libs/superlu/superlu-5.3.0.ebuild b/sci-libs/superlu/superlu-5.3.0.ebuild
new file mode 100644
index 00000000000..e9e68e0bab5
--- /dev/null
+++ b/sci-libs/superlu/superlu-5.3.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_STANDARD=77
+
+inherit cmake fortran-2
+
+DESCRIPTION="Sparse LU factorization library"
+HOMEPAGE="https://crd-legacy.lbl.gov/~xiaoye/SuperLU/"
+SRC_URI="https://github.com/xiaoyeli/superlu/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/$(ver_cut 1)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+	virtual/pkgconfig
+	test? ( app-shells/tcsh )
+"
+RDEPEND="virtual/blas"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-5.2.2-no-internal-blas.patch
+)
+
+src_prepare() {
+	cmake_src_prepare
+	# respect user's CFLAGS
+	sed -i -e 's/O3//' CMakeLists.txt || die
+}
+
+src_configure() {
+	local mycmakeargs+=(
+		-DCMAKE_INSTALL_INCLUDEDIR="include/superlu"
+		-DBUILD_SHARED_LIBS=ON
+		-Denable_internal_blaslib=OFF
+		-Denable_tests=$(usex test)
+	)
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+	use doc && dodoc -r DOC/html
+	if use examples; then
+		docinto examples
+		dodoc -r EXAMPLE FORTRAN
+		docompress -x /usr/share/doc/${PF}/examples
+	fi
+}


             reply	other threads:[~2021-10-04 19:33 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-04 19:33 Jakov Smolić [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-10  8:56 [gentoo-commits] repo/gentoo:master commit in: sci-libs/superlu/ Sam James
2023-06-03 11:15 Arthur Zamarin
2022-12-04  9:23 WANG Xuerui
2022-08-25  0:53 Sam James
2021-11-09 21:41 Jakov Smolić
2021-11-09 21:37 Sam James
2021-11-09 21:36 Sam James
2021-11-09 21:35 Sam James
2021-11-09 21:35 Sam James
2021-11-09 21:34 Sam James
2021-11-09 13:48 Jakov Smolić
2021-10-24 21:14 Sam James
2021-10-12 22:23 Marek Szuba
2021-10-04 19:33 Jakov Smolić
2021-10-02 23:17 Sam James
2021-07-14 16:15 Marek Szuba
2021-01-05 22:55 Sam James
2021-01-05 22:51 Sam James
2021-01-05 22:32 Sam James
2021-01-05 21:09 Sam James
2021-01-05 20:51 Sam James
2021-01-03 12:10 Sergei Trofimovich
2021-01-03 11:51 Sergei Trofimovich
2020-12-29 17:14 Sam James
2019-02-27  4:25 Aaron Bauman
2018-08-22  0:35 Mikle Kolyada
2018-08-18 22:36 Sergei Trofimovich
2017-11-27 19:46 Sergei Trofimovich
2017-10-16  3:34 David Seifert
2017-07-30 10:04 Michał Górny
2017-07-08  9:25 Alexis Ballier
2017-07-01  9:52 Sergei Trofimovich
2017-04-29 12:42 Jeroen Roovers
2016-12-22 15:40 Sebastien Fabbro
2016-12-19 23:51 Sebastien Fabbro
2016-06-07 16:47 Tobias Klausmann
2015-11-10 19:06 Markus Meier

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=1633375998.f86064edba7fd88e5f9b6fa6aec9e52aaf5b0639.jsmolic@gentoo \
    --to=jsmolic@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