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: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -287,10 +287,10 @@ By default, sccache requires absolute paths to match for cache hits. To enable c
287
287
export SCCACHE_BASEDIRS=/home/user/project
288
288
```
289
289
290
-
You can also specify multiple base directories by separating them with `|` (pipe character). When multiple directories are provided, the longest matching prefix is used:
290
+
You can also specify multiple base directories by separating them by `;` on Windows hosts and by `:` on any other. When multiple directories are provided, the longest matching prefix is used:
# When multiple paths are provided, the longest matching prefix
19
19
# is applied.
20
-
#
20
+
#
21
21
# Path matching is case-insensitive on Windows and case-sensitive on other OSes.
22
22
#
23
23
# Example:
@@ -154,7 +154,7 @@ Note that some env variables may need sccache server restart to take effect.
154
154
155
155
*`SCCACHE_ALLOW_CORE_DUMPS` to enable core dumps by the server
156
156
*`SCCACHE_CONF` configuration file path
157
-
*`SCCACHE_BASEDIRS` base directory (or directories) to strip from paths for cache key computation. This is similar to ccache's `CCACHE_BASEDIR` and enables cache hits across different absolute paths when compiling the same source code. Multiple directories can be separated by `|` (pipe character). When multiple directories are specified, the longest matching prefix is used. Path matching is **case-insensitive** on Windows and **case-sensitive** on other operating systems. Environment variable takes precedence over file configuration. Only absolute paths are supported; relative paths will be ignored with a warning.
157
+
*`SCCACHE_BASEDIRS` base directory (or directories) to strip from paths for cache key computation. This is similar to ccache's `CCACHE_BASEDIR` and enables cache hits across different absolute paths when compiling the same source code. Multiple directories can be separated by `;` on Windows hosts and by `:` on any other. When multiple directories are specified, the longest matching prefix is used. Path matching is **case-insensitive** on Windows and **case-sensitive** on other operating systems. Environment variable takes precedence over file configuration. Only absolute paths are supported; relative paths will be ignored with a warning.
158
158
*`SCCACHE_CACHED_CONF`
159
159
*`SCCACHE_IDLE_TIMEOUT` how long the local daemon process waits for more client requests before exiting, in seconds. Set to `0` to run sccache permanently
160
160
*`SCCACHE_STARTUP_NOTIFY` specify a path to a socket which will be used for server completion notification
0 commit comments