Add -internal-cached

This commit is contained in:
gingerBill
2024-07-08 23:39:14 +01:00
parent 48aef50164
commit 87ac68fcf2
6 changed files with 265 additions and 17 deletions

View File

@@ -326,7 +326,12 @@ enum SanitizerFlags : u32 {
SanitizerFlag_Thread = 1u<<2,
};
struct BuildCacheData {
u64 crc;
String cache_dir;
String manifest_path;
bool copy_already_done;
};
// This stores the information for the specify architecture of this build
struct BuildContext {
@@ -427,6 +432,9 @@ struct BuildContext {
bool use_separate_modules;
bool module_per_file;
bool cached;
BuildCacheData build_cache_data;
bool no_threaded_checker;
bool show_debug_messages;