diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-03-16 11:36:10 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-03-16 11:36:10 +0200 |
commit | 7a4f1ae238b918fe21671d0d1a5549aeb1fe6425 (patch) | |
tree | 6501d18854cc85644a3e73a857fda82b17b73c45 /libbuild2/function.test.cxx | |
parent | 99046d23d78d341674bbad3414567f362ffc60cd (diff) |
Define intermediate build results file cache interface
Diffstat (limited to 'libbuild2/function.test.cxx')
-rw-r--r-- | libbuild2/function.test.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libbuild2/function.test.cxx b/libbuild2/function.test.cxx index f8a2c16..7aa1a50 100644 --- a/libbuild2/function.test.cxx +++ b/libbuild2/function.test.cxx @@ -12,6 +12,7 @@ #include <libbuild2/scheduler.hxx> #include <libbuild2/function.hxx> #include <libbuild2/variable.hxx> +#include <libbuild2/file-cache.hxx> #include <libbuild2/diagnostics.hxx> using namespace std; @@ -46,7 +47,8 @@ namespace build2 // scheduler sched (1); global_mutexes mutexes (1); - context ctx (sched, mutexes); + file_cache fcache (sched); + context ctx (sched, mutexes, fcache); auto& functions (ctx.functions); |