mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-28 16:38:51 +00:00
dd2e243997
Backends can as well depends on grpcio and require different versions from the ones that are installed in the system. Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
20 lines
347 B
Makefile
20 lines
347 B
Makefile
.DEFAULT_GOAL := install
|
|
|
|
.PHONY: install
|
|
install:
|
|
bash install.sh
|
|
$(MAKE) protogen
|
|
|
|
.PHONY: protogen
|
|
protogen: backend_pb2_grpc.py backend_pb2.py
|
|
|
|
.PHONY: protogen-clean
|
|
protogen-clean:
|
|
$(RM) backend_pb2_grpc.py backend_pb2.py
|
|
|
|
backend_pb2_grpc.py backend_pb2.py:
|
|
bash protogen.sh
|
|
|
|
.PHONY: clean
|
|
clean: protogen-clean
|
|
rm -rf venv __pycache__
|