package/lapack: introduce BR2_PACKAGE_LAPACK_ARCH_SUPPORTS
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sat, 24 Jul 2021 21:45:25 +0000 (23:45 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 25 Jul 2021 07:42:14 +0000 (09:42 +0200)
commitd2453aa83d8f7d394b3dbe33472e5f1642268a63
tree9967435ccefa788d99c096eab36f931eb7784935
parent6e47347b1d83e8816366dd4588f11e95a0571382
package/lapack: introduce BR2_PACKAGE_LAPACK_ARCH_SUPPORTS

This makes it easier for packages that depend on lapack to get
their dependencies correct.

The !uClibc dependency is also not sufficient: indeed, musl too does not
provide _fpu_control; only glibc does. This is the same situation as for
clapack. Add a comment about this, to mirror clapack.

Since the !glibc dependency only exists for PowerPC, treat it as
an architecture dependency.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[yann.morin.1998@free.fr:
  - fpu_control depends on glibc, not on !uclibc
  - add or update comments accordingly
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/lapack/Config.in