Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Delete custom cmake config cache mechanism on Unix (#64370)
When cmake configuration fails due to missing dependency or manually terminated in the middle (Ctrl+C) for some reason, re-running the build command fails with these messages: ``` CMake command line is unchanged. Reusing previous cache instead of regenerating. Unable to find generated build files for "native libraries component" project! ``` The workaround is to delete artifacts directory and rerun the build command, which is wasteful (as it repreforms all the previous steps including rebuilding the previous subsets). cmake has its own up-to-date caching mechanism which works well on Unix (it has some issues on Windows/MSBuild), so deleting the custom sentinel-based cache on Unix makes it more robust and saves some time. The one in `gen-buildsys.cmd` for Windows is kept intact.
- Loading branch information