@@ -157,23 +157,24 @@ Double-check that running `pwd` prints a path ending with `swift`.
157
157
* [Amazon Linux 2](https://github.com/apple/swift-docker/blob/main/swift-ci/master/amazon-linux/2/Dockerfile)
158
158
159
159
2. To install [Sccache][] (optional):
160
- * If you' re not building within a Docker container:
161
- ```
162
- sudo snap install sccache --candidate --classic
163
- ```
164
- * If you're building within a Docker container, you'll have to install `sccache` manually, since [`snap`
165
- is not available in environments without `systemd`](https://unix.stackexchange.com/questions/541230/do-snaps-require-systemd):
160
+ * If you' re not building within a Docker container:
161
+ ` ` ` sh
162
+ sudo snap install sccache --candidate --classic
163
+ ` ` `
164
+ * If you' re building within a Docker container, you' ll have to install
165
+ ` sccache` manually, since [` snap` is not available in environments
166
+ without ` systemd` ](https://unix.stackexchange.com/questions/541230/do-snaps-require-systemd):
166
167
167
- ```
168
- SCCACHE_VERSION=v0.3.0
169
- curl -L "https://github.com/mozilla/sccache/releases/download/${SCCACHE_VERSION}/sccache-${SCCACHE_VERSION}-$ (uname -m)-unknown-linux-musl.tar.gz" -o sccache.tar.gz
170
- tar xzpvf sccache.tar.gz
171
- sudo cp "sccache-${SCCACHE_VERSION}-$(uname -m)-unknown-linux-musl/sccache" /usr/local/bin
172
- sudo chmod +x /usr/local/bin/sccache
173
- ```
168
+ ` ` ` sh
169
+ SCCACHE_VERSION=v0.3.0
170
+ curl -L " https://github.com/mozilla/sccache/releases/download/${SCCACHE_VERSION} /sccache-${SCCACHE_VERSION} -$( uname -m) -unknown-linux-musl.tar.gz" -o sccache.tar.gz
171
+ tar xzpvf sccache.tar.gz
172
+ sudo cp " sccache-${SCCACHE_VERSION} -$( uname -m) -unknown-linux-musl/sccache" /usr/local/bin
173
+ sudo chmod +x /usr/local/bin/sccache
174
+ ` ` `
174
175
175
- **Note:** LLDB currently requires at least `swig-1.3.40` but will
176
- successfully build with version 2 shipped with Ubuntu.
176
+ ** Note:** LLDB currently requires at least ` swig-1.3.40` but will
177
+ gsuccessfully build with version 2 shipped with Ubuntu.
177
178
178
179
[Sccache]: https://github.com/mozilla/sccache
179
180
0 commit comments