use venv to install volare

This commit is contained in:
marwaneltoukhy 2023-01-19 14:16:46 +02:00
parent bde8c9ef5e
commit 9f98d5717c
1 changed files with 7 additions and 1 deletions

View File

@ -46,6 +46,8 @@ MCW_ROOT?=$(PWD)/mgmt_core_wrapper
MCW ?=LITEX_VEXRISCV
MPW_TAG ?= mpw-8c
PYTHON_BIN ?= python3
# PDK switch varient
export PDK?=sky130A
@ -1231,7 +1233,11 @@ $(error Please install python 3.6+)
endif
install-volare:
python3 -m pip install --upgrade volare
rm -rf ./venv
$(PYTHON_BIN) -m venv ./venv
./venv/bin/$(PYTHON_BIN) -m pip install --upgrade --no-cache-dir pip
touch $@
./venv/bin/$(PYTHON_BIN) -m pip install --upgrade --no-cache-dir volare
###########################################################################