kumquat-buildroot/package/clapack/Config.in
Samuel Martin 7f5fec6201 clapack: disable on blackfin
The "_" symbol prefix added by the blackfin toolchain causes "undefined
symbol" build failures when the compiler is trying to link a binary
with libblas and/or liblapack.

This patch also disables clapack reverse dependencies: armadillo.

Fixes:
  http://autobuild.buildroot.net/results/a28df0ba10803e6e54c2f8160bbd8190cba4d690/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-13 23:37:24 +02:00

34 lines
1.2 KiB
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)
# disable clapack on blackfin, it triggers "undefined symbol" failure
# because of the "_" symbol prefix:
# http://autobuild.buildroot.net/results/a28df0ba10803e6e54c2f8160bbd8190cba4d690/
depends on !BR2_bfin
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_bfin
depends on !(BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el)
depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC)