From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/klu/
Date: Tue, 20 Jun 2023 00:02:40 +0000 (UTC) [thread overview]
Message-ID: <1687219277.b121f6f3c815062f11ccd8b6b260818ab31a5a00.mjo@gentoo> (raw)
commit: b121f6f3c815062f11ccd8b6b260818ab31a5a00
Author: François Bissey <frp.bissey <AT> gmail <DOT> com>
AuthorDate: Mon Jun 5 21:40:40 2023 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Tue Jun 20 00:01:17 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b121f6f3
sci-libs/klu: add 2.0.3
Signed-off-by: François Bissey <frp.bissey <AT> gmail.com>
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
sci-libs/klu/Manifest | 1 +
sci-libs/klu/klu-2.0.3.ebuild | 65 +++++++++++++++++++++++++++++++++++++++++++
sci-libs/klu/metadata.xml | 3 ++
3 files changed, 69 insertions(+)
diff --git a/sci-libs/klu/Manifest b/sci-libs/klu/Manifest
index 5b61d529d95c..0e6da4f95109 100644
--- a/sci-libs/klu/Manifest
+++ b/sci-libs/klu/Manifest
@@ -1 +1,2 @@
+DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e
DIST klu-1.3.9.tar.bz2 635596 BLAKE2B 6c6c84cf1b30e78cbaaee6bebed21c806d1672bee5f7ea061e7ef057ff56fd456e8517ca2ff1018a14ebcbc8f96b9e87989e22d8996817394666e6d8d2d727dd SHA512 b7fd862fe8443596758c27f9c918e367b3b3816340836e74cf8d97a2e755fbe07d133778eea3d054bc70243fa15c2bd71f4fd90c1179879661ba2d624b8f0706
diff --git a/sci-libs/klu/klu-2.0.3.ebuild b/sci-libs/klu/klu-2.0.3.ebuild
new file mode 100644
index 000000000000..a6d72f72194a
--- /dev/null
+++ b/sci-libs/klu/klu-2.0.3.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib
+
+Sparse_PV="7.0.0"
+Sparse_P="SuiteSparse-${Sparse_PV}"
+DESCRIPTION="Sparse LU factorization for circuit simulation"
+HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html"
+SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0/2"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+DEPEND=">=sci-libs/suitesparseconfig-7.0.0
+ >=sci-libs/amd-3.0.3
+ >=sci-libs/btf-2.0.3
+ >=sci-libs/colamd-3.0.3
+ >=sci-libs/cholmod-4.0.3"
+RDEPEND="${DEPEND}"
+BDEPEND="doc? ( virtual/latex-base )"
+
+S="${WORKDIR}/${Sparse_P}/${PN^^}"
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DNSTATIC=ON
+ -DDEMO=$(usex test)
+ )
+ cmake_src_configure
+}
+
+multilib_src_test() {
+ # Run demo files
+ ./klu_simple
+ ./kludemo < "${S}"/Matrix/1c.mtx || die "failed testing"
+ ./kludemo < "${S}"/Matrix/arrowc.mtx || die "failed testing"
+ ./kludemo < "${S}"/Matrix/arrow.mtx || die "failed testing"
+ ./kludemo < "${S}"/Matrix/impcol_a.mtx || die "failed testing"
+ ./kludemo < "${S}"/Matrix/w156.mtx || die "failed testing"
+ ./kludemo < "${S}"/Matrix/ctina.mtx || die "failed testing"
+ ./kluldemo < "${S}"/Matrix/1c.mtx || die "failed testing"
+ ./kluldemo < "${S}"/Matrix/arrowc.mtx || die "failed testing"
+ ./kluldemo < "${S}"/Matrix/arrow.mtx || die "failed testing"
+ ./kluldemo < "${S}"/Matrix/impcol_a.mtx || die "failed testing"
+ ./kluldemo < "${S}"/Matrix/w156.mtx || die "failed testing"
+ ./kluldemo < "${S}"/Matrix/ctina.mtx || die "failed testing"
+}
+
+multilib_src_install() {
+ if use doc; then
+ pushd "${S}/Doc"
+ emake clean
+ rm -rf *.pdf
+ emake
+ popd
+ DOCS="${S}/Doc/*.pdf"
+ fi
+ cmake_src_install
+}
diff --git a/sci-libs/klu/metadata.xml b/sci-libs/klu/metadata.xml
index 33b1892a51f1..16b070542e68 100644
--- a/sci-libs/klu/metadata.xml
+++ b/sci-libs/klu/metadata.xml
@@ -10,4 +10,7 @@
circuit simulation. It is also part of the University
of Florida sparse matrix suite.
</longdescription>
+ <upstream>
+ <remote-id type="github">DrTimothyAldenDavis/SuiteSparse</remote-id>
+ </upstream>
</pkgmetadata>
next reply other threads:[~2023-06-20 0:02 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-20 0:02 Michael Orlitzky [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-16 20:43 [gentoo-commits] repo/gentoo:master commit in: sci-libs/klu/ Sam James
2024-08-30 3:00 Sam James
2024-08-29 23:11 Sam James
2024-08-29 23:08 Sam James
2024-04-20 14:51 Arthur Zamarin
2023-06-20 0:02 Michael Orlitzky
2022-11-19 11:41 Andrew Ammerlaan
2021-12-01 6:37 Yixun Lan
2021-10-06 6:22 Jakov Smolić
2021-10-06 6:06 Agostino Sarubbo
2021-10-05 6:48 Agostino Sarubbo
2021-10-05 6:46 Agostino Sarubbo
2021-10-04 19:19 Sam James
2021-10-04 19:16 Sam James
2021-05-04 19:10 Sam James
2020-12-07 15:27 Sam James
2020-07-21 10:03 Andreas Sturmlechner
2020-07-19 16:03 Sam James
2020-06-22 6:57 Agostino Sarubbo
2020-06-21 17:08 Agostino Sarubbo
2020-06-21 17:03 Agostino Sarubbo
2020-06-02 22:21 Mart Raudsepp
2020-05-16 19:47 Sergei Trofimovich
2020-05-15 17:33 Sergei Trofimovich
2020-05-06 6:48 Sergei Trofimovich
2020-05-06 6:41 Sergei Trofimovich
2020-03-02 17:21 Michael Orlitzky
2020-01-14 14:56 Agostino Sarubbo
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=1687219277.b121f6f3c815062f11ccd8b6b260818ab31a5a00.mjo@gentoo \
--to=mjo@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