Skip to content

Commit a02132e

Browse files
author
M0stafaRady
committed
fix install dependency over pip in installing caravel-cocotb moved from PR #286
1 parent fd649af commit a02132e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ export PDK?=sky130A
2828
#export PDK?=gf180mcuC
2929
export PDKPATH?=$(PDK_ROOT)/$(PDK)
3030

31+
PYTHON_BIN ?= python3
32+
3133
ROOTLESS ?= 0
3234
USER_ARGS = -u $$(id -u $$USER):$$(id -g $$USER)
3335
ifeq ($(ROOTLESS), 1)
@@ -328,7 +330,7 @@ setup-timing-scripts: $(TIMING_ROOT)
328330

329331
.PHONY: install-caravel-cocotb
330332
install-caravel-cocotb:
331-
@pip install caravel-cocotb
333+
@./venv/bin/$(PYTHON_BIN) -m pip install --upgrade --no-cache-dir caravel-cocotb
332334

333335
.PHONY: setup-cocotb-env
334336
setup-cocotb-env:

0 commit comments

Comments
 (0)