From 507e944f8b40f30d8201af96ff3fe6778161abbb Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Fri, 26 Jul 2024 16:08:56 +0200 Subject: Pass RemoteContext to execution server --- .../execution_api/execution_service/server_implementation.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/buildtool/execution_api/execution_service/server_implementation.hpp') 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 const& local_context, + gsl::not_null const& remote_context, ApiBundle const& apis, std::optional op_exponent) -> bool; -- cgit v1.2.3