Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

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 Xanewok committed Apr 2, 2021
1 parent ddefe92 commit 3621aa5
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 @@ -208,7 +208,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 3621aa5

Please sign in to comment.