package/openblas: fix detection of gfortran compiler
authorThomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Fri, 12 Feb 2021 09:15:10 +0000 (10:15 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 16 Feb 2021 22:10:57 +0000 (23:10 +0100)
commit8efa82a41d7c345d59fcd8113a679aaacd8043a7
tree5525b2d9f9b0baafeea05bcec277f347370e498c
parent6f29cdeee40e556d26b791fabaff84a09e1a2d5d
package/openblas: fix detection of gfortran compiler

The compiler detection since openblas 0.3.8 added support for gcc 10, but
this broke detection of compilers created with crosstool-ng, or other
toolchains that have a package version containing a version like x.y.z where
at least one of x, y or z have more than one digit, for example
"Crosstool-NG 1.24.0".

See the reported issue for more details [1].

Backport the upstream patch that fixes it.

[1] https://github.com/xianyi/OpenBLAS/issues/3099

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/openblas/0001-fix-gfortran-detection.patch [new file with mode: 0644]