diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-07-26 16:08:56 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-07-30 12:10:06 +0200 |
commit | 507e944f8b40f30d8201af96ff3fe6778161abbb (patch) | |
tree | c2d7b29fad38688494f5bfb630810f34793dfa61 /src/buildtool/execution_api/execution_service/server_implementation.hpp | |
parent | 461ba224785cba270b37375d9dc25f06a630d723 (diff) | |
download | justbuild-507e944f8b40f30d8201af96ff3fe6778161abbb.tar.gz |
Pass RemoteContext to execution server
Diffstat (limited to 'src/buildtool/execution_api/execution_service/server_implementation.hpp')
-rw-r--r-- | src/buildtool/execution_api/execution_service/server_implementation.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buildtool/execution_api/execution_service/server_implementation.hpp b/src/buildtool/execution_api/execution_service/server_implementation.hpp index 4df8375f..932011c0 100644 --- a/src/buildtool/execution_api/execution_service/server_implementation.hpp +++ b/src/buildtool/execution_api/execution_service/server_implementation.hpp @@ -23,6 +23,7 @@ #include "gsl/gsl" #include "src/buildtool/execution_api/common/api_bundle.hpp" #include "src/buildtool/execution_api/local/context.hpp" +#include "src/buildtool/execution_api/remote/context.hpp" class ServerImpl final { public: @@ -43,10 +44,12 @@ class ServerImpl final { /// \brief Start the execution service. /// \param local_context The LocalContext to be used. + /// \param remote_context The RemoteContext to be used. /// \param apis Apis to be used, only local api is actually /// needed. /// \param op_exponent Log2 threshold for operation cache. auto Run(gsl::not_null<LocalContext const*> const& local_context, + gsl::not_null<RemoteContext const*> const& remote_context, ApiBundle const& apis, std::optional<std::uint8_t> op_exponent) -> bool; |