Difference between pages "Template:Ebuild" and "Subarches"

(Difference between pages)
 
 
Line 1: Line 1:
<noinclude>
+
= Funtoo Linux Sub-Architectures =
This is the "Ebuild" template.
+
__NOTITLE__
It should be called in the following format:
+
This page provides an overview of Funtoo Linux sub-architectures (also called ''subarches'') designed for quick and easy reference. Funtoo Linux provides optimized installation images for all sub-architectures listed below. See the [[Funtoo Linux Installation|Funtoo Linux Installation Guide]] to install Funtoo Linux.
<pre>
+
{{#widget:AddThis}}
{{Ebuild
+
{{Note|The cpuid application can be used to help identify your processor and its microarchitecture.
|Summary=
+
<console>
|CatPkg=
+
###i## emerge cpuid; cpuid | tail -n 1
|Maintainer=
+
</console>}}
|Homepage=
+
 
 +
== ARM ==
 +
 
 +
{{TableStart}}
 +
<tr><th class="warn" colspan="3">32-bit ARM Processors</th></tr>
 +
{{#ask:[[CPU Family::32-bit ARM Processors]]
 +
|?#
 +
|?Subarch
 +
|?CFLAGS
 +
|?Description
 +
|format=template
 +
|link=none
 +
|headers=hide
 +
|searchlabel=... further results
 +
|sep=,
 +
|template=SubarchList
 
}}
 
}}
</pre>
+
{{TableEnd}}
Edit the page to see the template text.
+
 
</noinclude><includeonly>{{#widget:AddThis}}<div class="container"><div class="row">
+
== PC-Compatible ==
<div class="col-md-3 col-md-push-9">
+
 
<b>[[CatPkg::{{{CatPkg|}}}]]</b>
+
{{TableStart}}
<hr>{{#vardefine:cat|{{#explode:{{{CatPkg}}}|/|0}}}}{{#vardefine:pkg|{{#explode:{{{CatPkg}}}|/|1}}}}{{#get_web_data:url=http://ports.funtoo.org/packages.xml|format=xml|use xpath|data=repo_id=/packages/category[@name='{{#var:cat}}']/package[@name='{{#var:pkg}}']/@repository}}{{#vardefine:repoid|{{#if:{{#external_value:repo_id}}|{{#external_value:repo_id}}|gentoo}}}}{{#set:RepoID={{#var:repoid}}}}
+
<tr><th class="warn" colspan="3">64-bit AMD Processors</th></tr>
<table border="0" width="100%">
+
{{#ask:[[CPU Family::64-bit AMD Processors]]
{{#if: {{{Maintainer|}}} |<tr><td><i>Current Maintainer(s):</i></td><td>{{#arraymaptemplate:{{{Maintainer|}}}|MaintainerDisplay|,|<br>}}</td></tr> |}}<tr><td><i>Source Repository:</i></td><td>{{#ask:[[Category:Repositories]] [[Repository ID::{{#var:repoid}}]]}}</td></tr>  {{#if: {{{Homepage|}}} |<tr><td></td><td>[[Homepage::{{{Homepage|}}}|Homepage]]</td></tr> |}}</table><hr>
+
|?#
<b>Summary:</b> [[Summary::{{{Summary|}}}]]
+
|?Subarch
{{#get_web_data:url=http://127.0.0.1:8888/portage/meta/{{{CatPkg}}}|format=xml|use xpath|data=use=/package/@use}}{{#set:Use={{#external_value:use}}}}{{#if: {{#external_value:use}}|
+
|?CFLAGS
== Use Flags ==
+
|?Description
{{#arraymaptemplate:{{#external_value:use}}|ExternUse|,|}}
+
|format=template
 +
|link=none
 +
|headers=hide
 +
|searchlabel=... further results
 +
|sep=,
 +
|template=SubarchList
 
}}
 
}}
</div><div class="col-xs-12 col-md-9 col-md-pull-3">{{DISPLAYTITLE:{{PAGENAME}}}}
+
<tr><th class="warn" colspan="3">64-bit Intel Processors</th></tr>
<div id="ebuild_header"><div id="ebuild_logo" style="padding-bottom: 1em;">[[File:ebuild.png|link=|frameless|class=img-responsive]]</div><div id="ebuild_title">
+
{{#ask:[[CPU Family::64-bit Intel Processors]]
= {{PAGENAME}} =
+
|?#
</div></div>
+
|?Subarch
{{#seo:
+
|?CFLAGS
|title=Package: {{PAGENAME}} ({{{CatPkg}}})
+
|?Description
|keywords={{{CatPkg}}},ebuild,gentoo,funtoo
+
|format=template
|description=A Funtoo Linux ebuild for {{{CatPkg}}}: {{{Summary|}}}
+
|link=none
 +
|headers=hide
 +
|searchlabel=... further results
 +
|sep=,
 +
|template=SubarchList
 
}}
 
}}
</includeonly>
+
<tr><th class="warn" colspan="3">64-bit PC-Compatible (Generic) Processors</th></tr>
 +
{{#ask:[[CPU Family::64-bit Processors (PC-Compatible, Generic)]]
 +
|?#
 +
|?Subarch
 +
|?CFLAGS
 +
|?Description
 +
|format=template
 +
|link=none
 +
|headers=hide
 +
|searchlabel=... further results
 +
|sep=,
 +
|template=SubarchList
 +
}}
 +
<tr><th class="warn" colspan="3">32-bit AMD Processors</th></tr>
 +
{{#ask:[[CPU Family::32-bit AMD Processors]]
 +
|?#
 +
|?Subarch
 +
|?CFLAGS
 +
|?Description
 +
|format=template
 +
|link=none
 +
|headers=hide
 +
|searchlabel=... further results
 +
|sep=,
 +
|template=SubarchList
 +
}}
 +
<tr><th class="warn" colspan="3">32-bit Intel Processors</th></tr>
 +
{{#ask:[[CPU Family::32-bit Intel Processors]]
 +
|?#
 +
|?Subarch
 +
|?CFLAGS
 +
|?Description
 +
|format=template
 +
|link=none
 +
|headers=hide
 +
|searchlabel=... further results
 +
|sep=,
 +
|template=SubarchList
 +
}}
 +
<tr><th class="warn" colspan="3">32-bit PC-Compatible (Generic) Processors</th></tr>
 +
{{#ask:[[CPU Family::32-bit Processors (PC-Compatible, Generic)]]
 +
|?#
 +
|?Subarch
 +
|?CFLAGS
 +
|?Description
 +
|format=template
 +
|link=none
 +
|headers=hide
 +
|searchlabel=... further results
 +
|sep=,
 +
|template=SubarchList
 +
}}
 +
{{TableEnd}}

Revision as of 02:48, January 2, 2015

Funtoo Linux Sub-Architectures

This page provides an overview of Funtoo Linux sub-architectures (also called subarches) designed for quick and easy reference. Funtoo Linux provides optimized installation images for all sub-architectures listed below. See the Funtoo Linux Installation Guide to install Funtoo Linux.

Note

The cpuid application can be used to help identify your processor and its microarchitecture.

# emerge cpuid; cpuid | tail -n 1

ARM

32-bit ARM Processors
armv7a_hardfpThis subarch supports the ARMv7-A architecture with hardware floating point. CPU support includes Cortex-A5 (with hardware FPU), Cortex-A7, A8, A9, A12, A15, A17, and Qualcomm Krait and other ARMv7-A CPUs.-O2 -pipe -march=armv7-a -mfloat-abi=hard
armv5teThis subarch supports the ARMv5 architecture with vector extensions, which is compatible with Pogoplug, SheevaPlug, TonidoPlug, Raspberry Pi, BeagleBoard, CuBox, PandaBoard, and TrimSlice.-O2 -pipe -march=armv5te
armv6j_hardfpThis subarch supports the ARM11 series processors, including compatible CPUs such as the Broadcom BCM2835 (Raspberry Pi).-O2 -pipe -march=armv6j -mfloat-abi=hard
armv6j_vfp_hardfpThis subarch supports the ARM11 series processors, including compatible CPUs such as the Broadcom BCM2835 (Raspberry Pi).-O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard
armv7a_neon_hardfpThis subarch supports the ARMv7-A architecture with hardware floating point. CPU support includes Cortex-A5 (with hardware FPU), Cortex-A7, A8, A9, A12, A15, A17, and Qualcomm Krait and other ARMv7-A CPUs.-O2 -pipe -march=armv7-a -mfpu=neon -mfloat-abi=hard
armv7a_neonvfpv4_hardfpThis subarch supports the ARMv7-A architecture with hardware floating point. CPU support includes Cortex-A5 (with hardware FPU), Cortex-A7, A8, A9, A12, A15, A17, and Qualcomm Krait and other ARMv7-A CPUs, Cubieboard2 (A20) and Cubietruck (A20).-O2 -pipe -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard
armv7a_vfpv3_hardfpThis subarch supports the ARMv7-A architecture with hardware floating point. CPU support includes Cortex-A5 (with hardware FPU), Cortex-A7, A8, A9, A12, A15, A17, and Qualcomm Krait and other ARMv7-A CPUs.-O2 -pipe -march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard
armv7a_vfpv3d16_hardfpThis subarch supports the ARMv7-A architecture with hardware floating point. CPU support includes Cortex-A5 (with hardware FPU), Cortex-A7, A8, A9, A12, A15, A17, and Qualcomm Krait and other ARMv7-A CPUs.-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard

PC-Compatible

64-bit AMD Processors
amd64-bulldozerThe amd64-bulldozer subarch supports the AMD bulldozer microarchitecture CPUs, which were released from late 2011 through the first quarter of 2012 as a replacement for K10 microarchitecture CPUs.-march=bdver1 -O2 -pipe
amd64-jaguarAMD jaguar microarchitecture debuted in mid-2013 and is targeted at low-power devices, including notebooks, tablets and small form-factor desktops and servers. It is perhaps most well-known for being the microarchitecture used for the Playstation 4 and Xbox One,-march=btver2 -O2 -pipe
amd64-k10The amd64-k10 subarch provides support for the AMD Family 10h processors, which were released in late 2007 as a successor to the AMD K8 series processors.-march=amdfam10 -O2 -pipe
amd64-piledriverThe amd64-piledriver subarch supports the AMD Piledriver microarchitecture produced by AMD from mid-2012 through 2015, which is the successor to the AMD bulldozer microarchitecture.-march=bdver2 -O2 -pipe
amd64-steamrollerThe amd64-steamroller subarch supports the AMD steamroller microarchitecture, produced from early 2014. It is the successor to the AMD Piledriver microarchitecture.-march=bdver3 -O2 -pipe
64-bit Intel Processors
atom_64The atom_64 sub-architecture supports 64-bit capable Intel Atom CPUs.-O2 -fomit-frame-pointer -march=atom -pipe
core2_64The core2_64 subarch supports 64-bit-capable processors based on the Core microarchitecture and all processors of the Penryn microarchitecture. This includes all Intel Core 2 branded processors, some Celeron, some Pentium and some Xeon branded processors.-march=core2 -O2 -pipe
corei7The corei7 subarch supports the Nehalem, Westmere, Sandy Bridge, Ivy Bridge, and Haswell microarchitecture-based Intel Pentium/Celeron, Intel Core i3, i5, i7 and Xeon Processors.-march=corei7 -O2 -pipe
intel64-haswellThe intel64-haswell subarch specifically supports processors based on Intel's Haswell microarchitecture. Haswell desktop processors are branded as 4th Generation Intel Core i3, Core i5, and Core i7 Processors.-march=core-avx2 -O2 -pipe
intel64-ivybridgeThe intel64-ivybridge subarch specifically supports processors based on Intel's Ivy Bridge microarchitecture and AVX instructions. These processors are branded as 3rd Generation Intel Core i3, Core i5, and Core i7 Processors.-march=core-avx-i -O2 -pipe
intel64-sandybridgeThe intel64-sandybridge subarch specifically supports processors based on Intel's Sandy Bridge microarchitecture and AVX instructions. These processors are branded as 2nd Generation Intel Core i3, Core i5, and Core i7 Processors.-march=corei7-avx -O2 -pipe
64-bit PC-Compatible (Generic) Processors
generic_64The generic_64 subarch is designed to support 64-bit PC-compatible CPUs, such as the AMD K8-series processors, which were introduced in late 2003.-mtune=generic -O2 -pipe
32-bit AMD Processors
athlon-xpThis subarch supports 32-bit AMD Athlon XP processors.-O2 -fomit-frame-pointer -march=athlon-xp -pipe
32-bit Intel Processors
atom_32This subarch supports 32-bit Intel Atom processors.-O2 -fomit-frame-pointer -march=atom -pipe
pentium4This subarch supports 32-bit Intel Pentium 4 processors.-O2 -fomit-frame-pointer -march=pentium4 -pipe
32-bit PC-Compatible (Generic) Processors
generic_32This subarch supports generic 32-bit PC-compatible processors.-mtune=generic -O2 -fomit-frame-pointer -pipe
i686This subarch supports P6-class (Intel Pentium Pro instruction set) processors.-O2 -march=i686 -mtune=generic -pipe