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 5: Line 5:
|
|
{{DISPLAYTITLE:Download - {{PAGENAME}}}}
{{DISPLAYTITLE:Download - {{PAGENAME}}}}
}}{{#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}}{{#vardefine:builds|{{#external_value:builds}}}}{{#vardefine:cflags|{{#external_value:cflags}}}}{{#vardefine:chost|{{#external_value:chost}}}}{{#vardefine:subarch|{{{subarch|}}}}}
}}{{#vardefine:arch|{{#cargo_query:
tables=arches
|fields=arch_desc
|where=_pageName={{{CPU Family|}}}
|limit=1
|more results text=
}}}}{{#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}}{{#vardefine:builds|{{#external_value:builds}}}}{{#vardefine:cflags|{{#external_value:cflags}}}}{{#vardefine:chost|{{#external_value:chost}}}}{{#vardefine:subarch|{{{subarch|}}}}}
{{#cargo_store:
{{#cargo_store:
_table=subarch
_table=subarch
Line 29: Line 35:
{{#ifeq:{{{CPU Family|}}}|64-bit Intel Processors|
{{#ifeq:{{{CPU Family|}}}|64-bit Intel Processors|
{{SubarchCompatibilityTable|{{{subarch}}}}}
{{SubarchCompatibilityTable|{{{subarch}}}}}
}}</includeonly>
}}
 
{{#var:arch}}</includeonly>

Revision as of 13:06, June 2, 2022

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