diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-05-07 10:22:39 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-05-07 12:25:56 +0200 |
commit | 9ff01a766d98359c7dcf199aa6c4fba7fb427140 (patch) | |
tree | eef791d08966568a36b1aa138eb2041c7a91a2f4 /src/buildtool/main | |
parent | 520bb21a4a0887478dffbcc83997a4015f7e67a4 (diff) | |
download | justbuild-9ff01a766d98359c7dcf199aa6c4fba7fb427140.tar.gz |
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.
Diffstat (limited to 'src/buildtool/main')
-rw-r--r-- | src/buildtool/main/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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 |