From 154aa03ff485d821be515f84431bc220e0144694 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Thu, 1 Feb 2024 14:17:24 +0100 Subject: describe: accept local-build-root ... as even this command now adds entries to CAS, e.g., the shard for the target-level cache. Also, this command block gc by keeping a lock (also in the local build root). --- src/buildtool/main/cli.cpp | 1 + src/other_tools/just_mr/utils.hpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/buildtool/main/cli.cpp b/src/buildtool/main/cli.cpp index 19b965dd..b1b2f32f 100644 --- a/src/buildtool/main/cli.cpp +++ b/src/buildtool/main/cli.cpp @@ -24,6 +24,7 @@ auto SetupDescribeCommandArguments( gsl::not_null const& app, gsl::not_null const& clargs) { SetupCommonArguments(app, &clargs->common); + SetupCacheArguments(app, &clargs->endpoint); SetupAnalysisArguments(app, &clargs->analysis, false); SetupLogArguments(app, &clargs->log); SetupDescribeArguments(app, &clargs->describe); diff --git a/src/other_tools/just_mr/utils.hpp b/src/other_tools/just_mr/utils.hpp index 36a03ddf..7928a7a8 100644 --- a/src/other_tools/just_mr/utils.hpp +++ b/src/other_tools/just_mr/utils.hpp @@ -72,7 +72,7 @@ std::map const kKnownJustSubcommands{ .client_auth = false}}, {"describe", {.config = true, - .build_root = false, + .build_root = true, .launch = false, .defines = true, .remote = false, -- cgit v1.2.3