Commit graph

5 commits

Author SHA1 Message Date
Alexandru Ardelean
d009987c64 libs: openblas: use GENERIC for MIPS{EL} and MIPS24K for CPU_TYPE == 24kc
Up until now, we were defaulting to MIPS24K for all MIPS archs.
But, we should use the GENERIC target for MIPS{EL} and the MIPS24K target
for the 24kc CPU_TYPE.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-09-26 18:08:20 -07:00
Alexandru Ardelean
4c5a05cd63 libs: openblas: patch openblas to handle mips{64}el arch names
Related to PR: https://github.com/xianyi/OpenBLAS/pull/3387

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-09-26 18:08:20 -07:00
Alexandru Ardelean
9b94996370 libs: openblas: use GENERIC target for MIPS64 archs and as default
The GENERIC target for OpenBLAS seems good enough for most configs, so try
to use it for MIPS64 and as default for other archs.
This was already being used for x86{_64} archs.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-09-26 18:08:20 -07:00
Alexandru Ardelean
2067eab84c openblas: bump to version 0.3.17 and fix ccache build
Fixes: https://github.com/openwrt/packages/issues/16271

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-08-02 15:10:55 +02:00
Alexandru Ardelean
9cbf548649 openblas: add initial package
Initial draft PR is:
  https://github.com/openwrt/packages/pull/11894

This one is a bit more complete, and follows packaging practices.

For now, disabling builds on ARC and PowerPC. Will require more work to get
them going.
Explicitly disabling OpenMP support, so that it doesn't get picked by
accident.

Later we may use the `CPU_TYPE` parameter to tweak things a little further.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-07-26 10:27:44 +03:00