Difference between revisions of "Template:Subarch"

From Funtoo
Jump to navigation Jump to search
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#widget:AddThis}}{{#if:{{{title|}}}|
<noinclude>
{{#cargo_declare:_table=subarch|Features=List (,) of String|CFLAGS=Text|CHOST=Text|CPU_FLAGS=Text|CPU_Family=Page|Description=Text|Release_Date=Date|Subarch=Text|Title=Text}}
</noinclude><includeonly>{{#widget:AddThis}}{{#if:{{{title|}}}|
{{DISPLAYTITLE:Download - {{{title}}}}}
{{DISPLAYTITLE:Download - {{{title}}}}}
|
|
{{DISPLAYTITLE:Download - {{{subarch}}}}}
{{DISPLAYTITLE:Download - {{PAGENAME}}}}
}}'''This page lists CPU-optimized builds of Funtoo Linux for {{#if:{{{title|}}}|{{{title}}} ({{{subarch}}} subarch)|{{{subarch}}}}} [[{{{CPU Family}}}]].'''  
}}'''This page lists CPU-optimized builds of Funtoo Linux for {{#if:{{{title|}}}|{{{title}}} ({{{subarch}}} subarch)|{{PAGENAME}}}} [[{{{CPU Family}}}]].'''  
{{#get_web_data:url=http://build.funtoo.org/index.xml|format=xml|use xpath|data=builds=/subarches/subarch[@name='{{{subarch|}}}']/@builds,chost=/subarches/subarch[@name='{{{subarch|}}}']/@CHOST,cflags=/subarches/subarch[@name='{{{subarch|}}}']/@CFLAGS,cpu_flags_x86=/subarches/subarch[@name='{{{subarch|}}}']/@CPU_FLAGS_X86}}{{#vardefine:builds|{{#external_value:builds}}}}{{#vardefine:cflags|{{#external_value:cflags}}}}{{#vardefine:chost|{{#external_value:chost}}}}{{#vardefine:cpu_flags_x86|{{#external_value:cpu_flags_x86}}}}{{#vardefine:subarch|{{{subarch|}}}}}
{{#get_web_data:url=https://upload.funtoo.org/index.xml|format=xml|use xpath|data=builds=/subarches/subarch[@name='{{{subarch|}}}']/@builds,chost=/subarches/subarch[@name='{{{subarch|}}}']/@CHOST,cflags=/subarches/subarch[@name='{{{subarch|}}}']/@CFLAGS,cpu_flags_x86=/subarches/subarch[@name='{{{subarch|}}}']/@CPU_FLAGS_X86}}{{#vardefine:builds|{{#external_value:builds}}}}{{#vardefine:cflags|{{#external_value:cflags}}}}{{#vardefine:chost|{{#external_value:chost}}}}{{#vardefine:cpu_flags_x86|{{#external_value:cpu_flags_x86}}}}{{#vardefine:subarch|{{{subarch|}}}}}
{{{Description|}}}
{{{Description|}}}
{{#seo:
{{#cargo_store:
|title={{#if:{{{title|}}}|Download - {{{title}}}|Download - {{{subarch}}}}}
_table=subarch
|keywords=funtoo,linux,build,subarch,{{{subarch}}},{{{title}}}
|Features={{{CPU Features|}}}
|description=This page lists CPU-optimized builds of Funtoo Linux for {{#if:{{{title|}}}|{{{title}}} ({{{subarch}}} subarch)|{{{subarch}}}}} [[{{{CPU Family}}}]].
|CFLAGS={{#var:cflags|{{{CFLAGS|}}}}}
|CHOST={{#var:chost|{{{CHOST|}}}}}
|CPU_FLAGS={{#var:cpu_flags_x86|{{{USE|}}}}}
|CPU_Family={{{CPU Family|}}}
|Description={{{Description|}}}
|Release_Date={{{release date|}}}
|Subarch={{{subarch|}}}
|Title={{{title|}}}
}}
}}
{{#set:CPU Family={{{CPU Family|}}}|subarch={{{subarch|}}}|CHOST={{#var:chost|{{{CHOST|}}}}}|CFLAGS={{#var:cflags|{{{CFLAGS|}}}}}|||CPU_FLAGS={{#var:cpu_flags_x86|{{{USE|}}}}}|CPU Features={{{CPU Features|}}}|Description={{{Description|}}}|title={{{title|}}}|release date={{{release date|January 2000}}}}}
=== CPU Information ===
=== CPU Information ===
__NOTOC__
__NOTOC__
{{TableStart}}
{{TableStart}}
{{#if:{{{release date|}}}|<tr><td>Processor Release Date</td><td>{{{release date}}}</td></tr>}}
<tr><td>CHOST</td><td><code>{{#var:chost|{{{CHOST|}}}}}</code></td></tr>
<tr><td>CHOST</td><td><code>{{#var:chost|{{{CHOST|}}}}}</code></td></tr>
<tr><td>CFLAGS</td><td><code>{{#var:cflags|{{{CFLAGS|}}}}}</code></td></tr>
<tr><td>CFLAGS</td><td><code>{{#var:cflags|{{{CFLAGS|}}}}}</code></td></tr>
Line 23: Line 30:
{{#if:{{#var:builds}}|This section lists the Funtoo Linux builds currently available for download for '''{{{subarch}}}'''.  A full list of Funtoo Linux builds can be found on the [[Subarches]] page.
{{#if:{{#var:builds}}|This section lists the Funtoo Linux builds currently available for download for '''{{{subarch}}}'''.  A full list of Funtoo Linux builds can be found on the [[Subarches]] page.
{{table|1=
{{table|1=
<tr><th class="active">Build</th><th class="active">Variant</th><th class="active">Latest Build</th><th class="active">Download</th><th class="active">Browse Mirror</th></tr>{{#arraymaptemplate:{{#var:builds}}|DisplayBuilds|,|}}}}|No downloadable stage builds are currently available for this sub-architecture.}}
<tr><th class="active">Build</th><th class="active">Latest Build</th><th class="active">Download</th><th class="active">Browse Mirror</th></tr>{{#arraymaptemplate:{{#var:builds}}|DisplayBuilds|,|}}}}|No downloadable stage builds are currently available for this sub-architecture.}}
{{Important|Do you want a particular build of Funtoo Linux but do not see it here? Let us know what you need, and we will likely add it for you. [https://bugs.funtoo.org Create a bug report] requesting the build you need. To see what options there are, see our [[Corei7|Intel Core i7]] subarch page, which has a lot of builds listed.}}
{{Important|For information on how to verify the integrity of your stage3 tarball using {{c|gpg}}, see [[GPG Signatures]].}}
{{Note|Do you want a particular build of Funtoo Linux but do not see it here? Let us know what you need, and we will likely add it for you. [https://bugs.funtoo.org Create a bug report] requesting the build you need. To see what options there are, see our [[Corei7|Intel Core i7]] subarch page, which has a lot of builds listed.}}
[[Category:Subarches]]
[[Category:Subarches]]
__NOEDITSECTION__
__NOEDITSECTION__
=== Detailed Description ===
{{#ifeq:{{{CPU Family|}}}|64-bit Intel Processors|
</includeonly>
{{SubarchCompatibilityTable|{{{subarch}}}}}
}}</includeonly>

Revision as of 02:12, August 20, 2019

This template defines the table "subarch". View table.