Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Moving CPU flags into USE_EXPAND
Date: Wed, 14 Jan 2015 11:58:38
Message-Id: 20150114125821.333e0bcb@pomiot.lan
1 Hi,
3 I think this has been discussed already [1] but in the end never was
4 applied or even finished discussing. So I'd like to revive the topic
5 and apply the necessary changes in a few days if nobody objects
6 strongly.
8 Rationale: we have a growing number of CPU-corresponding flags that all
9 are fit as global USE flags by definition and are usually set once
10 by user. As far as I'm aware, CPUs don't grow new instruction sets once
11 installed, so in most of the cases user doesn't need to be concerned by
12 additional cryptic flag names once he set up his CPU.
14 Solution: per-arch USE_EXPANDs for flags, e.g.:
16 CPU_FLAGS_X86="3dnow 3dnowext avx ..."
17 CPU_FLAGS_ARM="neon ..." # arm* flags?
18 CPU_FLAGS_MIPS="..." # mips* flags?
20 Any specific comments? I can handle x86 but I'd appreciate specific
21 arch teams replying about more exotic arches.
23 [1]:
25 --
26 Best regards,
27 Michał Górny


Subject Author
Re: [gentoo-dev] Moving CPU flags into USE_EXPAND Alexis Ballier <aballier@g.o>
Re: [gentoo-dev] Moving CPU flags into USE_EXPAND "Andreas K. Huettel" <dilfridge@g.o>
Re: [gentoo-dev] Moving CPU flags into USE_EXPAND Markus Meier <maekke@g.o>