Commit f034233d authored by Martino Facchin's avatar Martino Facchin Committed by Cristian Maglie

Add parallel jobs field to proto and rerun protoc

parent 35722fda
......@@ -34,6 +34,7 @@ type CompileReq struct {
Quiet bool `protobuf:"varint,11,opt,name=quiet,proto3" json:"quiet,omitempty"`
VidPid string `protobuf:"bytes,12,opt,name=vidPid,proto3" json:"vidPid,omitempty"`
ExportFile string `protobuf:"bytes,13,opt,name=exportFile,proto3" json:"exportFile,omitempty"`
Jobs int32 `protobuf:"varint,14,opt,name=jobs,proto3" json:"jobs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
......@@ -155,6 +156,13 @@ func (m *CompileReq) GetExportFile() string {
return ""
}
func (m *CompileReq) GetJobs() int32 {
if m != nil {
return m.Jobs
}
return 0
}
type CompileResp struct {
OutStream []byte `protobuf:"bytes,1,opt,name=out_stream,json=outStream,proto3" json:"out_stream,omitempty"`
ErrStream []byte `protobuf:"bytes,2,opt,name=err_stream,json=errStream,proto3" json:"err_stream,omitempty"`
......@@ -210,29 +218,30 @@ func init() {
func init() { proto.RegisterFile("commands/compile.proto", fileDescriptor_86bc582849c76c3d) }
var fileDescriptor_86bc582849c76c3d = []byte{
// 378 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0x4f, 0x8b, 0xdb, 0x30,
0x14, 0xc4, 0x71, 0xfe, 0xda, 0x2f, 0x69, 0x0b, 0xa2, 0x4d, 0x45, 0x68, 0x8b, 0x9b, 0x43, 0x31,
0x94, 0xd8, 0xd0, 0x9e, 0x7b, 0x69, 0xa0, 0x50, 0x7a, 0x09, 0xee, 0x6d, 0x2f, 0x8b, 0x2d, 0xbf,
0x8d, 0xc5, 0xda, 0x92, 0x22, 0xc9, 0xc9, 0x7e, 0xb7, 0xfd, 0x72, 0x8b, 0xe5, 0x38, 0x09, 0x81,
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d, 0x5c, 0xcc, 0x79, 0x26, 0x14, 0xa6, 0x07, 0xd4,
0xb9, 0x34, 0x48, 0xc1, 0x1d, 0xb4, 0x1f, 0xc9, 0x7b, 0x18, 0xef, 0x1b, 0x8e, 0x96, 0xce, 0x1c,
0xef, 0x06, 0xb2, 0x80, 0xc9, 0x81, 0x17, 0x5b, 0x5e, 0xd0, 0xb9, 0x4b, 0x3a, 0x4d, 0xed, 0x37,
0xe3, 0x93, 0x92, 0xda, 0xfe, 0xe1, 0x15, 0xd2, 0x37, 0xdd, 0xbf, 0xbb, 0x90, 0xd5, 0x3f, 0x98,
0x9d, 0xcb, 0x33, 0x8a, 0x7c, 0x06, 0x90, 0x8d, 0xbd, 0x37, 0x56, 0x63, 0x56, 0xbb, 0xfe, 0xe6,
0x69, 0x20, 0x1b, 0xfb, 0xdf, 0x81, 0x56, 0x46, 0xad, 0x7b, 0x79, 0xd0, 0xc9, 0xa8, 0x75, 0x27,
0xff, 0x5e, 0xdf, 0x7d, 0xdf, 0x71, 0x5b, 0x36, 0x79, 0x5b, 0x71, 0x72, 0xaa, 0xbc, 0x7f, 0xae,
0x59, 0xc5, 0x13, 0xad, 0x58, 0xd2, 0xd7, 0x9f, 0x4f, 0xdc, 0x05, 0xfa, 0xf9, 0x12, 0x00, 0x00,
0xff, 0xff, 0xd2, 0xee, 0xb7, 0xd0, 0x8a, 0x02, 0x00, 0x00,
// 392 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0x41, 0x8f, 0xd3, 0x30,
0x10, 0x85, 0x95, 0xed, 0xb6, 0x9b, 0x4c, 0x97, 0x45, 0xb2, 0x60, 0xb1, 0x2a, 0x40, 0xa1, 0x07,
0x14, 0x09, 0x35, 0x91, 0xe0, 0xcc, 0x85, 0x4a, 0x48, 0x88, 0x4b, 0x15, 0x6e, 0x5c, 0x50, 0xe2,
0x0c, 0x8d, 0x21, 0xb1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2, 0x6b, 0xcc, 0x16,
0x10, 0x1e, 0x0a, 0xab, 0xa4, 0xda, 0x3a, 0x1e, 0x51, 0xcc, 0xa9, 0x66, 0x1c, 0xee, 0xf6, 0x68,
0x4b, 0xed, 0x90, 0x03, 0x5d, 0x74, 0x2c, 0xd9, 0x33, 0x98, 0xee, 0x3a, 0x89, 0x9e, 0xcf, 0x89,
0x0f, 0x05, 0x7b, 0x84, 0xd9, 0x5e, 0x56, 0x1b, 0x59, 0xf1, 0x7b, 0x4a, 0x3a, 0x56, 0xfd, 0x3f,
0xe3, 0x1f, 0xa3, 0xad, 0xff, 0x2c, 0x1b, 0xe4, 0x4f, 0x86, 0xb7, 0x3b, 0x93, 0xfe, 0xbd, 0x7f,
0xe9, 0xd2, 0xf1, 0x87, 0x38, 0x48, 0xa6, 0x39, 0xad, 0x97, 0x5f, 0x61, 0x7e, 0x6a, 0xa8, 0x33,
0xec, 0x15, 0x80, 0xee, 0xfc, 0x0f, 0xe7, 0x2d, 0x16, 0x2d, 0xf5, 0xf4, 0x3e, 0x8f, 0x74, 0xe7,
0xbf, 0x11, 0xe8, 0x65, 0xb4, 0x76, 0x94, 0x6f, 0x06, 0x19, 0xad, 0x1d, 0xe4, 0x4f, 0xab, 0xef,
0xef, 0xb6, 0xd2, 0xd7, 0x5d, 0xd9, 0xb7, 0x3d, 0x3b, 0x8e, 0xc1, 0xf8, 0x5d, 0x89, 0x46, 0x66,
0xd6, 0x88, 0x6c, 0x1c, 0x89, 0x72, 0x46, 0x43, 0xf5, 0xe1, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff,
0x14, 0x81, 0xb3, 0x02, 0x9e, 0x02, 0x00, 0x00,
}
......@@ -37,6 +37,7 @@ message CompileReq {
bool quiet = 11; // Suppresses almost every output.
string vidPid = 12; // VID/PID specific build properties.
string exportFile = 13; // The compiled binary is written to this file
int32 jobs = 14; // The max number of concurrent compiler instances to run (as make -jx)
}
message CompileResp {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment