office-gobmx/solenv/gbuild
Michael Stahl 473f2dec08 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>
2021-03-25 09:48:23 +01:00
..
extensions
platform compilerplugins: fix clang plugin allowlists for sccache-dist 2021-03-25 09:48:23 +01:00
AllLangHelp.mk
AllLangMoTarget.mk
AllLangPackage.mk
AutoInstall.mk
CliAssembly.mk
CliLibrary.mk
CliNativeLibrary.mk
CliUnoApi.mk
CompilerTest.mk
ComponentTarget.mk
Configuration.mk
CppunitTest.mk
CustomTarget.mk
Deliver.mk
Dictionary.mk
empty.zip
Executable.mk
Extension.mk
ExtensionPackage.mk
ExternalExecutable.mk
ExternalPackage.mk
ExternalProject.mk
Gallery.mk
gbuild.help.txt
gbuild.mk
gen-autoinstall.py
GeneratedPackage.mk
Helper.mk
HelpTarget.mk
InstallModule.mk
InstallModuleTarget.mk
InstallScript.mk
InternalUnoApi.mk
Jar.mk
JavaClassSet.mk
JunitTest.mk
Library.mk
LinkTarget.mk
Module.mk
Output.mk
Package.mk
PackageSet.mk
Pagein.mk
partial_build.mk
Postprocess.mk
PrecompiledHeaders.mk
PythonTest.mk
Pyuno.mk
Rdb.mk
README
SdiTarget.mk
StaticLibrary.mk
TargetLocations.mk
Tempfile.mk
TestHelpers.mk
Trace.mk
UIConfig.mk
uitest-failed-default.sh
UITest.mk
UnoApi.mk
UnoApiTarget.mk
UnpackedTarball.mk
WinResTarget.mk
Zip.mk

GBuild is a set of makefile macros built on top of gmake that attempts to simplify LibreOffice development.

See
  https://wiki.documentfoundation.org/Development/Build_System
for online build-system documentation.

See
	https://web.archive.org/web/20130911015536/http://wiki.openoffice.org/wiki/Build_Environment_Effort/Module_Migration
for an archived overview of the new build system.

See
   ./solenv/doc/gbuild
for a commented class/API hierarchy of gbuild written in C++ syntax. It was not
intended for any use beyond to generate nicelooking docs with the doxygen
doxygen documentation generator from it. It likely is quite outdated these
days.