Difference between pages "Welcome" and "News:CPU FLAGS X86"

(Difference between pages)
 
m (fix format)
 
Line 1: Line 1:
<div class="container" style="font-family: Open Sans; font-size: 14px; line-height: 20px;"><div class="row"><div class="col-xs-12 col-md-8 col-lg-8">
+
{{News
{{Slideshow}}
+
|Summary=CPU_FLAGS_X86 are being introduced to group together USE flags managing CPU instruction sets.
</div><div class="col-xs-12 col-md-4 col-lg-4">
+
|News Format=Extended
'''Funtoo Linux''' is a Linux-based operating system that is a variant of [http://en.wikipedia.org/wiki/Gentoo_Linux Gentoo Linux], led by [[User:Drobbins|Daniel Robbins]] (the creator and former Chief Architect of Gentoo) who serves as benevolent dictator for life (BDFL) of the project. ''Funtoo Linux is optimized for the best possible performance, supporting Intel Core i7, AMD FX Processors, and others.''  [[Subarches|See what we support.]] See [[#Distinctives|Distinctives]], below, for more information about what makes us special.
+
|News Category=General
 +
|Author=Mgorny
 +
|Publication Status=Published
 +
|Publication Date=2015/01/31
 +
}}
 +
Hello, everyone.
  
'''Other Funtoo Projects include''':
+
The USE flags corresponding to the instruction sets and other features specific to the x86 (including x86-64) architecture are being moved into a separate USE flag group called CPU_FLAGS_X86.
*  '''[[Keychain]]''', an SSH/GPG agent front-end.
+
* '''[[Metro]]''', automated Funtoo build engine.
+
  
 +
In order not to lose CPU-specific optimizations, users will be required to update their make.conf (and package.use) file. For example, if the following USE flags were present:
  
'''Ebuild pages recently updated:''' {{#ask: [[Category:Ebuilds]]
+
{{file|name=/etc/portage/make.conf|desc=The original make.conf flags|body=
| order=descending
+
USE="mmx mmxext sse sse2 sse3"
| sort=Modification date
+
| format=list
+
| limit=10
+
| searchlabel=more...
+
 
}}
 
}}
  
'''Want to submit a screenshot? [http://forums.funtoo.org/index.php?/topic/180-screenshots/ See here.]'''
+
Those flags need to be copied into:
</div></div><div class="row"><div class="col-xs-12">
+
{{Announce|[[Support Funtoo]] and help us grow! '''Donate $15 per month and get a free SSD-based [[Funtoo Hosting|Funtoo Virtual Container]].'''}}
+
</div></div><div class="row"><div class="col-xs-12 col-md-4 col-lg-4">
+
=== News ===
+
{{NewsList|3}}
+
[[News|View More News...]]
+
  
=== Expand the wiki! ===
+
{{file|name=/etc/portage/make.conf|desc=The new make.conf flags|body=
 +
CPU_FLAGS_X86="mmx mmxext sse sse2 sse3"
 +
}}
  
The [[:Help:Funtoo_Editing_Guidelines | How to 'wiki']] will help get you started on wiki editing. Have a look at [[Requested-Documents]] and [[:Category:Needs_Updates | pages that need to be updated.]]
+
Please note that the same CPU_FLAGS_X86 variable is used both on 32-bit and 64-bit x86 (amd64) systems.
  
See [[:Category:Ebuilds|Ebuilds]] for a list of all ebuild pages, and [[Adding an Ebuild to the Wiki]] for information on how to add one.
+
When in doubt, you can consult the flag descriptions using one of the commonly available tools, e.g. ''equery uses'' from gentoolkit:
</div><div class="col-sm-12 col-xs-12 col-md-4 col-lg-4">
+
=== Distinctives ===
+
  
Funtoo Linux is a meta-distribution, which means it is built (fully automatically) with the functionality and optimizations that ''you'' want, not what some distro maintainer thought was best for you. Packages are installed directly from source code, thanks to the [http://en.wikipedia.org/wiki/Portage_(software) Portage ports system], inspired by the FreeBSD ports system, written in Python and with full advanced package management functionality.
+
{{console|body=
 +
$##i## equery uses media-video/ffmpeg
 +
}}
  
''Benefits for desktops'': leaner, optimized, faster system. ''Additional benefits for servers'': enable only what you actually need to reduce attack surface, thus improving security.
+
Most of the flag names match /proc/cpuinfo names, with the notable exception of SSE3 which is called 'pni' in /proc/cpuinfo (please also do not confuse it with distinct SSSE3).
  
We use [http://en.wikipedia.org/wiki/Git_(software) Git] for all our development, and we also use Git to deliver our ports tree to you.
+
To help users enable the correct USE flags, we are providing a Python script that generates the correct value using /proc/cpuinfo. It can be found in the {{Package|app-portage/cpuinfo2cpuflags}} package:
  
In contrast to Gentoo Linux, we offer a number of innovations, including our extensive use of git, [[Funtoo 1.0 Profile|our profile system]], [[Package:Boot-Update|boot-update]] boot management tool, our incredibly flexible [[Funtoo Linux Networking|template-based networking scripts]], [[Metro Quick Start Tutorial|Metro]] distribution build system, support of Debian, RHEL and other kernels, [[Creating_Python-related_Ebuilds|enhanced Python support]], Portage mini-manifests, user-centric distribution model, and a large number of community infrastructure improvements.
+
{{console|body=
</div><div class="col-sm-12 col-xs-12 col-md-4 col-lg-4">
+
###i## emerge -1v app-portage/cpuinfo2cpuflags
=== Getting Started ===
+
$##i## cpuinfo2cpuflags-x86
 +
}}
  
'''[[Funtoo Linux Installation|Install Funtoo Linux]]''' and get involved in our user community. Get to know fellow users on our '''[http://forums.funtoo.org forums]'''. Funtoo Linux has a very active [http://en.wikipedia.org/wiki/IRC IRC] community on [http://freenode.net Freenode] (in the <code>#funtoo</code> channel) and you are encouraged to hang out with us.
+
In order to ensure safe migration and maintain compatibility with external repositories, it is recommended to preserve the old USE settings for a period of one year or until no package of interest is still using them.
 
+
{{NewsFooter}}
'''[[Reporting Bugs|We welcome bug reports and suggestions]]'''. You are strongly encouraged to report them on our '''[http://bugs.funtoo.org bug tracker]'''. We take all bugs seriously, and all work performed is tracked on our bug tracker, for purposes of transparency.
+
 
+
'''{{CreateAccount}}''', which allows you to log in to the wiki, [http://forums.funtoo.org forums] and [https://bugs.funtoo.org bug tracker], and then add yourself to our [[Usermap]]. See the [[Funtoo Authentication FAQ|Auth FAQ]] for more info about account creation.
+
 
+
'''[[:Category:Articles|Learn Linux fundamentals]]''' from Daniel Robbins, including Open Source tools such as [[Sed_by_Example,_Part_1|Sed]], [[Awk_by_Example,_Part_1|Awk]]. [[Bash_by_Example,_Part_1|Bash]] and more.
+
 
+
'''See our [[Funtoo Linux FAQ|FAQ]] for answers to common questions.'''
+
 
+
Other resources include [http://larrythecow.org larrythecow.org], the Gentoo blog aggregator, [http://kernel-seeds.org kernel-seeds.org], and [http://git.funtoo.org git.funtoo.org], our cgit repository browser.
+
</div></div></div>
+
 
+
__NOTITLE__
+
__NOEDITSECTION__
+
{{#subobject:|slideIndex=0|slideCaption=
+
<h4>h3nnn4n</h4>
+
 
+
Awesome WM / Conky / screenfetch
+
|slideImage=File:H3nnn4n.jpg}}
+
{{#subobject:|slideIndex=1|slideCaption=
+
<h4>brushdemon</h4>
+
 
+
OpenBox / screenfetch
+
|slideImage=File:brushdemon.jpg}}
+
{{#subobject:|slideIndex=2|slideCaption=
+
<h4>drobbins</h4>
+
 
+
[[GNOME First Steps|GNOME 3.14]]  / [[Funtoo_Linux_FAQ#Do_you_support_systemd.3F|without systemd]] / Badgers optional
+
|slideImage=File:gnome3122.jpg|slideLink=GNOME First Steps}}
+
 
+
{{#subobject:|slideIndex=3|slideCaption=
+
<h4>spectromas</h4>
+
 
+
[[Package:Awesome_(Window_Manager)|Awesome WM]]
+
|slideImage=File:awesome.jpg|slideLink=Package:Awesome (Window Manager)}}
+
 
+
{{#seo:
+
|title=Funtoo Linux
+
|keywords=funtoo,linux,gentoo,Daniel Robbins
+
|description=Funtoo Linux is a Gentoo-based OS that uses a git-based Portage tree. Run by Daniel Robbins, creator of Gentoo.
+
}}
+

Latest revision as of 08:59, January 31, 2015

CPU FLAGS X86

CPU_FLAGS_X86 are being introduced to group together USE flags managing CPU instruction sets.

By Mgorny / January 31, 2015

Hello, everyone.

The USE flags corresponding to the instruction sets and other features specific to the x86 (including x86-64) architecture are being moved into a separate USE flag group called CPU_FLAGS_X86.

In order not to lose CPU-specific optimizations, users will be required to update their make.conf (and package.use) file. For example, if the following USE flags were present:

/etc/portage/make.conf - The original make.conf flags
USE="mmx mmxext sse sse2 sse3"

Those flags need to be copied into:

/etc/portage/make.conf - The new make.conf flags
CPU_FLAGS_X86="mmx mmxext sse sse2 sse3"

Please note that the same CPU_FLAGS_X86 variable is used both on 32-bit and 64-bit x86 (amd64) systems.

When in doubt, you can consult the flag descriptions using one of the commonly available tools, e.g. equery uses from gentoolkit:

$ equery uses media-video/ffmpeg


Most of the flag names match /proc/cpuinfo names, with the notable exception of SSE3 which is called 'pni' in /proc/cpuinfo (please also do not confuse it with distinct SSSE3).

To help users enable the correct USE flags, we are providing a Python script that generates the correct value using /proc/cpuinfo. It can be found in the app-portage/cpuinfo2cpuflags (package not on wiki - please add) package:

# emerge -1v app-portage/cpuinfo2cpuflags
$ cpuinfo2cpuflags-x86


In order to ensure safe migration and maintain compatibility with external repositories, it is recommended to preserve the old USE settings for a period of one year or until no package of interest is still using them.

blog comments powered by Disqus