public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/superlu/
Date: Thu, 24 Apr 2025 19:55:17 +0000 (UTC)	[thread overview]
Message-ID: <1745524132.d6ba5ddd7e3bd93c103af9f03a81d9a8cc0b9714.sam@gentoo> (raw)

commit:     d6ba5ddd7e3bd93c103af9f03a81d9a8cc0b9714
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 24 19:48:52 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 24 19:48:52 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6ba5ddd

sci-libs/superlu: add 7.0.1

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

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

diff --git a/sci-libs/superlu/Manifest b/sci-libs/superlu/Manifest
index b70359d59397..1c484cffb04b 100644
--- a/sci-libs/superlu/Manifest
+++ b/sci-libs/superlu/Manifest
@@ -1,3 +1,4 @@
 DIST superlu-5.3.0.tar.gz 2483070 BLAKE2B 2e877c12b698fae6649d3146d4a22a8c701df813d1fa037b7707081229de09e102660e75dd32138264ad9e01e5b3e820012106cd2b0d46cc2a1c37dc5eaafec2 SHA512 1461b52bc18a8b0345beb70fdd46e07df497a13be840bcc061158ea1d0e61c8745806d1ad21cb2723db80f5ed762c3741f9c0ded2b2013df46da0e8bb6b77b83
+DIST superlu-7.0.1.tar.gz 2512312 BLAKE2B b8d593f243905bfae38051012846e092ec7a3a5b190571e32c52dce1d1ea3f86ef09d05840681278cc66df1f6aa3fbd411e231e7032f7db06ec5111113334f2e SHA512 1825cf6ac37b68043ade790d182628233b82692cf3b84a2f217e0db34383995d0281ac73d7fe0392f24c43a540d4ea869fc5b46984709107d39888a37b70938d
 DIST superlu_4.3.new.tar.gz 2875951 BLAKE2B 4208edb7df0babc0bb7e21077c6e0a00a10766a2d01b2da47f05ecdb232ca3309a2bce00f2cd1b709a8c01b7de2276e4f7d63856ace2e93c3598f1cdcdc12712 SHA512 57799051c5cd394e4cb1b89481a4706ee0a21159f06941bab4a39dfe30f4b6ccdf67042c6ec2c479a12deee0ed26c3707069a5b53281fb26b6c752ca77102aad
 DIST superlu_4.3.tar.gz 2876631 BLAKE2B 0a563e6730394f8e69fe13f1418f9f046bd37c848c51063e93a24a209e50a67f91b725eb3978fd6c4d28e51615806d6c0b6a2539cbc0d7fd11b5e4f0a9360148 SHA512 5c13da47b79160be14719f62ccdf5d59142a172e25a988fa340eaeb001a64d7f45ba39e675cb7aa3571bec52cb3a7cda0bb7a708c9608184ba6251edb7990e8c

diff --git a/sci-libs/superlu/superlu-7.0.1.ebuild b/sci-libs/superlu/superlu-7.0.1.ebuild
new file mode 100644
index 000000000000..ee7ea7f24b20
--- /dev/null
+++ b/sci-libs/superlu/superlu-7.0.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2025 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://portal.nersc.gov/project/sparse/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 ~loong ~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:[~2025-04-24 19:55 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-24 19:55 Sam James [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-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=1745524132.d6ba5ddd7e3bd93c103af9f03a81d9a8cc0b9714.sam@gentoo \
    --to=sam@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