public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: sci-libs/ButterflyPACK/
@ 2022-05-25 19:21 Alessandro Barbieri
  0 siblings, 0 replies; 3+ messages in thread
From: Alessandro Barbieri @ 2022-05-25 19:21 UTC (permalink / raw
  To: gentoo-commits

commit:     4b20c22bcc249e454eaba7282dec51b5f3249268
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed May 25 17:59:01 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed May 25 19:21:46 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4b20c22b

sci-libs/ButterflyPACK: add 2.1.1

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sci-libs/ButterflyPACK/ButterflyPACK-2.1.1.ebuild | 44 +++++++++++++++++++++++
 sci-libs/ButterflyPACK/Manifest                   |  1 +
 2 files changed, 45 insertions(+)

diff --git a/sci-libs/ButterflyPACK/ButterflyPACK-2.1.1.ebuild b/sci-libs/ButterflyPACK/ButterflyPACK-2.1.1.ebuild
new file mode 100644
index 000000000..437e8815f
--- /dev/null
+++ b/sci-libs/ButterflyPACK/ButterflyPACK-2.1.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake fortran-2
+
+DESCRIPTION="Mathematical software for solving large-scale dense linear systems"
+HOMEPAGE="https://github.com/liuyangzhuan/ButterflyPACK"
+SRC_URI="https://github.com/liuyangzhuan/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+KEYWORDS="~amd64"
+LICENSE="BSD"
+SLOT="0"
+IUSE="arpack magma"
+
+RDEPEND="
+	sci-libs/scalapack
+	virtual/blas
+	virtual/lapack
+	virtual/mpi
+
+	arpack? ( sci-libs/arpack )
+	magma? ( sci-libs/magma )
+"
+DEPEND="${RDEPEND}"
+
+DOCS=( README.md CHANGELOG )
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_SHARED_LIBS=ON
+
+		-DTPL_ARPACK_LIBRARIES=$(usex arpack)
+		-DTPL_MAGMA_LIBRARIES=$(usex magma)
+	)
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+	insinto "/usr/share/octave/site/m/${PN}"
+	doins -r MATLAB/*
+}

diff --git a/sci-libs/ButterflyPACK/Manifest b/sci-libs/ButterflyPACK/Manifest
index 4a536fc2c..79063e322 100644
--- a/sci-libs/ButterflyPACK/Manifest
+++ b/sci-libs/ButterflyPACK/Manifest
@@ -1 +1,2 @@
 DIST ButterflyPACK-2.1.0.tar.gz 378160677 BLAKE2B 0846f57c45717a4dd2bdd4eb04f7e0ca7f2ac8bd9873307c4cd9342d3696f885ede2b65a5a6c3aed55fcc70cfb50bbe9d45957b14c4f8208ffc11a8a4ac6134d SHA512 4f06e60d98f8dd88f40c49b824e6435af5674955326016eab2a62feda31735de15e30ae86f7badb5f31e53be8882aa6535ba52345680a65215608ab75775c2bf
+DIST ButterflyPACK-2.1.1.tar.gz 378145822 BLAKE2B 84c4a176afe0ddda711bc6c3d1435a51d3796d8d58ae85444320451769a0080724d61c8abe2e7cca67f22112d5f6a7847656bef550cc878f44862d60f9a36ca0 SHA512 ee032a79a788f22dc33b074f568d54e9d4572281bd1b2c9e31036d16a02b54542a40f5b42c3d50e1ace373c5ca74dff45e77a1f3b60bad8c6f4bd53b311cfc24


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

* [gentoo-commits] repo/proj/guru:dev commit in: sci-libs/ButterflyPACK/
@ 2022-05-28 23:22 Alessandro Barbieri
  0 siblings, 0 replies; 3+ messages in thread
From: Alessandro Barbieri @ 2022-05-28 23:22 UTC (permalink / raw
  To: gentoo-commits

commit:     c41c83f1e03c19c92e35926d7b5ebdcc4e7809d2
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat May 28 23:21:20 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat May 28 23:21:20 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c41c83f1

sci-libs/ButterflyPACK: make options conditional to use

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sci-libs/ButterflyPACK/ButterflyPACK-2.1.1.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/sci-libs/ButterflyPACK/ButterflyPACK-2.1.1.ebuild b/sci-libs/ButterflyPACK/ButterflyPACK-2.1.1.ebuild
index 53099d358..fc3c26b5f 100644
--- a/sci-libs/ButterflyPACK/ButterflyPACK-2.1.1.ebuild
+++ b/sci-libs/ButterflyPACK/ButterflyPACK-2.1.1.ebuild
@@ -32,10 +32,9 @@ src_configure() {
 	local pkgc="$(tc-getPKG_CONFIG)"
 	local mycmakeargs=(
 		-DBUILD_SHARED_LIBS=ON
-
-		"-DTPL_ARPACK_LIBRARIES=$(${pkgc} --libs arpack)"
-		"-DTPL_MAGMA_LIBRARIES=$(${pkgc} --libs magma)"
 	)
+	use arpack && mycmakeargs+=( "-DTPL_ARPACK_LIBRARIES=$(${pkgc} --libs arpack)" )
+	use magma && mycmakeargs+=( "-DTPL_MAGMA_LIBRARIES=$(${pkgc} --libs magma)" )
 	cmake_src_configure
 }
 


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

* [gentoo-commits] repo/proj/guru:dev commit in: sci-libs/ButterflyPACK/
@ 2022-06-26  2:36 Alessandro Barbieri
  0 siblings, 0 replies; 3+ messages in thread
From: Alessandro Barbieri @ 2022-06-26  2:36 UTC (permalink / raw
  To: gentoo-commits

commit:     9359f6ddc9223be811207768e02eb8a955e1c254
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Fri Jun 24 23:27:04 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Jun 26 02:29:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9359f6dd

sci-libs/ButterflyPACK: use parpack instead of arpack

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 .../{ButterflyPACK-2.1.1.ebuild => ButterflyPACK-2.1.1-r1.ebuild}     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/ButterflyPACK/ButterflyPACK-2.1.1.ebuild b/sci-libs/ButterflyPACK/ButterflyPACK-2.1.1-r1.ebuild
similarity index 95%
rename from sci-libs/ButterflyPACK/ButterflyPACK-2.1.1.ebuild
rename to sci-libs/ButterflyPACK/ButterflyPACK-2.1.1-r1.ebuild
index fc3c26b5f..a56e663f3 100644
--- a/sci-libs/ButterflyPACK/ButterflyPACK-2.1.1.ebuild
+++ b/sci-libs/ButterflyPACK/ButterflyPACK-2.1.1-r1.ebuild
@@ -20,7 +20,7 @@ RDEPEND="
 	virtual/lapack
 	virtual/mpi
 
-	arpack? ( sci-libs/arpack )
+	arpack? ( sci-libs/arpack[mpi] )
 	magma? ( sci-libs/magma )
 "
 DEPEND="${RDEPEND}"
@@ -33,7 +33,7 @@ src_configure() {
 	local mycmakeargs=(
 		-DBUILD_SHARED_LIBS=ON
 	)
-	use arpack && mycmakeargs+=( "-DTPL_ARPACK_LIBRARIES=$(${pkgc} --libs arpack)" )
+	use arpack && mycmakeargs+=( "-DTPL_ARPACK_LIBRARIES=$(${pkgc} --libs parpack)" )
 	use magma && mycmakeargs+=( "-DTPL_MAGMA_LIBRARIES=$(${pkgc} --libs magma)" )
 	cmake_src_configure
 }


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

end of thread, other threads:[~2022-06-26  2:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-26  2:36 [gentoo-commits] repo/proj/guru:dev commit in: sci-libs/ButterflyPACK/ Alessandro Barbieri
  -- strict thread matches above, loose matches on Subject: below --
2022-05-28 23:22 Alessandro Barbieri
2022-05-25 19:21 Alessandro Barbieri

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