Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cpuid2cpuflags - output changed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
freke
l33t
l33t


Joined: 23 Jan 2003
Posts: 977
Location: Somewhere in Denmark

PostPosted: Tue Jan 16, 2018 6:32 pm    Post subject: cpuid2cpuflags - output changed Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Tue Jan 16, 2018 6:37 pm    Post subject: Re: cpuid2cpuflags - output changed Reply with quote

No, new version print different output (see here)
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3922
Location: Hamburg

PostPosted: Tue Jan 16, 2018 7:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Tue Jan 16, 2018 7:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4554
Location: Germany

PostPosted: Wed Jan 17, 2018 3:44 am    Post subject: Reply with quote

Yes, but this horrible hack is not required,
CPU_FLAGS_X86=" .. .. .. "
in make.conf works fine.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Wed Jan 17, 2018 6:50 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum