Gentoo Archives: gentoo-commits

From: WANG Xuerui <xen0n@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/openblas/files/
Date: Fri, 13 May 2022 12:58:04
Message-Id: 1652446648.ddd2668b8fd04954822288f69307fcbd26f43bb5.xen0n@gentoo
1 commit: ddd2668b8fd04954822288f69307fcbd26f43bb5
2 Author: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 13 12:45:40 2022 +0000
4 Commit: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
5 CommitDate: Fri May 13 12:57:28 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddd2668b
7
8 sci-libs/openblas: run scrub-patch on openblas-0.3.20-fix-riscv.patch
9
10 Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>
11
12 sci-libs/openblas/files/openblas-0.3.20-fix-riscv.patch | 17 -----------------
13 1 file changed, 17 deletions(-)
14
15 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
16 index 9a14180cb85d..a386a0b38467 100644
17 --- a/sci-libs/openblas/files/openblas-0.3.20-fix-riscv.patch
18 +++ b/sci-libs/openblas/files/openblas-0.3.20-fix-riscv.patch
19 @@ -1,7 +1,6 @@
20 Bug: https://bugs.gentoo.org/837806
21 From https://github.com/xianyi/OpenBLAS/pull/3613
22
23 -From 3fc52ebcfb80e01f753938fd314ca07b2c085767 Mon Sep 17 00:00:00 2001
24 From: Han Gao <gaohan@×××××××××.com>
25 Date: Wed, 27 Apr 2022 01:34:55 +0800
26 Subject: [PATCH 1/2] Fix other arch build in detect.
27 @@ -9,12 +8,6 @@ Subject: [PATCH 1/2] Fix other arch build in detect.
28 When CORE is empty, use -march=loongson3a. Fix it.
29
30 Signed-off-by: Han Gao <gaohan@×××××××××.com>
31 ----
32 - Makefile.system | 2 +-
33 - 1 file changed, 1 insertion(+), 1 deletion(-)
34 -
35 -diff --git a/Makefile.system b/Makefile.system
36 -index ac60eae5b6..1104893b55 100644
37 --- a/Makefile.system
38 +++ b/Makefile.system
39 @@ -847,7 +847,7 @@ CCOMMON_OPT += -mabi=32
40 @@ -27,19 +20,11 @@ index ac60eae5b6..1104893b55 100644
41 FCOMMON_OPT += -march=loongson3a
42 endif
43
44 -From 8123324c99ba69ce23b4028468313663001a76c6 Mon Sep 17 00:00:00 2001
45 From: Han Gao <gaohan@×××××××××.com>
46 Date: Wed, 27 Apr 2022 02:29:43 +0800
47 Subject: [PATCH 2/2] Fix riscv64 arch detect
48
49 Signed-off-by: Han Gao <gaohan@×××××××××.com>
50 ----
51 - cpuid_riscv64.c | 18 +++++++++---------
52 - getarch.c | 4 ++--
53 - 2 files changed, 11 insertions(+), 11 deletions(-)
54 -
55 -diff --git a/cpuid_riscv64.c b/cpuid_riscv64.c
56 -index 0eb50e0018..2aa4217816 100644
57 --- a/cpuid_riscv64.c
58 +++ b/cpuid_riscv64.c
59 @@ -1,5 +1,5 @@
60 @@ -92,8 +77,6 @@ index 0eb50e0018..2aa4217816 100644
61 printf("#define L1_DATA_SIZE 65536\n");
62 printf("#define L1_DATA_LINESIZE 32\n");
63 printf("#define L2_SIZE 512488\n");
64 -diff --git a/getarch.c b/getarch.c
65 -index 4af986fb3b..f4590769d9 100644
66 --- a/getarch.c
67 +++ b/getarch.c
68 @@ -1731,7 +1731,7 @@ int main(int argc, char *argv[]){