Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/arch/arm64/
Date: Mon, 27 Feb 2017 08:34:25
Message-Id: 1488184442.77d18b6fd1d08dca8fdf121adc478e25c25a467c.aballier@gentoo
1 commit: 77d18b6fd1d08dca8fdf121adc478e25c25a467c
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 27 08:33:46 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 27 08:34:02 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77d18b6f
7
8 profiles/arch/arm64: Unmask neon and armvfp useflags. Force them on for ffmpeg as it assumes they are available on arm64 and fails to build if those are disabled, bug #610768
9
10 profiles/arch/arm64/package.use.force | 8 ++++++++
11 profiles/arch/arm64/use.mask | 4 ++++
12 2 files changed, 12 insertions(+)
13
14 diff --git a/profiles/arch/arm64/package.use.force b/profiles/arch/arm64/package.use.force
15 index a5c1831f38..0bf8b00205 100644
16 --- a/profiles/arch/arm64/package.use.force
17 +++ b/profiles/arch/arm64/package.use.force
18 @@ -2,6 +2,14 @@
19 # Distributed under the terms of the GNU General Public License v2
20 # $Id$
21
22 +# Alexis Ballier <27 Feb 2017>
23 +# arm64 always has neon and vfp:
24 +# http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.den0024a/CJHECGIH.html
25 +# Both floating-point and NEON are required in all standard ARMv8
26 +# implementations.
27 +# It also fails to build without neon: bug #610768
28 +media-video/ffmpeg neon armvfp
29 +
30 # Michał Górny <mgorny@g.o> (24 Sep 2016)
31 # Force the host target to avoid dependency hell
32 sys-devel/clang llvm_targets_AArch64
33
34 diff --git a/profiles/arch/arm64/use.mask b/profiles/arch/arm64/use.mask
35 index ea6679d6bf..cacb75abb5 100644
36 --- a/profiles/arch/arm64/use.mask
37 +++ b/profiles/arch/arm64/use.mask
38 @@ -1,6 +1,10 @@
39 # Unmask the flag which corresponds to ARCH.
40 -arm64
41
42 +# Unmask arm specific USE flags
43 +-neon
44 +-armvfp
45 +
46 # doomsday ebuild is not available on this architecture
47 doomsday