[Buildroot] [PATCH v8] openblas: new package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Jul 1 14:29:54 UTC 2016


Hello,

On Mon, 27 Jun 2016 09:44:50 +0100, Vicente Olivert Riera wrote:
> OpenBLAS is optimised for specific CPU models, which don't fully match
> with the GCC code generation options. Therefore, we can't automatically
> select BR2_PACKAGE_OPENBLAS_TARGET based on the CPU choice. Instead, let
> the user select the TARGET name, but offer a sensible default. Other
> possible solutions were deemed too complicated: adding choice options in
> the ambiguous cases, or only making the option user-visible when there
> is ambiguity.
> 
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera at imgtec.com>
> ---
> Changes v7 -> v8:
>  - Rename BR2_PACKAGE_OPENBLAS_TARGET to BR2_PACKAGE_OPENBLAS_DEFAULT_TARGET
>    and make it a blind option. Make BR2_PACKAGE_OPENBLAS_ARCH_SUPPORTS
>    depend on BR2_PACKAGE_OPENBLAS_DEFAULT_TARGET != "", this way the package
>    will not be available for architectures which don't have any matching
>    OpenBLAS target. This will avoid future build failures. Finally add
>    BR2_PACKAGE_OPENBLAS_TARGET option, which will depend on the package
>    being selected, to let the user change the default OpenBLAS target. (Arnout)
>  - Initialise OpenBLAS make options to TARGET_CONFIGURE_OPTS. This way
>    TARGET_CONFIGURE_OPTS is also used in the install phases. (Arnout)

Applied to master, thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list