Skip to content

Commit 709447f

Browse files
authored
docs: fix examples showing an xz-compress toolchain archive (#2587)
Only gzip is currently supported.
1 parent 5154084 commit 709447f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/DistributedQuickstart.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ On Linux and macOS:
162162
[[dist.toolchains]]
163163
type = "path_override"
164164
compiler_executable = "/home/me/.mozbuild/clang/bin/clang"
165-
archive = "/home/me/.mozbuild/toolchains/33d92fcd79ffef6e-clang-dist-toolchain.tar.xz"
165+
archive = "/home/me/.mozbuild/toolchains/33d92fcd79ffef6e-clang-dist-toolchain.tar.gz"
166166
archive_compiler_executable = "/builds/worker/toolchains/clang/bin/clang"
167167
```
168168

@@ -172,15 +172,15 @@ On Windows:
172172
[[dist.toolchains]]
173173
type = "path_override"
174174
compiler_executable = "C:/clang/bin\\clang-cl.exe"
175-
archive = "C:/toolchains/33d92fcd79ffef6e-clang-dist-toolchain.tar.xz"
175+
archive = "C:/toolchains/33d92fcd79ffef6e-clang-dist-toolchain.tar.gz"
176176
archive_compiler_executable = "/builds/worker/toolchains/clang/bin/clang"
177177
```
178178

179179
Where:
180180
- `compiler_executable` identifies the path that sccache will match against to activate
181181
this configuration (you need to be careful on Windows - paths can have slashes in both
182182
directions, and you may need to escape backslashes, as in the example)
183-
- `archive` is the compressed tar archive containing the compiler toolchain to distribute
183+
- `archive` is the gzip-compressed tar archive containing the compiler toolchain to distribute
184184
when `compiler_executable` is matched
185185
- `archive_compiler_executable` is the path within the archive the distributed
186186
compilation should invoke

0 commit comments

Comments
 (0)