diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2024-07-09 15:27:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-09 15:27:45 +0100 |
| commit | 9782d7b928a0aea4ed86f6a51ef8593bcc14fb7e (patch) | |
| tree | bf26703022465f3902fbf4fc5e29da54ba61e1ba /src/build_settings.cpp | |
| parent | 9575d85f1aadf6ad501328990b9017d825096750 (diff) | |
| parent | 5627af582a7882c640f0f4c5b285bafb6377fce1 (diff) | |
Merge pull request #3896 from odin-lang/cached-builds
Internal Cached Builds
Diffstat (limited to 'src/build_settings.cpp')
| -rw-r--r-- | src/build_settings.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp index c8c83422f..28ca0f088 100644 --- a/src/build_settings.cpp +++ b/src/build_settings.cpp @@ -326,7 +326,17 @@ enum SanitizerFlags : u32 { SanitizerFlag_Thread = 1u<<2, }; +struct BuildCacheData { + u64 crc; + String cache_dir; + // manifests + String files_path; + String args_path; + String env_path; + + bool copy_already_done; +}; // This stores the information for the specify architecture of this build struct BuildContext { @@ -427,6 +437,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; |