注意:
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Template:Subarch"
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|}}}| | {{#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>{{# | <tr><td>USE (see [[CPU_FLAGS]] for more info)</td><td>{{#var:cpu_flags_x86|{{{USE|(none)}}}}}</td></tr> | ||
{{TableEnd | {{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. |