summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/sundials/sundials-5.8.0.ebuild')
-rw-r--r--sci-libs/sundials/sundials-5.8.0.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/sci-libs/sundials/sundials-5.8.0.ebuild b/sci-libs/sundials/sundials-5.8.0.ebuild
index 894e7ef201c..5b64bd8198a 100644
--- a/sci-libs/sundials/sundials-5.8.0.ebuild
+++ b/sci-libs/sundials/sundials-5.8.0.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/LLNL/${PN}/releases/download/v${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/$(ver_cut 1)"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples fortran hypre lapack mpi openmp sparse +static-libs superlumt threads"
+IUSE="doc examples fortran hypre +int64 lapack mpi openmp sparse +static-libs superlumt threads"
REQUIRED_USE="
fortran? ( static-libs )
hypre? ( mpi )
@@ -31,7 +31,7 @@ RDEPEND="
virtual/mpi[fortran?]
)
sparse? ( sci-libs/klu )
- superlumt? ( sci-libs/superlu_mt:= )
+ superlumt? ( sci-libs/superlu_mt:=[int64=] )
"
DEPEND="${RDEPEND}"
@@ -69,6 +69,7 @@ src_configure() {
-DENABLE_SUPERLUMT=$(usex superlumt)
-DEXAMPLES_INSTALL=ON
-DEXAMPLES_INSTALL_PATH="/usr/share/doc/${PF}/examples"
+ -DSUNDIALS_INDEX_SIZE="$(usex int64 64 32)"
-DSUPERLUMT_INCLUDE_DIR="${EPREFIX}/usr/include/superlu_mt"
-DSUPERLUMT_LIBRARY="-lsuperlu_mt"
-DUSE_GENERIC_MATH=ON