mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 20:22:39 +08:00
8 lines
528 B
Bash
Executable File
8 lines
528 B
Bash
Executable File
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
# TODO(mehrdad): How would this look in windows, where does the protoc executable go?
|
|
# On Linux, we compile it ourselves, on Windows we might not want to do that (?)
|
|
mkdir -p $DIR/../lib/python/ray/internal/
|
|
$DIR/../thirdparty/grpc/bins/opt/protobuf/protoc -I ../protos/ --python_out=$DIR/../lib/python/ray/internal/ ../protos/graph.proto
|
|
$DIR/../thirdparty/grpc/bins/opt/protobuf/protoc -I ../protos/ --python_out=$DIR/../lib/python/ray/internal/ ../protos/types.proto
|