Documentation
¶
Overview ¶
protoc_xla_protos compiles the .proto from the OpenXLA/XLA sources to subpackages of "github.com/gomlx/gopjrt/protos".
It should be executed under the gopjrt/protos directory -- suggested as a go:generate -- and it requires XLA_SRC to be set to a cloned github.com/openxla/xla clone.
It first removes from the proto any lines with `option go_package = "...";`, since they wouldn't allow the compilation. See https://github.com/golang/protobuf/issues/1621 on this issue. The **files are modified** in place.
Click to show internal directories.
Click to hide internal directories.