From 14b8aa90926bdc7233caa926d81984c6593e1f76 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 19 Mar 2021 09:52:50 +0200 Subject: Temporarily default to noop file cache --- build2/b.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'build2') diff --git a/build2/b.cxx b/build2/b.cxx index 1ba15e2..93c02b4 100644 --- a/build2/b.cxx +++ b/build2/b.cxx @@ -763,13 +763,15 @@ main (int argc, char* argv[]) global_mutexes mutexes (sched.shard_size ()); - bool fcache_comp (true); + bool fcache_comp (false); if (ops.file_cache_specified ()) { const string& v (ops.file_cache ()); if (v == "noop" || v == "none") fcache_comp = false; - else if (v != "sync-lz4") + else if (v == "sync-lz4") + fcache_comp = true; + else fail << "invalid --file-cache value '" << v << "'"; } -- cgit v1.1