Skip to content

Commit

Permalink
Use sed instead of python.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricefrog committed Jan 30, 2025
1 parent 33a1246 commit 0c1695c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ clean:
PROTO_PACKAGE_DIR := ./keysight_chakra/protobuf
build: ## compile all .proto files and generate artifacts
curl -L -o ./keysight_chakra/protobuf/et_def.proto https://raw.githubusercontent.com/mlcommons/chakra/main/schema/protobuf/et_def.proto
python3 ./update_et_def_package_name.py
sed -i 's/ChakraProtoMsg/keysight_chakra.protobuf/g' ./keysight_chakra/protobuf/et_def.proto
rm -rf $(PROTO_PACKAGE_DIR)/*pb2* || true
python3 -m grpc_tools.protoc \
--proto_path=./ \
Expand Down
11 changes: 0 additions & 11 deletions update_et_def_package_name.py

This file was deleted.

0 comments on commit 0c1695c

Please sign in to comment.