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>
This commit is contained in:
parent
863acbd4ac
commit
9b94996370
|
@ -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…
Reference in New Issue