diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-03-23 12:38:05 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-03-23 16:00:15 +0100 |
commit | 680ed52991dfcc0987829f416e02e7eae9239472 (patch) | |
tree | b1a03fe7a3aa7ce28cfac6425c3ce704d76c9e87 /src/buildtool/graph_traverser/graph_traverser.hpp | |
parent | ced48241beb02517b16984093082235a25aa6baa (diff) | |
download | justbuild-680ed52991dfcc0987829f416e02e7eae9239472.tar.gz |
just install{,-cas}: offer local CAS as preferred CAS
... to avoid unnecessary downloads and hence speed things up.
Diffstat (limited to 'src/buildtool/graph_traverser/graph_traverser.hpp')
-rw-r--r-- | src/buildtool/graph_traverser/graph_traverser.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buildtool/graph_traverser/graph_traverser.hpp b/src/buildtool/graph_traverser/graph_traverser.hpp index e34df5cf..1d5b821d 100644 --- a/src/buildtool/graph_traverser/graph_traverser.hpp +++ b/src/buildtool/graph_traverser/graph_traverser.hpp @@ -571,7 +571,8 @@ class GraphTraverser { auto output_paths = PrepareOutputPaths(rel_paths); if (not output_paths or - not remote_api_->RetrieveToPaths(object_infos, *output_paths)) { + not remote_api_->RetrieveToPaths( + object_infos, *output_paths, GetLocalApi())) { Logger::Log(LogLevel::Error, "Could not retrieve outputs."); return std::nullopt; } |