From 9ff01a766d98359c7dcf199aa6c4fba7fb427140 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Wed, 7 May 2025 10:22:39 +0200 Subject: profile: include remote-execution properties Include in the profile also the effective remote-execution endpoint, properties, and dispatch list. Software projects are often tested in a variety of environments or hardware configurations; as, obviously, the performance might differ significantly (especially depending on the used hardware) a proper analysis therefore requires the possibility to distinguish the various backends. Adding the effective configuration adds this posibility. --- src/buildtool/main/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/buildtool/main/main.cpp') diff --git a/src/buildtool/main/main.cpp b/src/buildtool/main/main.cpp index 896d0545..c071b27c 100644 --- a/src/buildtool/main/main.cpp +++ b/src/buildtool/main/main.cpp @@ -941,6 +941,9 @@ auto main(int argc, char* argv[]) -> int { } return kExitBuildEnvironment; } + if (profile != nullptr) { + profile->SetRemoteExecutionConfig(*remote_exec_config); + } // Set up storage for client-side operation. This needs to have all the // correct remote endpoint info in order to instantiate the -- cgit v1.2.3