mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 14:03:33 -04:00
sci-libs/ButterflyPACK: use parpack instead of arpack
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user