Where’s the cmake cache?
# core
s
Where’s the cmake cache?
s
for me it’s
/Users/sharvil/Library/Caches/ccache
and
/Users/sharvil/Library/Caches/ccache/tmp
which tends to be the default. If you have a separate config the path should be in
ccache -p
s
Hum, ccache is not related to CMake, it’s a separate optional tool to cache intermediate binaries. That been said the error, as later Alessandro mentions, is more related to git and the inability sometimes to refer to a past commit when using a shallow clone
ty 1
It’s pretty inconsistent because it doesn’t always happen.. even when doing a new clone
the annoying part is that unless you do a full new clone, you may not see it because the first time one fully clones a submodule, git caches the existence of its commits, and so in the future shallow cloning from that folder will almost never fail
to further add context, when you do
git submodule deinit --all --force
it only deletes the folders that contain the submodule source code, it does not removing anything in the
.git
folder
and actually there’s a second way than doing a full new clone, which is entering the
.git
folder and then
modules
, and deleting what’s there. Careful though that holds everything about submodules.. if for instance you started changing a submodule and created commits there for convenience, instead of cloning it separately, you will lose them.