package/lapack: avoid selecting lapack and clapack
authorAlexandre PAYEN <alexandre.payen@smile.fr>
Mon, 5 Aug 2019 10:35:18 +0000 (12:35 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Wed, 5 Feb 2020 15:15:41 +0000 (16:15 +0100)
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@smile.fr>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Romain Naour <romain.naour@smile.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Reviewed-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/lapack/Config.in

index 9687ace82d6b33d9d5e8278e053f6289d967d932..6cd0810cb1abf6942a988a1213a5c69932459db3 100644 (file)
@@ -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