Skip to content

Commit

Permalink
fixed sta
Browse files Browse the repository at this point in the history
  • Loading branch information
marwaneltoukhy committed Nov 29, 2023
1 parent fb66c06 commit 7b43586
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -416,17 +416,15 @@ extract-parasitics: check_versions ./verilog/gl/user_project_wrapper.v


ifeq ($(wildcard ./tool_versions.json),)
# File doesn't exist
EXPORT_VARIABLE :=
# File doesn't exist
export OPENLANE_TAG=
export OPEN_PDKS_COMMIT=
else
# File exists
EXPORT_VARIABLE := $(shell jq -r '.OpenLane.commit' tool_versions.json)
# File exists
export OPENLANE_TAG=$(shell python3 ./scripts/export_env.py OpenLane)
export OPEN_PDKS_COMMIT=$(shell python3 ./scripts/export_env.py pdk)
endif

export OPENLANE_TAG=$(EXPORT_VARIABLE)


# export OPENLANE_TAG=$(shell jq -r '.OpenLane.commit' tool_versions.json)
.PHONY: caravel-sta
caravel-sta: check_versions ./env/spef-mapping.tcl
@$(MAKE) -C $(TIMING_ROOT) -f $(TIMING_ROOT)/timing.mk caravel-timing-typ -j3
Expand Down

0 comments on commit 7b43586

Please sign in to comment.