b94e021004
Commit d2b52cebf3
disabled clapack on MIPS
platforms, to fix an autobuild failure (unfortunately, the results are no
longer available). The argument was:
"Disable this package for MIPS because it needs IRIX headers and
libraries."
Nevertheless, today compilation on MIPS seems to work fine. Testing was done
with test-pkg (armadillo depends on clapack):
$ echo "BR2_PACKAGE_ARMADILLO=y" > config.snippet;
$ utils/test-pkg -p armadillo -a -c config.snippet
br-mips32r6-el-hf-glibc [1/8]: OK
br-mips64-n64-full [2/8]: OK
br-mips64r6-el-hf-glibc [3/8]: OK
br-mipsel-o32-full [4/8]: OK
mips64el-ctng_n32-linux-gnu [5/8]: OK
mips64el-ctng_n64-linux-gnu [6/8]: OK
sourcery-mips64 [7/8]: OK
sourcery-mips [8/8]: OK
8 builds, 0 skipped, 0 build failed, 0 legal-info failed
Manual build tests were also done for mips32r2 with gcc 4.9.x and gcc 7.x,
and for M5150 with gcc 7.x (Buildroot-built toolchains in these three
cases).
Also building and running on Octeon III, using the toolchain provided by
Cavium Networks / Marvell, works fine.
Not seeing any problem (but also not understanding the original problem),
re-enable clapack (and armadillo) on MIPS. If any problems would pop up in
the future, they should be investigated in detail and a more fine-grained
solution should be taken than disabling on MIPS altogether.
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
29 lines
836 B
Plaintext
29 lines
836 B
Plaintext
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.
|