Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/fftw/
Date: Wed, 13 May 2020 09:03:13
Message-Id: 1589360577.2424a31e9abdafb42ce3f7da50457677d6209eb1.mgorny@gentoo
1 commit: 2424a31e9abdafb42ce3f7da50457677d6209eb1
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 13 08:18:09 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed May 13 09:02:57 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2424a31e
7
8 sci-libs/fftw: Workaround missing -mavx2 with avx2 flag
9
10 Bug: https://bugs.gentoo.org/698572
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 sci-libs/fftw/fftw-3.3.8-r1.ebuild | 4 ++++
14 1 file changed, 4 insertions(+)
15
16 diff --git a/sci-libs/fftw/fftw-3.3.8-r1.ebuild b/sci-libs/fftw/fftw-3.3.8-r1.ebuild
17 index 9266b28d174..f8105f1e1b4 100644
18 --- a/sci-libs/fftw/fftw-3.3.8-r1.ebuild
19 +++ b/sci-libs/fftw/fftw-3.3.8-r1.ebuild
20 @@ -136,6 +136,10 @@ multilib_src_configure() {
21 }
22
23 src_configure() {
24 + # upstream does not append proper -m flags
25 + # https://bugs.gentoo.org/698572
26 + use cpu_flags_x86_avx2 && append-flags -mavx2
27 +
28 multibuild_foreach_variant multilib-minimal_src_configure
29 }