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>
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>
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>
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>
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>