Browse Source

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>
lilik-openwrt-22.03
Alexandru Ardelean 3 years ago
committed by Rosen Penev
parent
commit
4c5a05cd63
1 changed files with 13 additions and 0 deletions
  1. +13
    -0
      libs/openblas/patches/001-adjust-mips-el-arch.patch

+ 13
- 0
libs/openblas/patches/001-adjust-mips-el-arch.patch View File

@ -0,0 +1,13 @@
--- a/Makefile.system
+++ b/Makefile.system
@@ -33,6 +33,10 @@ else ifeq ($(ARCH), armv7)
override ARCH=arm
else ifeq ($(ARCH), aarch64)
override ARCH=arm64
+else ifeq ($(ARCH), mipsel)
+override ARCH=mips
+else ifeq ($(ARCH), mips64el)
+override ARCH=mips64
else ifeq ($(ARCH), zarch)
override ARCH=zarch
endif

Loading…
Cancel
Save