diff options
author | Sergey Torokhov <torokhov-s-a@yandex.ru> | 2023-09-04 00:08:39 +0300 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-10-27 03:30:38 +0100 |
commit | 68ad0f32859b28e51808b3430d140f5b6867704c (patch) | |
tree | 1a1878a508098a8c9cdc566f69611b179c763815 /sci-libs | |
parent | sci-libs/HighFive: new package v2.7.1 (sci-libs/cantera[hdf5] dep) (diff) | |
download | gentoo-68ad0f32859b28e51808b3430d140f5b6867704c.tar.gz gentoo-68ad0f32859b28e51808b3430d140f5b6867704c.tar.bz2 gentoo-68ad0f32859b28e51808b3430d140f5b6867704c.zip |
sci-libs/cantera: v3.0.0 add USE="hdf5" for HDF5 container file support
Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/cantera/cantera-3.0.0.ebuild | 6 | ||||
-rw-r--r-- | sci-libs/cantera/metadata.xml | 1 |
2 files changed, 5 insertions, 2 deletions
diff --git a/sci-libs/cantera/cantera-3.0.0.ebuild b/sci-libs/cantera/cantera-3.0.0.ebuild index da1bd0e4e645..efc3e6149962 100644 --- a/sci-libs/cantera/cantera-3.0.0.ebuild +++ b/sci-libs/cantera/cantera-3.0.0.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="fortran lapack +python test" +IUSE="fortran hdf5 lapack +python test" RESTRICT="!test? ( test )" REQUIRED_USE=" @@ -34,6 +34,7 @@ RDEPEND=" ') ) dev-cpp/yaml-cpp + hdf5? ( sci-libs/HighFive ) !lapack? ( sci-libs/sundials:0= ) lapack? ( >=sci-libs/sundials-6.5.0:0=[lapack?] ) " @@ -93,11 +94,12 @@ src_configure() { system_sundials="y" system_eigen="y" system_yamlcpp="y" - hdf_support="n" + hdf_support=$(usex hdf5 y n) system_blas_lapack=$(usex lapack y n) env_vars="all" extra_inc_dirs="/usr/include/eigen3" ) + use hdf5 && scons_vars+=( system_highfive="y" ) use lapack && scons_vars+=( blas_lapack_libs="lapack,blas" ) use test || scons_vars+=( googletest="none" ) diff --git a/sci-libs/cantera/metadata.xml b/sci-libs/cantera/metadata.xml index 81f17579d02a..fbc827be0db4 100644 --- a/sci-libs/cantera/metadata.xml +++ b/sci-libs/cantera/metadata.xml @@ -16,6 +16,7 @@ <use> <flag name="cti">Install conversion tools (ck2cti, ck2yaml, ctml_writer) from Chemkin to Cantera format</flag> <flag name="python">Install Python bindings and conversion tools from Chemkin to Cantera format</flag> + <flag name="hdf5">Add HDF5 container files support</flag> </use> <upstream> <remote-id type="github">cantera/cantera</remote-id> |