You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/articles/static-linux-getting-started.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,21 +108,25 @@ Before you start, it's important to note:
108
108
version in its filename to help identify the correct version of the
109
109
SDK.
110
110
111
+
* When installing Swift SDKs from remote URLs, you have to pass a
112
+
`--checksum` option with the corresponding checksum provided by the
113
+
author of the Swift SDK.
114
+
111
115
Once that is out of the way, actually installing the Static Linux SDK
112
116
is easy; at a prompt, enter
113
117
114
118
```console
115
-
$ swift sdk install <URL-or-filename-here>
119
+
$ swift sdk install <URL-or-filename-here> [--checksum <checksum-for-archive-URL>]
116
120
```
117
121
118
-
giving the URL or filename at which the SDK can be found.
122
+
giving the URL (and a corresponding checksum) or filename at which the SDK can be found.
119
123
120
124
For instance, assuming you have installed the
121
-
`swift-6.0-DEVELOPMENT-SNAPSHOT-2024-06-06-a` toolchain, you would
125
+
`swift-6.0-DEVELOPMENT-SNAPSHOT-2024-07-02-a` toolchain, you would
122
126
need to enter
123
127
124
128
```console
125
-
$ swift sdk install https://download.swift.org/development/static-sdk/swift-DEVELOPMENT-SNAPSHOT-2024-06-06-a/swift-DEVELOPMENT-SNAPSHOT-2024-06-06-a_static-linux-0.0.1.artifactbundle.tar.gz
129
+
$ swift sdk install https://download.swift.org/swift-6.0-branch/static-sdk/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-07-02-a/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-07-02-a_static-linux-0.0.1.artifactbundle.tar.gz --checksum 42a361e1a240e97e4bb3a388f2f947409011dcd3d3f20b396c28999e9736df36
0 commit comments