From 9f98d5717cf60bc0a9fbac246b34a0da2e48df44 Mon Sep 17 00:00:00 2001 From: marwaneltoukhy Date: Thu, 19 Jan 2023 14:16:46 +0200 Subject: [PATCH] use venv to install volare --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e943f14a..4818ed65 100644 --- a/Makefile +++ b/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 ###########################################################################