Skip to content

Commit d40129a

Browse files
authored
Merge pull request #1150 from swiftlang/support/fedora-41
[Fedora 41] Add nightly Fedora 41 toolchains for main branch
2 parents 4373eff + f11fd08 commit d40129a

File tree

5 files changed

+42
-2
lines changed

5 files changed

+42
-2
lines changed

_data/install/fedora.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
- name: Fedora 39
22
url: /install/linux/fedora/39
3+
- name: Fedora 41
4+
url: /install/linux/fedora/41

_data/new-data/install/linux/os-names.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
- name: Fedora 39
2020
slug: fedora39
2121
url: /install/linux/fedora/39
22+
- name: Fedora 41
23+
slug: fedora41
24+
url: /install/linux/fedora/41
2225
- name: Red Hat
2326
slug: ubi
2427
url: /install/linux/ubi/9

_includes/new-includes/assigns/linux-platform-builds.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,23 @@
55
{% assign docker_tag=include.docker_tag %}
66
{% assign development_builds=include.development_builds %}
77
{% assign aarch64_development_builds=include.aarch64_development_builds %}
8+
9+
{% if development_2 %}
810
{% assign development_2=include.development_2 %}
911
{% assign docker_tag_2=include.docker_tag_2 %}
1012
{% assign development_builds_2=include.development_builds_2 %}
1113
{% assign aarch64_development_builds_2=include.aarch64_development_builds_2 %}
1214
{% assign branch_dir_2=include.branch_dir_2 %}
15+
{% assign development_builds_2 = development_builds_2 | sort: 'date' | reverse %}
16+
17+
{% if aarch64 %}
18+
{% assign aarch64_development_builds_2 = aarch64_development_builds_2 | sort: 'date' | reverse %}
19+
{% endif %}
20+
{% endif %}
1321

1422
{% assign platform_name_url = platform | remove: '.' | remove: ' ' | downcase %}
15-
{% assign development_builds_2 = development_builds_2 | sort: 'date' | reverse %}
1623
{% assign development_builds = development_builds | sort: 'date' | reverse %}
1724

1825
{% if aarch64 %}
19-
{% assign aarch64_development_builds_2 = aarch64_development_builds_2 | sort: 'date' | reverse %}
2026
{% assign aarch64_development_builds = aarch64_development_builds | sort: 'date' | reverse %}
2127
{% endif %}

_includes/new-includes/components/linux-releases.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
{% endunless %}
99

1010
<div class="content">
11+
{% if platform %}
1112
<div class="releases-grid">
1213
<div class="release-box section">
1314
<div class="content">
@@ -84,6 +85,7 @@ <h2>RPM</h2>
8485
</details>
8586
</div>
8687
</div>
88+
{% endif %}
8789
<h2 id="development-snapshots" class="header-with-anchor">Development Snapshots</h2>
8890
<div>
8991
<p class="content-copy">Swift snapshots are prebuilt binaries that are automatically created from the branch. These snapshots are not official releases. They have gone through automated unit testing, but they have not gone through the full testing that is performed for official releases.</p>
@@ -124,6 +126,7 @@ <h2>{{ include.development }}</h2>
124126
</div>
125127
</div>
126128
</div>
129+
{% if development_2 %}
127130
<div class="release-box section">
128131
<div class="content">
129132
<div class="code-box content-wrapper">
@@ -149,6 +152,7 @@ <h2>{{ include.development_2 }}</h2>
149152
</div>
150153
</div>
151154
</div>
155+
{% endif %}
152156
</div>
153157
<div class="release-box section">
154158
<div class="content">
@@ -158,6 +162,7 @@ <h2>{{ include.development_2 }}</h2>
158162
</details>
159163
</div>
160164
</div>
165+
{% if development_2 %}
161166
<div class="release-box section">
162167
<div class="content">
163168
<details class="download">
@@ -166,6 +171,7 @@ <h2>{{ include.development_2 }}</h2>
166171
</details>
167172
</div>
168173
</div>
174+
{% endif %}
169175
<h3>Static Linux SDK</h3>
170176
<div>
171177
<p class="content-copy">

install/linux/fedora/41/index.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
layout: new-layouts/install-linux-version
3+
title: Install Swift
4+
---
5+
6+
{% include /new-includes/assigns/linux-platform-builds.html
7+
platform="Fedora 41"
8+
aarch64="true"
9+
branch_dir="development"
10+
development="main"
11+
docker_tag="nightly-fedora-41"
12+
development_builds=site.data.builds.development.fedora41
13+
aarch64_development_builds=site.data.builds.development.fedora41-aarch64
14+
%}
15+
16+
{% include /new-includes/components/linux-releases.html
17+
docker_tag=docker_tag
18+
development_builds=development_builds
19+
platform=platform
20+
development=development
21+
platform_name_url=platform_name_url
22+
branch_dir=branch_dir
23+
%}

0 commit comments

Comments
 (0)