Merge pull request #17077 from commodo/openblas-mips-fix

openblas: default to MIPS24K target for all mips32 targets
This commit is contained in:
Alexandru Ardelean 2021-11-08 09:11:40 +02:00 committed by GitHub
commit 1f90475fc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 6 deletions

View File

@ -58,13 +58,9 @@ ifeq ($(ARCH),aarch64)
else ifeq ($(ARCH),arm)
OPENBLAS_TARGET:=ARMV5
else ifeq ($(ARCH),mips)
ifneq ($(filter 24k% 74k%,$(CPU_TYPE)),)
OPENBLAS_TARGET:=MIPS24K
endif # CPU_TYPE == 24k* or 74k*
OPENBLAS_TARGET:=MIPS24K
else ifeq ($(ARCH),mipsel)
ifneq ($(filter 24k% 74k%,$(CPU_TYPE)),)
OPENBLAS_TARGET:=MIPS24K
endif # CPU_TYPE == 24k* or 74k*
OPENBLAS_TARGET:=MIPS24K
else ifeq ($(ARCH),powerpc)
OPENBLAS_TARGET:=PPC440
endif