Use ccache to accelerate windows build (#14064)

Summary:
With cache hit and compiler option optimization, the compilation time build time is reduced from 40 min to 2 min. Overall build time is reduced from 60 min to less 20 minutes on cache hit on majority of the source file. On 100% cache miss, it would be around 40 minutes.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/14064

Test Plan: Github CI

Reviewed By: mszeszko-meta

Differential Revision: D85023882

Pulled By: xingbowang

fbshipit-source-id: 98551880c98f14d36133ff43e6af8c3be94ab465
This commit is contained in:
Xingbo Wang
2025-10-20 10:37:08 -07:00
committed by meta-codesync[bot]
parent a8a5ade6fa
commit f343f7ecdc
4 changed files with 54 additions and 15 deletions
+1
View File
@@ -0,0 +1 @@
ccache.exe cl.exe %*