mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00
7 lines
528 B
Bash
Executable file
7 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
|