mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
clapack: don't allow on PowerPC uClibc
On PowerPC, clapack uses the _fpu_control symbol, which isn't defined on uClibc, so this commit disallows the selection of clapack on PowerPC uClibc configurations. PowerPC/glibc and ARM/uClibc configurations have been tested to build correctly. Fixes: http://autobuild.buildroot.org/results/d1d/d1d721fa697956218dfc2c865dfb61911cf2600e/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
d7b03fc417
commit
d05c279360
@ -1,12 +1,14 @@
|
|||||||
comment "armadillo needs a toolchain w/ C++, largefile"
|
comment "armadillo needs a toolchain w/ C++, largefile"
|
||||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE
|
||||||
depends on !(BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el) # clapack
|
depends on !(BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el) # clapack
|
||||||
|
depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC) # clapack
|
||||||
|
|
||||||
config BR2_PACKAGE_ARMADILLO
|
config BR2_PACKAGE_ARMADILLO
|
||||||
bool "armadillo"
|
bool "armadillo"
|
||||||
depends on BR2_INSTALL_LIBSTDCPP
|
depends on BR2_INSTALL_LIBSTDCPP
|
||||||
depends on BR2_LARGEFILE # clapack
|
depends on BR2_LARGEFILE # clapack
|
||||||
depends on !(BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el) # clapack
|
depends on !(BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el) # clapack
|
||||||
|
depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC) # clapack
|
||||||
select BR2_PACKAGE_CLAPACK
|
select BR2_PACKAGE_CLAPACK
|
||||||
help
|
help
|
||||||
Armadillo: An Open Source C++ Linear Algebra Library for
|
Armadillo: An Open Source C++ Linear Algebra Library for
|
||||||
|
@ -2,6 +2,9 @@ config BR2_PACKAGE_CLAPACK
|
|||||||
bool "cblas/clapack"
|
bool "cblas/clapack"
|
||||||
depends on BR2_LARGEFILE
|
depends on BR2_LARGEFILE
|
||||||
depends on !(BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el)
|
depends on !(BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el)
|
||||||
|
# _fpu_control is used on PowerPC, but not available with
|
||||||
|
# uClibc
|
||||||
|
depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC)
|
||||||
help
|
help
|
||||||
BLAS and LAPACK C implementation (f2c'ed version of).
|
BLAS and LAPACK C implementation (f2c'ed version of).
|
||||||
|
|
||||||
@ -22,3 +25,4 @@ config BR2_PACKAGE_CLAPACK_ARITH_H
|
|||||||
comment "cblas/clapack needs a toolchain w/ largefile"
|
comment "cblas/clapack needs a toolchain w/ largefile"
|
||||||
depends on !BR2_LARGEFILE
|
depends on !BR2_LARGEFILE
|
||||||
depends on !(BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el)
|
depends on !(BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el)
|
||||||
|
depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user