clapack: new package
authorSamuel Martin <s.martin49@gmail.com>
Tue, 22 Apr 2014 23:15:36 +0000 (01:15 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 4 May 2014 07:10:55 +0000 (09:10 +0200)
commitdd5dbe627f4d66603e03ae2fdb09d4fe34d34dc7
treee2d858ea270970c17f8f678c8fb6927eadd83675
parent2b41d31c344943428c3ce29c3cbfc5dd41052813
clapack: new package

This package provides BLAS and LAPACK libraries.

Though it is common to find implementation of these two libraries in
Fortran, this package provides a C-implementation for both, because:
- Fortran support has been deprecated in Buildroot since the 2013.11
  release;
- most of the external toolchains do not provide a Fortran compiler.

Often BLAS build-systems build some test programs and run them to
generate some source files or adjust some build optimizations, naively
assuming they are building the library for the build-machine. This does
not play well when cross-compiling.

This implementation has this defect too, by building and running a tool
generating a header.
However, the build-system allows to pass an empty header.
So, we have to patch the CMake to build the generator (but never
install it) and correctly support building with and without this header
provided by the user.

Also, some CMake patches are needed to fix the build and install rules.

[Peter: needs largefile, fix _LICENSE_FILES, tweak patch desc]
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in
package/clapack/Config.in [new file with mode: 0644]
package/clapack/clapack-0001-cmake-force-libf2c-to-be-built-as-a-static-library.patch [new file with mode: 0644]
package/clapack/clapack-0002-cmake-make-test-build-sensitive-to-BUILD_TESTING.patch [new file with mode: 0644]
package/clapack/clapack-0003-cmake-do-not-try-to-run-arithchk-when-cross-compilin.patch [new file with mode: 0644]
package/clapack/clapack-0004-cmake-blas-add-library-and-header-install-rules.patch [new file with mode: 0644]
package/clapack/clapack-0005-cmake-lapack-add-library-and-header-install-rules.patch [new file with mode: 0644]
package/clapack/clapack.mk [new file with mode: 0644]