diff options
Diffstat (limited to 'sci-libs/armadillo')
-rw-r--r-- | sci-libs/armadillo/armadillo-7.800.2.ebuild | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/sci-libs/armadillo/armadillo-7.800.2.ebuild b/sci-libs/armadillo/armadillo-7.800.2.ebuild index 94954c6a1d6f..ad912b34eea8 100644 --- a/sci-libs/armadillo/armadillo-7.800.2.ebuild +++ b/sci-libs/armadillo/armadillo-7.800.2.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/arma/${P}.tar.xz" LICENSE="Apache-2.0" SLOT="0/7" KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux" -IUSE="arpack blas debug doc examples hdf5 lapack mkl tbb test" +IUSE="arpack blas debug doc examples hdf5 lapack mkl superlu tbb test" REQUIRED_USE="test? ( lapack )" RDEPEND=" @@ -22,9 +22,8 @@ RDEPEND=" arpack? ( sci-libs/arpack ) blas? ( virtual/blas ) lapack? ( virtual/lapack ) + superlu? ( >=sci-libs/superlu-5 ) " -# superlu? ( sci-libs/superlu ) -# needs superlu-5 DEPEND="${RDEPEND} arpack? ( virtual/pkgconfig ) @@ -104,16 +103,16 @@ src_configure() { -DLAPACK_FOUND=OFF ) fi -# if use superlu; then -# mycmakeargs+=( -# -DSuperLU_FOUND=ON -# -DSuperLU_LIBRARIES="$($(tc-getPKG_CONFIG) --libs superlu)" -# ) -# else -# mycmakeargs+=( -# -DSuperLU_FOUND=OFF -# ) -# fi + if use superlu; then + mycmakeargs+=( + -DSuperLU_FOUND=ON + -DSuperLU_LIBRARIES="$($(tc-getPKG_CONFIG) --libs superlu)" + ) + else + mycmakeargs+=( + -DSuperLU_FOUND=OFF + ) + fi cmake-utils_src_configure } |