diff options
author | WANG Xuerui <xen0n@gentoo.org> | 2022-05-13 20:45:40 +0800 |
---|---|---|
committer | WANG Xuerui <xen0n@gentoo.org> | 2022-05-13 20:57:28 +0800 |
commit | ddd2668b8fd04954822288f69307fcbd26f43bb5 (patch) | |
tree | d9f557825c244a0358a5e4f3da148c8c36173a33 /sci-libs/openblas | |
parent | sci-libs/openblas: fix build on loong (diff) | |
download | gentoo-ddd2668b8fd04954822288f69307fcbd26f43bb5.tar.gz gentoo-ddd2668b8fd04954822288f69307fcbd26f43bb5.tar.bz2 gentoo-ddd2668b8fd04954822288f69307fcbd26f43bb5.zip |
sci-libs/openblas: run scrub-patch on openblas-0.3.20-fix-riscv.patch
Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
Diffstat (limited to 'sci-libs/openblas')
-rw-r--r-- | sci-libs/openblas/files/openblas-0.3.20-fix-riscv.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/sci-libs/openblas/files/openblas-0.3.20-fix-riscv.patch b/sci-libs/openblas/files/openblas-0.3.20-fix-riscv.patch index 9a14180cb85d..a386a0b38467 100644 --- a/sci-libs/openblas/files/openblas-0.3.20-fix-riscv.patch +++ b/sci-libs/openblas/files/openblas-0.3.20-fix-riscv.patch @@ -1,7 +1,6 @@ Bug: https://bugs.gentoo.org/837806 From https://github.com/xianyi/OpenBLAS/pull/3613 -From 3fc52ebcfb80e01f753938fd314ca07b2c085767 Mon Sep 17 00:00:00 2001 From: Han Gao <gaohan@uniontech.com> Date: Wed, 27 Apr 2022 01:34:55 +0800 Subject: [PATCH 1/2] Fix other arch build in detect. @@ -9,12 +8,6 @@ Subject: [PATCH 1/2] Fix other arch build in detect. When CORE is empty, use -march=loongson3a. Fix it. Signed-off-by: Han Gao <gaohan@uniontech.com> ---- - Makefile.system | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile.system b/Makefile.system -index ac60eae5b6..1104893b55 100644 --- a/Makefile.system +++ b/Makefile.system @@ -847,7 +847,7 @@ CCOMMON_OPT += -mabi=32 @@ -27,19 +20,11 @@ index ac60eae5b6..1104893b55 100644 FCOMMON_OPT += -march=loongson3a endif -From 8123324c99ba69ce23b4028468313663001a76c6 Mon Sep 17 00:00:00 2001 From: Han Gao <gaohan@uniontech.com> Date: Wed, 27 Apr 2022 02:29:43 +0800 Subject: [PATCH 2/2] Fix riscv64 arch detect Signed-off-by: Han Gao <gaohan@uniontech.com> ---- - cpuid_riscv64.c | 18 +++++++++--------- - getarch.c | 4 ++-- - 2 files changed, 11 insertions(+), 11 deletions(-) - -diff --git a/cpuid_riscv64.c b/cpuid_riscv64.c -index 0eb50e0018..2aa4217816 100644 --- a/cpuid_riscv64.c +++ b/cpuid_riscv64.c @@ -1,5 +1,5 @@ @@ -92,8 +77,6 @@ index 0eb50e0018..2aa4217816 100644 printf("#define L1_DATA_SIZE 65536\n"); printf("#define L1_DATA_LINESIZE 32\n"); printf("#define L2_SIZE 512488\n"); -diff --git a/getarch.c b/getarch.c -index 4af986fb3b..f4590769d9 100644 --- a/getarch.c +++ b/getarch.c @@ -1731,7 +1731,7 @@ int main(int argc, char *argv[]){ |