kumquat-buildroot/package/clapack/Config.in
Thomas Petazzoni d05c279360 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>
2014-05-07 14:39:18 +02:00

29 lines
959 B
Plaintext

config BR2_PACKAGE_CLAPACK
bool "cblas/clapack"
depends on BR2_LARGEFILE
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
BLAS and LAPACK C implementation (f2c'ed version of).
http://www.netlib.org/clapack/
config BR2_PACKAGE_CLAPACK_ARITH_H
string "Custom BLAS arith.h"
depends on BR2_PACKAGE_CLAPACK
help
To optimize BLAS library for the hardware, an 'arith.h' header should
be provided.
If empty, the library will not be optimized by the compiler.
In any case an 'arithchk' program is built (but not installed), to be run
on the target to generate this arith.h header.
comment "cblas/clapack needs a toolchain w/ largefile"
depends on !BR2_LARGEFILE
depends on !(BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el)
depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC)