update volare enable to use venv

This commit is contained in:
marwaneltoukhy 2023-01-22 12:39:42 +02:00
parent 9f98d5717c
commit f9614d3406
1 changed files with 2 additions and 1 deletions

View File

@ -1225,13 +1225,14 @@ endif
.PHONY: pdk-with-volare
pdk-with-volare: check-python install-volare
@volare enable ${OPEN_PDKS_COMMIT}
./venv/bin/volare enable ${OPEN_PDKS_COMMIT}
check-python:
ifeq ($(shell which python3),)
$(error Please install python 3.6+)
endif
.PHONY: install-volare
install-volare:
rm -rf ./venv
$(PYTHON_BIN) -m venv ./venv