Browse Source

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>
lilik-openwrt-22.03
Alexandru Ardelean 3 years ago
committed by Rosen Penev
parent
commit
9b94996370
1 changed files with 3 additions and 8 deletions
  1. +3
    -8
      libs/openblas/Makefile

+ 3
- 8
libs/openblas/Makefile View File

@ -49,6 +49,9 @@ endef
OPENBLAS_TARGET=$(call qstrip,$(CONFIG_OPENBLAS_TARGET_OVERRIDE))
ifeq ($(OPENBLAS_TARGET),)
# initialize to GENERIC as default
OPENBLAS_TARGET:=GENERIC
ifeq ($(ARCH),aarch64)
OPENBLAS_TARGET:=ARMV8
else ifeq ($(ARCH),arm)
@ -59,14 +62,6 @@ else ifeq ($(ARCH),mipsel)
OPENBLAS_TARGET:=MIPS24K
else ifeq ($(ARCH),powerpc)
OPENBLAS_TARGET:=PPC440
else ifeq ($(ARCH),mips64)
OPENBLAS_TARGET:=I6400
else ifeq ($(ARCH),mips64el)
OPENBLAS_TARGET:=I6400
else ifeq ($(ARCH),i386)
OPENBLAS_TARGET:=GENERIC
else ifeq ($(ARCH),x86_64)
OPENBLAS_TARGET:=GENERIC
endif
endif # ifeq ($(OPENBLAS_TARGET),)


Loading…
Cancel
Save