* [gentoo-commits] repo/proj/guru:master commit in: sci-libs/ButterflyPACK/
@ 2022-05-29 18:29 Andrew Ammerlaan
0 siblings, 0 replies; only message in thread
From: Andrew Ammerlaan @ 2022-05-29 18:29 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: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
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] only message in thread
only message in thread, other threads:[~2022-05-29 18:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-29 18:29 [gentoo-commits] repo/proj/guru:master commit in: sci-libs/ButterflyPACK/ Andrew Ammerlaan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox