mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[CAS] Consolidate compile cache flags
Rename `-enable-cas` to `-compile-cache-job` to align with clang option names and promote that to a new driver only flag. Few other additions to driver flag for caching behaviors: * `-compile-cache-remarks`: now cache hit/miss remarks are guarded behind this flag * `-compile-cache-skip`: skip replaying from the cache. Useful as a debugging tool to do the compilation using CAS inputs even the output is a hit from the cache.
This commit is contained in:
@@ -123,8 +123,14 @@ public:
|
||||
/// The module for which we should verify all of the generic signatures.
|
||||
std::string VerifyGenericSignaturesInModule;
|
||||
|
||||
/// Use CAS.
|
||||
bool EnableCAS = false;
|
||||
/// Enable compiler caching.
|
||||
bool EnableCaching = false;
|
||||
|
||||
/// Enable compiler caching remarks.
|
||||
bool EnableCachingRemarks = false;
|
||||
|
||||
/// Skip replaying outputs from cache.
|
||||
bool CacheSkipReplay = false;
|
||||
|
||||
/// CASOptions
|
||||
clang::CASOptions CASOpts;
|
||||
|
||||
Reference in New Issue
Block a user