diff options
author | Vincent Ambo <mail@tazj.in> | 2021-03-26T22·49+0200 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2021-05-08T22·50+0000 |
commit | 8c2084d0a1bbfc7d0bfa12ef1f5bda3cb02bff56 (patch) | |
tree | f2fbcf3400276a830ab62c140eb47366b33ef8b6 /tvix/proto/default.nix | |
parent | 61783bd2ba1770dcbdc8585b9cc9647a9332f28b (diff) |
feat(tvix/proto): Add evaluator communication proto r/2574
This adds the proto messages and service definition used for communicating with our evaluator. Please refer to the `Tvix - Component interaction` document for a detailed description of the interactions that this service is used for. Change-Id: If44cdbff66c6cfe88c22a748fe29c0bbd8510b0d Co-Authored-By: Florian Klink <flokli@flokli.de> Co-Authored-By: Adam Höse <adisbladis@gmail.com> Reviewed-on: https://cl.tvl.fyi/c/depot/+/2685 Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de> Reviewed-by: grfn <grfn@gws.fyi>
Diffstat (limited to 'tvix/proto/default.nix')
-rw-r--r-- | tvix/proto/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tvix/proto/default.nix b/tvix/proto/default.nix new file mode 100644 index 000000000000..7ff03ba3b74f --- /dev/null +++ b/tvix/proto/default.nix @@ -0,0 +1,9 @@ +# Build protocol buffer definitions to ensure that protos are valid in +# CI. Note that the output of this build target is not actually used +# anywhere, it just functions as a CI check for now. +{ pkgs, ... }: + +pkgs.runCommandNoCC "tvix-cc-proto" {} '' + mkdir $out + ${pkgs.protobuf}/bin/protoc -I ${./.} evaluator.proto --cpp_out=$out +'' |