eigen: build-block added

the old eigen3 modules are discontinued
This commit is contained in:
2022-06-13 15:58:33 +02:00
parent 117828d56b
commit 639d268fdb
3 changed files with 48 additions and 0 deletions

18
Compiler/eigen/build Executable file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env modbuild
#
pbuild::add_to_group 'Compiler'
pbuild::set_download_url "https://gitlab.com/libeigen/$P/-/archive/${V_PKG}/$P-${V_PKG}.tar.bz2"
#pbuild::pre_configure() {
# export BOOST_ROOT="${BOOST_PREFIX}"
# pbuild::add_configure_args "-DUMFPACK_INCLUDES=${UMFPACK_INCLUDE_DIR}"
# pbuild::add_configure_args "-DUMFPACK_LIBRARIES=${UMFPACK_LIBRARY_DIR}"
# pbuild::add_configure_args "-DGMP_INCLUDES=${GMP_INCLUDE_DIR}"
# pbuild::add_configure_args "-DGMP_LIBRARIES=${GMP_LIBRARY_DIR}"
# pbuild::add_configure_args "-DMPFR_INCLUDES=${MPFR_INCLUDE_DIR}"
# pbuild::add_configure_args "-DMPFR_LIBRARIES=${MPFR_LIBRARY_DIR}"
# pbuild::add_configure_args "-DSUPERLU_INCLUDES=${SUPERLU_INCLUDE_DIR}"
# pbuild::add_configure_args "-DSUPERLU_LIBRARIES=${SUPERLU_LIBRARY_DIR}"
#}

View File

@@ -0,0 +1,19 @@
overlay: base
eigen/3.3.9:
- with: gcc/{7.5.0,8.4.0,9.3.0,10.3.0,11.2.0}
rel_stage: unstable
dependencies: b:cmake/3.15.5
eigen/3.3.9:
- with: gcc/{8.5.0,9.5.0,11.3.0,12.1.0}
rel_stage: unstable
dependencies: b:cmake/3.15.5
overlay: devel
eigen/3.4.0:
- with: gcc/{7.5.0,8.4.0,9.3.0,10.3.0,11.2.0}
rel_stage: unstable
dependencies: b:cmake/3.15.5
eigen/3.4.0:
- with: gcc/{8.5.0,9.5.0,11.3.0,12.1.0}
rel_stage: unstable
dependencies: b:cmake/3.15.5
overlay: devel

11
Compiler/eigen/modulefile Normal file
View File

@@ -0,0 +1,11 @@
#%Module1.0
module-whatis "a C++ template library for linear algebra:"
module-url "http://eigen.tuxfamily.org/"
module-license "Mozilla Public License Version 2.0"
module-maintainer "Achim Gsell <achim.gsell@psi.ch>"
module-help "
Eigen is a C++ template library for linear algebra: matrices, vectors,
numerical solvers, and related algorithms.
"