I just installed ccache for a faster compiling, but nvcc seems to have problems with it:
Catastrophic error: could not open source file "/tmp/tmpxft_000050a6_00000000-2.ii" 1 catastrophic error detected in the compilation of "/tmp/tmpxft_000050a6_00000000-2.ii". Compilation terminated. rm: remove write-protected regular file `/tmp/tmpxft_000050a6_00000000-2.ii'? y
Is their any solution except disabling ccache when calling nvcc?