diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-07-05 16:13:59 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-07-05 17:25:03 +0200 |
commit | a7462a787fc45bee5e8010686333d1edbf7f3963 (patch) | |
tree | 90b2d8528dbbd9da9f151a3c6793183cfaae7a9a /src/buildtool/main/main.cpp | |
parent | 5ad86a9dbae101cc31792c1ca970316f6e41c4b9 (diff) | |
download | justbuild-a7462a787fc45bee5e8010686333d1edbf7f3963.tar.gz |
Remove option --persistent
... as the --request-action-input option provides a clean way of
restoring the inputs to a specific action, without the need of
interacting with the internal directory structure of the tool. In
particular, the new option also works for remote builds.
Diffstat (limited to 'src/buildtool/main/main.cpp')
-rw-r--r-- | src/buildtool/main/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/buildtool/main/main.cpp b/src/buildtool/main/main.cpp index dbb6fcf1..6d7be359 100644 --- a/src/buildtool/main/main.cpp +++ b/src/buildtool/main/main.cpp @@ -222,8 +222,7 @@ void SetupExecutionConfig(EndpointArguments const& eargs, RebuildArguments const& rargs) { using LocalConfig = LocalExecutionConfig; using RemoteConfig = RemoteExecutionConfig; - if (not LocalConfig::SetKeepBuildDir(bargs.persistent_build_dir) or - not(not eargs.local_root or + if (not(not eargs.local_root or (LocalConfig::SetBuildRoot(*eargs.local_root))) or not(not bargs.local_launcher or LocalConfig::SetLauncher(*bargs.local_launcher))) { |