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
# different absolute paths when compiling the same source code.
12
12
# Can be an array of paths. When multiple paths are provided,
13
13
# the longest matching prefix is used.
14
+
# Path matching is case-insensitive on Windows and case-sensitive on other OSes.
14
15
# For example, if basedir is "/home/user/project", then paths like
15
16
# "/home/user/project/src/main.c" will be normalized to "./src/main.c"
16
17
# for caching purposes.
@@ -146,7 +147,7 @@ Note that some env variables may need sccache server restart to take effect.
146
147
147
148
*`SCCACHE_ALLOW_CORE_DUMPS` to enable core dumps by the server
148
149
*`SCCACHE_CONF` configuration file path
149
-
*`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. Environment variable takes precedence over file configuration. Only absolute paths are supported; relative paths will be ignored with a warning.
150
+
*`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.
150
151
*`SCCACHE_CACHED_CONF`
151
152
*`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
152
153
*`SCCACHE_STARTUP_NOTIFY` specify a path to a socket which will be used for server completion notification
0 commit comments