The program used to print directly usable lines like: CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" Now the output (version 2+) is: CPU_FLAGS_X86: aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3 If you want to automate your Gentoo installation, you'll probably send the output of cpuid2cpuflags to /etc/portage/make.conf, but now you actually cannot :(
echo "*/* $(cpuid2cpuflags)" > /etc/portage/package.use/00cpu-flags
Thanks, that seems like a good way. However, the new ebuild could print a warning about this change :)
Yeah, documenting that makes sense.
See also: https://github.com/mgorny/cpuid2cpuflags/pull/5
v4 includes a README + conditional postinst message.
Thanks