aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/context.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-03-16 11:36:10 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-03-16 11:36:10 +0200
commit7a4f1ae238b918fe21671d0d1a5549aeb1fe6425 (patch)
tree6501d18854cc85644a3e73a857fda82b17b73c45 /libbuild2/context.hxx
parent99046d23d78d341674bbad3414567f362ffc60cd (diff)
Define intermediate build results file cache interface
Diffstat (limited to 'libbuild2/context.hxx')
-rw-r--r--libbuild2/context.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbuild2/context.hxx b/libbuild2/context.hxx
index edbf780..f25db85 100644
--- a/libbuild2/context.hxx
+++ b/libbuild2/context.hxx
@@ -20,6 +20,7 @@
namespace build2
{
+ class file_cache;
class loaded_modules_lock;
class LIBBUILD2_SYMEXPORT run_phase_mutex
@@ -141,6 +142,7 @@ namespace build2
public:
scheduler& sched;
global_mutexes& mutexes;
+ file_cache& fcache;
// Match only flag (see --match-only but also dist).
//
@@ -490,6 +492,7 @@ namespace build2
explicit
context (scheduler&,
global_mutexes&,
+ file_cache&,
bool match_only = false,
bool no_external_modules = false,
bool dry_run = false,