Difference between revisions of "Template:Subarch"

From Funtoo
Jump to navigation Jump to search
(14 intermediate revisions by the same user not shown)
Line 5: Line 5:
|
|
{{DISPLAYTITLE:Download - {{PAGENAME}}}}
{{DISPLAYTITLE:Download - {{PAGENAME}}}}
}}'''This page lists CPU-optimized builds of Funtoo Linux for {{#if:{{{title|}}}|{{{title}}} ({{{subarch}}} subarch)|{{PAGENAME}}}} [[{{{CPU Family}}}]].'''
}}{{#get_web_data:url=https://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|}}}
{{#cargo_store:
{{#cargo_store:
_table=subarch
_table=subarch
Line 19: Line 17:
|Subarch={{{subarch|}}}
|Subarch={{{subarch|}}}
|Title={{{title|}}}
|Title={{{title|}}}
}}
}}{{#if:{{#var:builds}}|This section lists the CPU-optimized Funtoo Linux builds currently available for download for '''{{{subarch}}}'''. {{{Description|}}} <div style="text-align: center;"><div style="text-align: center; display: inline-block;">{{#arraymaptemplate:{{#var:builds}}|DisplayBuilds|,|}}<p>Not sure which to choose? See [[Install/Download_and_Extract_Stage3|this portion of our Install docs]].</p><p>For information on how to verify the integrity of your stage3 tarball using {{c|gpg}}, see [[GPG Signatures]].</p></div></div>{{CDN77}} |{{{Description|}}}. No downloadable stage builds are currently available for this sub-architecture.}}
=== CPU Information ===
=== CPU Information ===
__NOTOC__
 
{{TableStart}}
{{TableStart}}
<tr><td>CHOST</td><td><code>{{#var:chost|{{{CHOST|}}}}}</code></td></tr>
<tr><td>CHOST</td><td><code>{{#var:chost|{{{CHOST|}}}}}</code></td></tr>
Line 27: Line 25:
<tr><td>CPU_FLAGS (see [[CPU_FLAGS]] for more info)</td><td>{{c|{{#var:cpu_flags_x86|{{{USE|(none)}}}}}}}</td></tr>
<tr><td>CPU_FLAGS (see [[CPU_FLAGS]] for more info)</td><td>{{c|{{#var:cpu_flags_x86|{{{USE|(none)}}}}}}}</td></tr>
{{TableEnd}}
{{TableEnd}}
=== Download ===
{{#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=
<tr><th class="active">Available Downloads</th></tr>{{#arraymaptemplate:{{#var:builds}}|DisplayBuilds|,|}}}}|No downloadable stage builds are currently available for this sub-architecture.}}
{{Important|For information on how to verify the integrity of your stage3 tarball using {{c|gpg}}, see [[GPG Signatures]].}}
{{CDN77}}
[[Category:Subarches]]
[[Category:Subarches]]
__NOEDITSECTION__
__NOEDITSECTION__

Revision as of 01:02, November 27, 2020

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