From f33e9d3ef4e035f1f823ec2e2ff2ec2d88751bc0 Mon Sep 17 00:00:00 2001 From: Sergey Torokhov Date: Tue, 23 Mar 2021 00:11:43 +0300 Subject: sci-libs/cantera: 2.5.1, add USE=lapack Add USE=lapack to use Lapack insatead of Eigen for linear algebra support in some cases. Eigen is still required if Lapack support is enabled. The sci-libs/sundials[lapack] is required to build with Lapack support. Signed-off-by: Sergey Torokhov Closes: https://github.com/gentoo/gentoo/pull/20071 Signed-off-by: Joonas Niilola --- sci-libs/cantera/cantera-2.5.1-r1.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sci-libs/cantera') diff --git a/sci-libs/cantera/cantera-2.5.1-r1.ebuild b/sci-libs/cantera/cantera-2.5.1-r1.ebuild index 4cf4cc6c3c3a..2bf3e5d6a748 100644 --- a/sci-libs/cantera/cantera-2.5.1-r1.ebuild +++ b/sci-libs/cantera/cantera-2.5.1-r1.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/Cantera/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="+cti fortran pch +python test" +IUSE="+cti fortran lapack pch +python test" RESTRICT="!test? ( test )" REQUIRED_USE=" @@ -27,6 +27,7 @@ REQUIRED_USE=" RDEPEND=" ${PYTHON_DEPS} + lapack? ( virtual/lapack ) python? ( $(python_gen_cond_dep ' dev-python/numpy[${PYTHON_MULTI_USEDEP}] @@ -34,7 +35,7 @@ RDEPEND=" ') ) dev-cpp/yaml-cpp -