1 |
commit: 5b8636438b6c08f81e7f08d0da3db67b2c9ef457 |
2 |
Author: matoro <matoro <AT> users <DOT> noreply <DOT> github <DOT> com> |
3 |
AuthorDate: Fri May 6 02:13:46 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 6 07:08:20 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b863643 |
7 |
|
8 |
dev-lang/cfortran: Stabilize 20110621 sparc, #817647 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/818400 |
11 |
Signed-off-by: matoro <matoro <AT> users.noreply.github.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/25342 |
13 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
14 |
|
15 |
dev-lang/cfortran/cfortran-20110621.ebuild | 9 +++++++-- |
16 |
dev-lang/cfortran/cfortran-20210827.ebuild | 7 ++++++- |
17 |
2 files changed, 13 insertions(+), 3 deletions(-) |
18 |
|
19 |
diff --git a/dev-lang/cfortran/cfortran-20110621.ebuild b/dev-lang/cfortran/cfortran-20110621.ebuild |
20 |
index e61e831fc6a1..a65b62346134 100644 |
21 |
--- a/dev-lang/cfortran/cfortran-20110621.ebuild |
22 |
+++ b/dev-lang/cfortran/cfortran-20110621.ebuild |
23 |
@@ -5,7 +5,7 @@ EAPI=8 |
24 |
|
25 |
FORTRAN_NEEDED=test |
26 |
|
27 |
-inherit autotools fortran-2 |
28 |
+inherit autotools fortran-2 flag-o-matic |
29 |
|
30 |
DEB_PR="1" |
31 |
|
32 |
@@ -17,7 +17,7 @@ SRC_URI=" |
33 |
|
34 |
SLOT="0" |
35 |
LICENSE="LGPL-2" |
36 |
-KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" |
37 |
+KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" |
38 |
IUSE="examples test" |
39 |
|
40 |
RESTRICT="!test? ( test )" |
41 |
@@ -38,6 +38,11 @@ src_prepare() { |
42 |
fi |
43 |
} |
44 |
|
45 |
+src_configure() { |
46 |
+ use sparc && append-fflags $(test-flags-FC -fno-store-merging -fno-tree-slp-vectorize) |
47 |
+ default |
48 |
+} |
49 |
+ |
50 |
src_install() { |
51 |
default |
52 |
|
53 |
|
54 |
diff --git a/dev-lang/cfortran/cfortran-20210827.ebuild b/dev-lang/cfortran/cfortran-20210827.ebuild |
55 |
index d389fc9ca6b7..f249a3467338 100644 |
56 |
--- a/dev-lang/cfortran/cfortran-20210827.ebuild |
57 |
+++ b/dev-lang/cfortran/cfortran-20210827.ebuild |
58 |
@@ -5,7 +5,7 @@ EAPI=8 |
59 |
|
60 |
FORTRAN_NEEDED=test |
61 |
|
62 |
-inherit autotools fortran-2 |
63 |
+inherit autotools fortran-2 flag-o-matic |
64 |
|
65 |
DEB_PR="1" |
66 |
|
67 |
@@ -39,6 +39,11 @@ src_prepare() { |
68 |
fi |
69 |
} |
70 |
|
71 |
+src_configure() { |
72 |
+ use sparc && append-fflags $(test-flags-FC -fno-store-merging -fno-tree-slp-vectorize) |
73 |
+ default |
74 |
+} |
75 |
+ |
76 |
src_install() { |
77 |
default |