You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.
building from VS2017, have several projects, for one of projects it just does not want to use cache, checked what may be wrong, there is /c, there is no /Zi, precompiled headers not used, still it always invoke compiler, here is what is logged:
Also for other projects where it use cache, if I enable /Yu, using of precompiled headers then clcache does not print anything for all file in project, is it invoked at all or ?
Best regards,
Tihomir
The text was updated successfully, but these errors were encountered:
I have found more details. Here is what I did, I changed /Z7 to None for that project, I compiled a single file and then I have found in clcache log that it added a result into cache ! After that on each next compilation (even with /Z7) it does use cache ! Other files still are not cached using /Z7. I read /Z7 is file, why it does not add result to cache with /Z7 ? I am using 4.2.0 release installed with pip.
If you are tried to use clcache without tracker support, and then execute clean or rebuild target, your cache can be wiped with build files, as result no cache hits on further builds.
Hi,
building from VS2017, have several projects, for one of projects it just does not want to use cache, checked what may be wrong, there is /c, there is no /Zi, precompiled headers not used, still it always invoke compiler, here is what is logged:
1>------ Build started: Project: libDicomWeb, Configuration: Debug x64 ------ 1>MyCompiledFile.cpp 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\clcache.py Found real compiler binary at 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl_original.exe' 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\clcache.py Arguments we care about: '['C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\CL', '@C:\\Users\\tihomir\\AppData\\Local\\Temp\\tmp5f2f85981f964b76b492912be96f0cd7.rsp']' 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\clcache.py Parsing given commandline '['@C:\\Users\\tihomir\\AppData\\Local\\Temp\\tmp5f2f85981f964b76b492912be96f0cd7.rsp']' 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\clcache.py Expanded commandline '['/c', '/I..\\.', '/I..\\..\\external\\itk\\4.13\\include\\ITK-4.13', '/ID:\\GITWORK\\eagles\\external\\Qt\\5.11.0\\msvc2017_64\\include\\', '/ID:\\GITWORK\\eagles\\external\\Qt\\5.11.0\\msvc2017_64\\include\\qtmain', '/ID:\\GITWORK\\eagles\\external\\Qt\\5.11.0\\msvc2017_64\\include\\QtCore', '/ID:\\GITWORK\\eagles\\external\\Qt\\5.11.0\\msvc2017_64\\include\\QtGui', '/ID:\\GITWORK\\eagles\\external\\Qt\\5.11.0\\msvc2017_64\\include\\QtXml', '/ID:\\GITWORK\\eagles\\external\\Qt\\5.11.0\\msvc2017_64\\include\\QtWidgets', '/ID:\\GITWORK\\eagles\\external\\Qt\\5.11.0\\msvc2017_64\\include\\QtNetwork', '/ID:\\GITWORK\\eagles\\external\\Qt\\5.11.0\\msvc2017_64\\include\\QtOpenGL', '/ID:\\GITWORK\\eagles\\external\\Qt\\5.11.0\\msvc2017_64\\include\\QtPrintSupport', '/ID:\\GITWORK\\eagles\\external\\Qt\\5.11.0\\msvc2017_64\\include\\QtMultimedia', '/I..\\..\\libs', '/I.\\', '/Z7', '/nologo', '/W1', '/WX-', '/diagnostics:classic', '/MP', '/Od', '/D', 'UNICODE', '/D', '_UNICODE', '/D', 'WIN32', '/D', 'WIN64', '/D', 'QT_DLL', '/D', 'QT_CONCURRENT_LIB', '/D', 'QT_CORE_LIB', '/D', 'QT_NETWORK_LIB', '/D', 'QT_NETWORKAUTH_LIB', '/D', 'LIBDICOMWEB_LIB', '/D', 'BUILD_STATIC', '/Gm-', '/EHsc', '/MDd', '/GS', '/fp:precise', '/Zc:wchar_t', '/Zc:forScope', '/Zc:inline', '/Fox64\\Debug\\', '/Fdx64\\Debug\\libDicomWeb.pdb', '/Gd', '/TP', '/FC', '/errorReport:prompt', 'MyCompiledFile.cpp']' 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\clcache.py Compiler source files: [('MyCompiledFile.cpp', '')] 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\clcache.py Compiler object file: ['x64\\Debug\\MyCompiledFile.obj'] 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\clcache.py Invoking real compiler as ['C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\cl_original.exe', '/showIncludes', '/c', '/I..\\.', '/I..\\..\\external\\itk\\4.13\\include\\ITK-4.13', '/ID:\\GITWORK\\eagles\\external\\Qt\\5.11.0\\msvc2017_64\\include\\', '/ID:\\GITWORK\\eagles\\external\\Qt\\5.11.0\\msvc2017_64\\include\\qtmain', '/ID:\\GITWORK\\eagles\\external\\Qt\\5.11.0\\msvc2017_64\\include\\QtCore', '/ID:\\GITWORK\\eagles\\external\\Qt\\5.11.0\\msvc2017_64\\include\\QtGui', '/ID:\\GITWORK\\eagles\\external\\Qt\\5.11.0\\msvc2017_64\\include\\QtXml', '/ID:\\GITWORK\\eagles\\external\\Qt\\5.11.0\\msvc2017_64\\include\\QtWidgets', '/ID:\\GITWORK\\eagles\\external\\Qt\\5.11.0\\msvc2017_64\\include\\QtNetwork', '/ID:\\GITWORK\\eagles\\external\\Qt\\5.11.0\\msvc2017_64\\include\\QtOpenGL', '/ID:\\GITWORK\\eagles\\external\\Qt\\5.11.0\\msvc2017_64\\include\\QtPrintSupport', '/ID:\\GITWORK\\eagles\\external\\Qt\\5.11.0\\msvc2017_64\\include\\QtMultimedia', '/I..\\..\\libs', '/I.\\', '/Z7', '/nologo', '/W1', '/WX-', '/diagnostics:classic', '/Od', '/D', 'UNICODE', '/D', '_UNICODE', '/D', 'WIN32', '/D', 'WIN64', '/D', 'QT_DLL', '/D', 'QT_CONCURRENT_LIB', '/D', 'QT_CORE_LIB', '/D', 'QT_NETWORK_LIB', '/D', 'QT_NETWORKAUTH_LIB', '/D', 'LIBDICOMWEB_LIB', '/D', 'BUILD_STATIC', '/Gm-', '/EHsc', '/MDd', '/GS', '/fp:precise', '/Zc:wchar_t', '/Zc:forScope', '/Zc:inline', '/Fox64\\Debug\\', '/Fdx64\\Debug\\libDicomWeb.pdb', '/Gd', '/TP', '/FC', '/errorReport:prompt', 'MyCompiledFile.cpp'] 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\clcache.py Real compiler returned code 0 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\clcache.py Finished. Exit code 0 ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Any idea whatI am doing wrong ?
Also for other projects where it use cache, if I enable /Yu, using of precompiled headers then clcache does not print anything for all file in project, is it invoked at all or ?
Best regards,
Tihomir
The text was updated successfully, but these errors were encountered: