mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-23 21:43:30 +08:00
8dd9bbda35
openblas has options 'NO_STATIC' and 'NO_SHARED' to steer the installation of libopenblas.a and libopenblas.so. But this does not impact anything in the build process, other than copying the respective file to the output directory. As openblas is very large (e.g. 3MB on ARM) but applications may only use a small part of it, such applications may want to link statically with openblas, even though the global BR2_STATIC_LIBS is not set and not desired. One approach would have been to introduce options BR2_PACKAGE_OPENBLAS_BUILD_SHARED_LIB and BR2_PACKAGE_OPENBLAS_BUILD_STATIC_LIB which could be freely selected regardless of BR2_STATIC_LIBS / BR2_SHARED_LIBS. But since the installation of a static library does not have any negative impact except for some disk space on the host system (.a files are removed from the target in target-finalize anyway), change the installation rules to install the static library unconditionally. NO_SHARED is still passed for static-libs-only systems, because the dynamic library would unnecessarily take up target disk space for such systems. Users that only need the static library would still need to remove the shared library from a post-build script to actually save space. Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> |
||
---|---|---|
.. | ||
0001-fix-gfortran-detection.patch | ||
0002-Makefile-fix-support-for-passing-FFLAGS-on-the-make-.patch | ||
0003-Makefile-also-consider-Os-when-determining-LAPACK_NO.patch | ||
0004-Makefile.system-don-t-specify-optimization-level-bui.patch | ||
Config.in | ||
openblas.hash | ||
openblas.mk |