[Buildroot] [PATCH] package/lapack: avoid selecting lapack and clapack

Arnout Vandecappelle arnout at mind.be
Wed Feb 5 15:17:14 UTC 2020



On 05/08/2019 12:35, Aalx wrote:
> From: Alexandre PAYEN <alexandre.payen at smile.fr>
> 
> lapack and clapack generate the same libraries liblapack.so and
> libblas.so. So those two packages can't be selected at the same time.
> 
> This is a temporary fix waiting for a solution[2].
> 
> So:
> - add !BR2_PACKAGE_CLAPACK to lapack/Config.in.
> 
> [1]: http://autobuild.buildroot.org/results/375/375078ed8f965ecf92eb9674bd071a518c3ef894//
> [2]: http://lists.busybox.net/pipermail/buildroot/2019-August/255894.html
> 
> Signed-off-by: Alexandre PAYEN <alexandre.payen at smile.fr>
> Cc: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
> Cc: Romain Naour <romain.naour at smile.fr>
> Cc: Thomas De Schampheleire <patrickdepinguin at gmail.com>

 Applied to master, thanks.

 Regards,
 Arnout

> ---
>  package/lapack/Config.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/lapack/Config.in b/package/lapack/Config.in
> index 9687ace82d..6cd0810cb1 100644
> --- a/package/lapack/Config.in
> +++ b/package/lapack/Config.in
> @@ -5,6 +5,7 @@ comment "lapack/blas needs a toolchain w/ fortran"
>  config BR2_PACKAGE_LAPACK
>  	bool "lapack/blas"
>  	depends on BR2_TOOLCHAIN_HAS_FORTRAN
> +	depends on !BR2_PACKAGE_CLAPACK
>  	# _fpu_control is used on PowerPC, but not available with uClibc
>  	depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC)
>  	help
> 


More information about the buildroot mailing list