Note

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Template:Subarch"

From Funtoo
Jump to navigation Jump to search
Line 4: Line 4:
{{DISPLAYTITLE:Download - {{{subarch}}}}}
{{DISPLAYTITLE:Download - {{{subarch}}}}}
}}'''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)|{{{subarch}}}}} [[{{{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:chost|{{#external_value:chost}}}}{{#vardefine:cpu_flags_x86|{{#external_value:cpu_flags_x86}}}}{{#vardefine:subarch|{{{subarch|}}}}}
{{{Description|}}}
{{{Description|}}}
{{#seo:
{{#seo:
Line 11: Line 11:
|description=This page lists CPU-optimized builds of Funtoo Linux for {{#if:{{{title|}}}|{{{title}}} ({{{subarch}}} subarch)|{{{subarch}}}}} [[{{{CPU Family}}}]].
|description=This page lists CPU-optimized builds of Funtoo Linux for {{#if:{{{title|}}}|{{{title}}} ({{{subarch}}} subarch)|{{{subarch}}}}} [[{{{CPU Family}}}]].
}}
}}
{{#set:CPU Family={{{CPU Family|}}}|subarch={{{subarch|}}}|CHOST={{{CHOST|}}}|CFLAGS={{{CFLAGS|}}}|USE={{{USE|}}}|CPU Features={{{CPU Features|}}}|Description={{{Description|}}}|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|}}}}}
=== Optimizations ===
=== Optimizations ===
__NOTOC__
__NOTOC__
{{TableStart}}
{{TableStart}}
<tr><td>CHOST</td><td><code>{{{CHOST|}}}</code></td></tr>
<tr><td>CHOST</td><td><code>{{#var:chost|{{{CHOST|}}}}}</code></td></tr>
<tr><td>CFLAGS</td><td><code>{{{CFLAGS|}}}</code></td></tr>
<tr><td>CFLAGS</td><td><code>{{#var:cflags|{{{CFLAGS|}}}</code></td></tr>
<tr><td>USE (see [[CPU_FLAGS]] for more info)</td><td>{{#if:{{{USE|}}}|<code>{{{USE}}}</code>|(none)}}</td></tr>
<tr><td>USE (see [[CPU_FLAGS]] for more info)</td><td>{{#var:cpu_flags_x86|{{{USE|(none)}}}}}</td></tr>
{{TableEnd}}{{#vardefine:subarch|{{{subarch|}}}}}{{#get_web_data:url=http://build.funtoo.org/index.xml|format=xml|use xpath|data=builds=/subarches/subarch[@name='{{{subarch|}}}']/@builds}}{{#vardefine:builds|{{#external_value:builds}}}}
{{TableEnd}}
=== Download ===
=== 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.
{{#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.

Revision as of 15:32, April 26, 2015