File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -92,14 +92,16 @@ export TIME_CMD
9292# The following determine the executable location for each tool used by this flow.
9393# Priority is given to
9494# 1 user explicit set with variable in Makefile or command line, for instance setting OPENROAD_EXE
95- # 2 ORFS compiled tools: openroad, yosys
95+ # 2 either
96+ # 2.1 if in Nix shell: openroad, yosys from the environment
97+ # 2.2 ORFS compiled tools: openroad, yosys
9698ifneq (${IN_NIX_SHELL},)
97- export OPENROAD_EXE : = $(shell command -v openroad)
99+ export OPENROAD_EXE ? = $(shell command -v openroad)
98100else
99101 export OPENROAD_EXE ?= $(abspath $(FLOW_HOME ) /../tools/install/OpenROAD/bin/openroad)
100102endif
101103ifneq (${IN_NIX_SHELL},)
102- export OPENSTA_EXE : = $(shell command -v sta)
104+ export OPENSTA_EXE ? = $(shell command -v sta)
103105else
104106 export OPENSTA_EXE ?= $(abspath $(FLOW_HOME ) /../tools/install/OpenROAD/bin/sta)
105107endif
@@ -110,7 +112,7 @@ export OPENROAD_NO_EXIT_CMD = $(OPENROAD_EXE) $(OPENROAD_ARGS)
110112export OPENROAD_GUI_CMD = $(OPENROAD_EXE ) -gui $(OR_ARGS )
111113
112114ifneq (${IN_NIX_SHELL},)
113- YOSYS_EXE : = $(shell command -v yosys)
115+ YOSYS_EXE ? = $(shell command -v yosys)
114116else
115117 YOSYS_EXE ?= $(abspath $(FLOW_HOME ) /../tools/install/yosys/bin/yosys)
116118endif
You can’t perform that action at this time.
0 commit comments