diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-02-01 14:17:24 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-02-01 14:44:58 +0100 |
commit | 154aa03ff485d821be515f84431bc220e0144694 (patch) | |
tree | 9719046e7d033353f74a3b02255a34204597761b /src | |
parent | 8772b205b30913403af5be12e8913a8b18a10a05 (diff) | |
download | justbuild-154aa03ff485d821be515f84431bc220e0144694.tar.gz |
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).
Diffstat (limited to 'src')
-rw-r--r-- | src/buildtool/main/cli.cpp | 1 | ||||
-rw-r--r-- | src/other_tools/just_mr/utils.hpp | 2 |
2 files changed, 2 insertions, 1 deletions
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<CLI::App*> const& app, gsl::not_null<CommandLineArguments*> 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<std::string, JustSubCmdFlags> const kKnownJustSubcommands{ .client_auth = false}}, {"describe", {.config = true, - .build_root = false, + .build_root = true, .launch = false, .defines = true, .remote = false, |