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
 
(151 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<noinclude>
{{#set:CPU Family={{{CPU Family|}}}|subarch={{{subarch|}}}|CHOST={{{CHOST|}}}|CFLAGS={{{CFLAGS|}}}|USE={{{USE|}}}|CPU Features={{{CPU Features|}}}|Description={{{Description|}}}}}
{{#cargo_declare:_table=subarch|Features=List (,) of String|CFLAGS=Text|CHOST=Text|CPU_Family=Page|Status=Text|Description=Text|Release_Date=Date|Releases=List (,) of String|Subarch=Text|Arch=Text|Title=Text}}
</noinclude><includeonly>{{#widget:AddThis}}{{#if:{{{title|}}}|
{{DISPLAYTITLE:Download - {{{title}}}}}
|
{{DISPLAYTITLE:Download - {{PAGENAME}}}}
}}
{{#vardefine:subarch|{{{subarch|}}}}}{{#vardefine:arch|{{{arch}}}}}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; width: 70%; min-width: 500px; margin-left: auto; margin-right: auto;">
{{#ifeq:{{{releases|}}}|next|
{{#vardefine:grab|next}}
{{DisplayBuilds/All|next}}
|{{#ifeq:{{{releases|}}}|1.4-release-std|
{{#vardefine:grab|1.4-release-std}}
{{DisplayBuilds/All|1.4-release-std}}
}}}}{{#if:{{#var:grab}}|
{{#get_web_data:url=https://build.funtoo.org/{{#var:grab}}/{{{arch}}}/{{{subarch}}}/index.xml|format=xml|use xpath|data=chost=/subarch/@CHOST,cflags=/subarch/@CFLAGS}}{{#vardefine:cflags|{{#external_value:cflags}}}}{{#vardefine:chost|{{#external_value:chost}}}}{{#cargo_store:
_table=subarch
|Features={{{CPU Features|}}}
|Releases={{{releases|}}}
|CFLAGS={{#var:cflags|}}
|CHOST={{#var:chost|}}
|CPU_Family={{{CPU Family|}}}
|Status={{{status|}}}
|Description={{{Description|}}}
|Release_Date={{{release date|}}}
|Subarch={{{subarch|}}}
|Arch={{{arch|}}}
|Title={{{title|}}}
}}<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}}|'''No downloadable stage builds are currently available for this sub-architecture.'''
 
{{{Description|}}}.}}
=== Architecture and Optimization ===
 
The following settings are applied to all stages for this subarch via [[Funtoo Profiles|Funtoo subarch profiles]]:
 
{{TableStart}}
{{TableStart}}
<tr><td>CPU Family</td><td>[[{{{CPU Family}}}]]</td></tr>
<tr><td>CHOST</td><td><code>{{#var:chost|{{{CHOST|}}}}}</code></td></tr>
<tr><td>CHOST</td><td><code>{{{CHOST|}}}</code></td></tr>
<tr><td>CFLAGS</td><td><code>{{#var:cflags|{{{CFLAGS|}}}}}</code></td></tr>
<tr><td>CFLAGS</td><td><code>{{{CFLAGS|}}}</code></td></tr>
<tr><td>USE</td><td><code>{{{USE|}}}</code></td></tr>
{{TableEnd}}
{{TableEnd}}
[[Category:Subarches]]
[[Category:Subarches]]
</includeonly>
__NOEDITSECTION__
{{#ifeq:{{{CPU Family|}}}|64-bit Intel Processors|
{{SubarchCompatibilityTable|{{{subarch}}}}}
}}</includeonly>

Latest revision as of 17:13, July 7, 2024

此模板定义表格“subarch”。 查看表格.