comment "clapack needs a glibc toolchain"
	depends on BR2_powerpc
	depends on !BR2_TOOLCHAIN_USES_GLIBC

config BR2_PACKAGE_CLAPACK
	bool "cblas/clapack"
	# _fpu_control is used on PowerPC, but not available with
	# uClibc or musl
	depends on !BR2_powerpc || BR2_TOOLCHAIN_USES_GLIBC
	# assembler: Error: value out of range
	depends on !BR2_m68k_cf
	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.
