View previous topic :: View next topic |
Author |
Message |
freke l33t
Joined: 23 Jan 2003 Posts: 977 Location: Somewhere in Denmark
|
Posted: Tue Jan 16, 2018 6:32 pm Post subject: cpuid2cpuflags - output changed |
|
|
Code: | Please note that the output has changed in v2. The new format is suitable
both for Portage and Paludis. To use it, e.g.:
$ echo "*/* $(cpuid2cpuflags)" > /etc/portage/package.use/00cpuflags
(you may need to convert package.use into a directory if you want to use
separate file as presented here) |
Is Code: | CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4a ssse3" | in make.conf being deprecated? And I should now use Code: | */* CPU_FLAGS_X86: mmx mmxext popcnt sse sse2 sse3 sse4a ssse3 | in package.use?
Tia |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30905 Location: here
|
Posted: Tue Jan 16, 2018 6:37 pm Post subject: Re: cpuid2cpuflags - output changed |
|
|
No, new version print different output (see here) _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3922 Location: Hamburg
|
Posted: Tue Jan 16, 2018 7:21 pm Post subject: |
|
|
Yes, this works : Code: | $ cat /etc/portage/package.use/00cpuflags
*/* CPU_FLAGS_X86: aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3
|
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30905 Location: here
|
Posted: Tue Jan 16, 2018 7:36 pm Post subject: |
|
|
toralf wrote: | Yes, this works : Code: | $ cat /etc/portage/package.use/00cpuflags
*/* CPU_FLAGS_X86: aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3
|
|
Ok I haven't read all, work in package.use but not in make.conf _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Josef.95 Advocate
Joined: 03 Sep 2007 Posts: 4554 Location: Germany
|
Posted: Wed Jan 17, 2018 3:44 am Post subject: |
|
|
Yes, but this horrible hack is not required,
CPU_FLAGS_X86=" .. .. .. "
in make.conf works fine. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30905 Location: here
|
Posted: Wed Jan 17, 2018 6:50 am Post subject: |
|
|
Josef.95 wrote: | Yes, but this horrible hack is not required,
CPU_FLAGS_X86=" .. .. .. "
in make.conf works fine. |
Even because for global settings I prefer to put them in make.conf _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
|