diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2021-03-14 21:34:03 +0100 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2021-03-25 09:48:23 +0100 |
commit | 473f2dec087288309cb169bf84c12124e1d7d7d1 (patch) | |
tree | 0b15d3921149d5c6689de251f363fa0338e4c7ef /sw/inc | |
parent | ed3a13ac9837b52e899bd82ccae1244988e99f47 (diff) |
compilerplugins: fix clang plugin allowlists for sccache-dist
While icecream passes preprocessed (via -frewrite-includes) input to the
compiler on stdin, sccache-dist writes it to a file at the same location
as the source file in its sandbox.
So we need a new heuristic to detect that the input has
-frewrite-includes applied; there is not any variable that sccache sets,
users could have SCCACHE_CACHE_SIZE set but only if they use the disk
cache, so check CXX for now.
Also set SCCACHE_EXTRAFILES to include log-areas.dox required by plugin.
Change-Id: I4e00bfb0db7dab28f228fc0e85d753506e2c86b1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112480
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'sw/inc')
0 files changed, 0 insertions, 0 deletions