Commit Graph

8 Commits

Author SHA1 Message Date
Eneas U de Queiroz bf99bfbadb
openblas: avoid using make -j when building
Set MAKE_NB_JOBS=-1 so that no -j parameter is passed to make when
building the package, honoring the parent make's setting.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-10-06 17:09:10 -03:00
Eneas U de Queiroz 7ff29af4fd
openblas: fix compilation with mips x4k series CPU
Anything later than MIPS 24k can run MIPS 24k code.  Set OPENBLAS_TARGET
to MIPS24K in those cases.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-10-06 15:29:47 -03:00
Alexandru Ardelean 1e22ca7ce1 openblas: bump to 0.3.18
Drops patch, which was upstreamed.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-10-04 08:46:11 -07:00
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