Our system supports being built with three different toolchains (gcc, icc, diab). I am not sure if using ccache is safe in this case. My concern is the following: if I build with gcc, and then rebuild with diab, will I get a ccache hit in the case the files and their dependencies are the same ?
I do not want a hit in this case, since I want the files to be recompiled with diab.