From 4c5a05cd634315c6470b36d197c4db12276aeb03 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Sun, 26 Sep 2021 12:28:06 +0300 Subject: [PATCH] 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 --- libs/openblas/patches/001-adjust-mips-el-arch.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 libs/openblas/patches/001-adjust-mips-el-arch.patch diff --git a/libs/openblas/patches/001-adjust-mips-el-arch.patch b/libs/openblas/patches/001-adjust-mips-el-arch.patch new file mode 100644 index 0000000000..62e736ea3b --- /dev/null +++ b/libs/openblas/patches/001-adjust-mips-el-arch.patch @@ -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 -- 2.30.2