Skip to content

Commit

Permalink
fix install dependency over pip in installing caravel-cocotb moved fr…
Browse files Browse the repository at this point in the history
…om PR #286
  • Loading branch information
M0stafaRady committed Aug 17, 2023
1 parent fd649af commit a02132e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ export PDK?=sky130A
#export PDK?=gf180mcuC
export PDKPATH?=$(PDK_ROOT)/$(PDK)

PYTHON_BIN ?= python3

ROOTLESS ?= 0
USER_ARGS = -u $$(id -u $$USER):$$(id -g $$USER)
ifeq ($(ROOTLESS), 1)
Expand Down Expand Up @@ -328,7 +330,7 @@ setup-timing-scripts: $(TIMING_ROOT)

.PHONY: install-caravel-cocotb
install-caravel-cocotb:
@pip install caravel-cocotb
@./venv/bin/$(PYTHON_BIN) -m pip install --upgrade --no-cache-dir caravel-cocotb

.PHONY: setup-cocotb-env
setup-cocotb-env:
Expand Down

0 comments on commit a02132e

Please sign in to comment.