mirror of https://github.com/efabless/caravel.git
use venv to install volare
This commit is contained in:
parent
bde8c9ef5e
commit
9f98d5717c
8
Makefile
8
Makefile
|
@ -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
|
||||
|
||||
|
||||
###########################################################################
|
||||
|
|
Loading…
Reference in New Issue