diff --git a/web/content/docs/devguide/advanced/singularity.md b/web/content/docs/devguide/advanced/singularity.md index 4591a9bf8cdbdb80bc8557ac08ecb5637748d890..b60d7567fad989fe52de8e3043c358213c643927 100644 --- a/web/content/docs/devguide/advanced/singularity.md +++ b/web/content/docs/devguide/advanced/singularity.md @@ -36,7 +36,7 @@ singularity pull singularity pull docker://registry.opengeosys.org/ogs/ogs/ogs/g singularity shell gcc_master.sif [Now inside the container] mkdir build; cd build -cmake ../ogs -DCMAKE_BUILD_TYPE=Release +cmake ../ogs -DCMAKE_BUILD_TYPE=Release -DOGS_DISABLE_CCACHE=ON make ./bin/ogs ``` diff --git a/web/content/docs/devguide/advanced/using-ccache.md b/web/content/docs/devguide/advanced/using-ccache.md index 9dc92b6f2e97fc07e57f578c6644e9767f59a4c1..872d3b94aa35db366cad3fda100d83a763b2b90d 100644 --- a/web/content/docs/devguide/advanced/using-ccache.md +++ b/web/content/docs/devguide/advanced/using-ccache.md @@ -30,6 +30,12 @@ sloppiness = pch_defines,time_macros See the [ccache docs](https://ccache.samba.org/manual.html#_configuration_settings) for other available options. +To disable caching with ccache: + +```bash +cmake . -DOGS_DISABLE_CCACHE=ON +``` + ### ccache and Clang Set the option `run_second_cpp = true` or `export CCACHE_CPP2=true` to suppress lots of [false positive compiler warnings](http://peter.eisentraut.org/blog/2014/12/01/ccache-and-clang-part-3/).