diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-07-05 16:56:32 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-07-05 17:25:03 +0200 |
commit | 1adf3ea9c28b1b72eb7e56ef4027d2aee200042e (patch) | |
tree | acf4f9d2670d3b48789719c96d334ec433de2f2f /src/buildtool/main/main.cpp | |
parent | a7462a787fc45bee5e8010686333d1edbf7f3963 (diff) | |
download | justbuild-1adf3ea9c28b1b72eb7e56ef4027d2aee200042e.tar.gz |
Make remote endpoint specification part of analysis
The remote execution endpoint shards the target-level cache; still,
for analysis, we want to specify a particular target-level cache,
e.g., to analyse the inputs of a particular action that failed
remotely. Note that the action identifier depends on the target-level
cache in question, due to the extensional projection implicit in
target-level caching.
Diffstat (limited to 'src/buildtool/main/main.cpp')
-rw-r--r-- | src/buildtool/main/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buildtool/main/main.cpp b/src/buildtool/main/main.cpp index 6d7be359..1c84d585 100644 --- a/src/buildtool/main/main.cpp +++ b/src/buildtool/main/main.cpp @@ -80,6 +80,7 @@ auto SetupAnalyseCommandArguments( gsl::not_null<CommandLineArguments*> const& clargs) { SetupCommonArguments(app, &clargs->common); SetupAnalysisArguments(app, &clargs->analysis); + SetupEndpointArguments(app, &clargs->endpoint); SetupDiagnosticArguments(app, &clargs->diagnose); SetupCompatibilityArguments(app); } @@ -229,7 +230,7 @@ void SetupExecutionConfig(EndpointArguments const& eargs, Logger::Log(LogLevel::Error, "failed to configure local execution."); std::exit(kExitFailure); } - for (auto const& property : bargs.platform_properties) { + for (auto const& property : eargs.platform_properties) { if (not RemoteConfig::AddPlatformProperty(property)) { Logger::Log(LogLevel::Error, "addding platform property '{}' failed.", |