Skip to content

Commit

Permalink
add pdk enable dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffdi authored Jun 1, 2024
1 parent 6101d4b commit 8f0df84
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion openlane/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ list:

.PHONY: $(designs)
$(designs) : export current_design=$@
$(designs) : % : ./%/config.json
$(designs) : % : ./%/config.json enable-openlane-pdk
ifneq (,$(wildcard ./$(current_design)/interactive.tcl))
$(docker_run) \
$(OPENLANE_IMAGE_NAME) sh -c $(openlane_cmd_interactive)
Expand All @@ -84,6 +84,10 @@ endif
@cp ./$*/runs/$*/PDK_SOURCES ../signoff/$*/
@cp ./$*/runs/$*/reports/*.csv ../signoff/$*/

.PHONY: enable-openlane-pdk
enable-openlane-pdk:
$(UPRJ_ROOT)/venv/bin/volare enable $(OPEN_PDKS_COMMIT)

.PHONY: openlane
openlane: check-openlane-env
if [ -d "$(OPENLANE_ROOT)" ]; then\
Expand Down

0 comments on commit 8f0df84

Please sign in to comment.