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>
This commit is contained in:
parent
9b94996370
commit
4c5a05cd63
1 changed files with 13 additions and 0 deletions
13
libs/openblas/patches/001-adjust-mips-el-arch.patch
Normal file
13
libs/openblas/patches/001-adjust-mips-el-arch.patch
Normal 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…
Reference in a new issue