Skip to content

Commit

Permalink
Update documentation for the new config file path on macOS.
Browse files Browse the repository at this point in the history
Fixes #919.

This path changed due to the update of the directories dependency
in commit 185c6ba.
  • Loading branch information
mstange authored and glandium committed Jan 6, 2021
1 parent 64ed0c1 commit 490240b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/DistributedQuickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ A client uses `sccache` to wrap compile commands, communicates with the schedule

Clients that are not targeting linux64 require the `icecc-create-env` script or should be provided with an archive. `icecc-create-env` is part of `icecream` for packaging toolchains. You can install icecream to get this script (`apt install icecc` on Ubuntu), or download it from the git repository and place it in your `PATH`: `curl https://raw.githubusercontent.com/icecc/icecream/master/client/icecc-create-env.in > icecc-create-env && chmod +x icecc-create-env`. See [using custom toolchains](#using-custom-toolchains).

Create a client config file in `~/.config/sccache/config` (on Linux), `~/Library/Preferences/Mozilla.sccache/config` (on macOS), or `%APPDATA%\Mozilla\sccache\config\config` (on Windows). A minimal example looks like:
Create a client config file in `~/.config/sccache/config` (on Linux), `~/Library/Application Support/Mozilla.sccache/config` (on macOS), or `%APPDATA%\Mozilla\sccache\config\config` (on Windows). A minimal example looks like:
```toml
[dist]
# The URL used to connect to the scheduler (should use https, given an ideal
Expand Down Expand Up @@ -206,7 +206,7 @@ may be required:
- An explicit toolchain archive will need to be configured, as described above.
In case rust is being cached, the same version of `rustc` will need to be used
for local compiles as is found in the distributed archive.
- The client config will be read from `~/Library/Preferences/Mozilla.sccache/config`,
- The client config will be read from `~/Library/Application Support/Mozilla.sccache/config`,
not `~/.config/sccache/config`.
- Some cross compilers may not understand some intrinsics used in more recent macOS
SDKs. The 10.11 SDK is known to work.
Expand Down

0 comments on commit 490240b

Please sign in to comment.