1comment "armadillo needs a toolchain w/ C++" 2 depends on BR2_PACKAGE_OPENBLAS_ARCH_SUPPORTS 3 depends on !BR2_INSTALL_LIBSTDCPP 4 5comment "armadillo needs a toolchain w/ fortran, C++" 6 depends on !BR2_PACKAGE_OPENBLAS_ARCH_SUPPORTS # otherwise, see comment above 7 depends on BR2_PACKAGE_LAPACK_ARCH_SUPPORTS 8 depends on !BR2_TOOLCHAIN_HAS_FORTRAN || !BR2_INSTALL_LIBSTDCPP 9 10config BR2_PACKAGE_ARMADILLO 11 bool "armadillo" 12 depends on BR2_PACKAGE_OPENBLAS_ARCH_SUPPORTS || \ 13 (BR2_PACKAGE_LAPACK_ARCH_SUPPORTS && BR2_TOOLCHAIN_HAS_FORTRAN) 14 depends on BR2_INSTALL_LIBSTDCPP 15 help 16 Armadillo: An Open Source C++ Linear Algebra Library for 17 Fast Prototyping and Computationally Intensive Experiments. 18 19 http://arma.sourceforge.net/ 20 21if BR2_PACKAGE_ARMADILLO 22 23choice 24 prompt "BLAS implementation" 25 26config BR2_PACKAGE_ARMADILLO_OPENBLAS 27 bool "openblas" 28 depends on BR2_PACKAGE_OPENBLAS_ARCH_SUPPORTS 29 select BR2_PACKAGE_OPENBLAS 30 31config BR2_PACKAGE_ARMADILLO_LAPACK 32 bool "lapack" 33 depends on BR2_PACKAGE_LAPACK_ARCH_SUPPORTS && BR2_TOOLCHAIN_HAS_FORTRAN 34 select BR2_PACKAGE_LAPACK 35 36endchoice 37 38endif 39