protoc_xla_protos

command
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL