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:
{{Note|This page describes a sub-architecture for Funtoo Linux, which is a particular set of optimizations that is used for a Funtoo Linux build.}}
{{Note|This page describes a sub-architecture for Funtoo Linux, which is a particular set of optimizations that is used for a Funtoo Linux build.}}
{{#set:CPU Family={{{CPU Family|}}}|subarch={{{subarch|}}}|CHOST={{{CHOST|}}}|CFLAGS={{{CFLAGS|}}}|USE={{{USE|}}}|CPU Features={{{CPU Features|}}}|Description={{{Description|}}}}}
{{#set:CPU Family={{{CPU Family|}}}|subarch={{{subarch|}}}|CHOST={{{CHOST|}}}|CFLAGS={{{CFLAGS|}}}|USE={{{USE|}}}|CPU Features={{{CPU Features|}}}|Description={{{Description|}}}}}
=== Overview ===
{{TableStart}}
{{TableStart}}
<tr><td>CPU Family</td><td>[[{{{CPU Family}}}]]</td></tr>
<tr><td>CPU Family</td><td>[[{{{CPU Family}}}]]</td></tr>
Line 12: Line 13:
{{TableEnd}}{{#vardefine:subarch|{{{subarch|}}}}}
{{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}}
{{#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}}}}{{#if:{{#var:builds}}|{{TableStart}}
{{#vardefine:builds|{{#external_value:builds}}}}{{#if:{{#var:builds}}|
=== Builds ===
{{TableStart}}
<tr><td class="active">build</td><td class="active">variant</td><td class="active">latest build</td><td class="active">link</td></tr>
{{#arraymaptemplate:{{#var:builds}}|DisplayBuilds|,|}}
{{#arraymaptemplate:{{#var:builds}}|DisplayBuilds|,|}}
{{TableEnd}}}}
{{TableEnd}}}}

Revision as of 09:05, December 24, 2014