summaryrefslogtreecommitdiff
path: root/package/armadillo
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-05-06 21:27:44 +0200
committerPeter Korsgaard <peter@korsgaard.com>2014-05-07 14:39:18 +0200
commitd05c2793609187d3ce843a2e491a0f31adf3216a (patch)
tree09d3d9748ac287487a3678e3f875edf330bd7f7d /package/armadillo
parentd7b03fc417d42d2fe6377673d0f07378e61a1d7d (diff)
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>
Diffstat (limited to 'package/armadillo')
-rw-r--r--package/armadillo/Config.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/armadillo/Config.in b/package/armadillo/Config.in
index b3ba2fc72..898564d22 100644
--- a/package/armadillo/Config.in
+++ b/package/armadillo/Config.in
@@ -1,12 +1,14 @@
comment "armadillo needs a toolchain w/ C++, largefile"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE
depends on !(BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el) # clapack
+ depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC) # clapack
config BR2_PACKAGE_ARMADILLO
bool "armadillo"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_LARGEFILE # 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
help
Armadillo: An Open Source C++ Linear Algebra Library for