Skip to contentSkip to conversation

package/lapack: avoid selecting lapack and clapack

PATCH New Aalx 4 participants 4 messages Aug 5, 2019 – Mar 10, 2020

lore
Share & tools
lore

Aalx

author
#0 lore raw

PATCH 1/1 package/lapack: avoid selecting lapack and clapack

From: Alexandre PAYEN <[email protected]>

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

Cc Arnout Vandecappelle (Essensium/Mind) <[email protected]>
Cc Romain Naour <[email protected]>
Cc Thomas De Schampheleire <[email protected]>
---
 package/lapack/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/lapack/Config.in +1 -0
index 9687ace82d..6cd0810cb1 100644
@@ -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
Signature · 1 line
2.21.0
#1 lore raw

PATCH 1/1 package/lapack: avoid selecting lapack and clapack

Hi Alexandre,

Le 05/08/2019 ? 12:35, Aalx a ?crit?:

Quoted 26 lines

From: Alexandre PAYEN <[email protected]>

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

Cc Arnout Vandecappelle (Essensium/Mind) <[email protected]>
Cc Romain Naour <[email protected]>
Cc Thomas De Schampheleire <[email protected]>
---
 package/lapack/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/lapack/Config.in +0 -0
index 9687ace82d..6cd0810cb1 100644

package/lapack/Config.in comment "lapack/blas needs a toolchain w/ fortran" · line 8

Quoted 4 lines
package/lapack/Config.in +1 -0
@@ -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

Introducing a virtual packages requires some work in Buildroot especially since openblas can be a lapack provider.

Since we are going to tag -rc1, maybe this short term solution is good enough.

Best regards,
Romain

Quoted 4 lines
package/lapack/Config.in +0 -0
 	# _fpu_control is used on PowerPC, but not available with uClibc
 	depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC)
 	help
#2 lore raw

PATCH 1/1 package/lapack: avoid selecting lapack and clapack

In reply to Aalx
Quoted 10 lines · Aalx

From: Alexandre PAYEN <[email protected]>

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.

Quoted 7 lines

[1]: http://autobuild.buildroot.org/results/375/375078ed8f965ecf92eb9674bd071a518c3ef894//
[2]: http://lists.busybox.net/pipermail/buildroot/2019-August/255894.html

Cc Arnout Vandecappelle (Essensium/Mind) <[email protected]>
Cc Romain Naour <[email protected]>
Cc Thomas De Schampheleire <[email protected]>

Applied to master, thanks.

Regards,
Arnout

Quoted 17 lines
---
 package/lapack/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/lapack/Config.in +1 -0
index 9687ace82d..6cd0810cb1 100644
@@ -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
#3 lore raw

PATCH 1/1 package/lapack: avoid selecting lapack and clapack

Quoted 13 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Arnout" == Arnout Vandecappelle <[email protected]> writes:

Quoted 10 lines · Aalx

From: Alexandre PAYEN <[email protected]>

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.

Quoted 7 lines
Quoted 7 lines

[1]: http://autobuild.buildroot.org/results/375/375078ed8f965ecf92eb9674bd071a518c3ef894//
[2]: http://lists.busybox.net/pipermail/buildroot/2019-August/255894.html

Cc Arnout Vandecappelle (Essensium/Mind) <[email protected]>
Cc Romain Naour <[email protected]>
Cc Thomas De Schampheleire <[email protected]>

Committed to 2019.02.x and 2019.11.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard