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
When I delete the outputs and run the same command again ccache will only recreate the test.o, but the test.cpp.sarif is missing.
Expected behavior
I would be great if ccache could also cache the sarif output.
ccache already supports caching of dependency files, which is a quite similar functionality.
Maybe its best to have a generic/configurable functionality for this, since every compiler may has different "byproducts".
Actual behavior
When I run gcc to emit Sarif output with the following command, a test.o file and an addtional test.cpp.sarif file will be written to disk.
ccache gcc -c ../test.cpp -fdiagnostics-format=sarif-file
When I delete the outputs and run the same command again ccache will only recreate the test.o, but the test.cpp.sarif is missing.
Expected behavior
I would be great if ccache could also cache the sarif output.
ccache already supports caching of dependency files, which is a quite similar functionality.
Maybe its best to have a generic/configurable functionality for this, since every compiler may has different "byproducts".
Environment
ccache version 4.9.1
gcc 13.2
References
https://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Message-Formatting-Options.html#index-fdiagnostics-format
The text was updated successfully, but these errors were encountered: