2015-03-30 23:07:30 +02:00
|
|
|
comment "armadillo needs a toolchain w/ C++"
|
2021-07-25 13:12:31 +02:00
|
|
|
depends on BR2_PACKAGE_OPENBLAS_ARCH_SUPPORTS
|
2015-03-30 23:07:30 +02:00
|
|
|
depends on !BR2_INSTALL_LIBSTDCPP
|
2015-09-02 12:10:07 +02:00
|
|
|
|
2021-07-25 13:12:31 +02:00
|
|
|
comment "armadillo needs a toolchain w/ fortran, C++"
|
|
|
|
depends on !BR2_PACKAGE_OPENBLAS_ARCH_SUPPORTS # otherwise, see comment above
|
|
|
|
depends on BR2_PACKAGE_LAPACK_ARCH_SUPPORTS
|
|
|
|
depends on !BR2_TOOLCHAIN_HAS_FORTRAN || !BR2_INSTALL_LIBSTDCPP
|
2014-04-23 01:15:35 +02:00
|
|
|
|
|
|
|
config BR2_PACKAGE_ARMADILLO
|
|
|
|
bool "armadillo"
|
2021-07-25 13:12:31 +02:00
|
|
|
depends on BR2_PACKAGE_OPENBLAS_ARCH_SUPPORTS || \
|
|
|
|
(BR2_PACKAGE_LAPACK_ARCH_SUPPORTS && BR2_TOOLCHAIN_HAS_FORTRAN)
|
2014-04-23 01:15:35 +02:00
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
|
|
help
|
|
|
|
Armadillo: An Open Source C++ Linear Algebra Library for
|
|
|
|
Fast Prototyping and Computationally Intensive Experiments.
|
|
|
|
|
|
|
|
http://arma.sourceforge.net/
|
2021-07-25 13:12:31 +02:00
|
|
|
|
|
|
|
if BR2_PACKAGE_ARMADILLO
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "BLAS implementation"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_ARMADILLO_OPENBLAS
|
|
|
|
bool "openblas"
|
|
|
|
depends on BR2_PACKAGE_OPENBLAS_ARCH_SUPPORTS
|
|
|
|
select BR2_PACKAGE_OPENBLAS
|
|
|
|
|
|
|
|
config BR2_PACKAGE_ARMADILLO_LAPACK
|
|
|
|
bool "lapack"
|
|
|
|
depends on BR2_PACKAGE_LAPACK_ARCH_SUPPORTS && BR2_TOOLCHAIN_HAS_FORTRAN
|
|
|
|
select BR2_PACKAGE_LAPACK
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
endif
|