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
92
92
# The following determine the executable location for each tool used by this flow.
93
93
# Priority is given to
94
94
# 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
96
98
ifneq (${IN_NIX_SHELL},)
97
- export OPENROAD_EXE : = $(shell command -v openroad)
99
+ export OPENROAD_EXE ? = $(shell command -v openroad)
98
100
else
99
101
export OPENROAD_EXE ?= $(abspath $(FLOW_HOME ) /../tools/install/OpenROAD/bin/openroad)
100
102
endif
101
103
ifneq (${IN_NIX_SHELL},)
102
- export OPENSTA_EXE : = $(shell command -v sta)
104
+ export OPENSTA_EXE ? = $(shell command -v sta)
103
105
else
104
106
export OPENSTA_EXE ?= $(abspath $(FLOW_HOME ) /../tools/install/OpenROAD/bin/sta)
105
107
endif
@@ -110,7 +112,7 @@ export OPENROAD_NO_EXIT_CMD = $(OPENROAD_EXE) $(OPENROAD_ARGS)
110
112
export OPENROAD_GUI_CMD = $(OPENROAD_EXE ) -gui $(OR_ARGS )
111
113
112
114
ifneq (${IN_NIX_SHELL},)
113
- YOSYS_EXE : = $(shell command -v yosys)
115
+ YOSYS_EXE ? = $(shell command -v yosys)
114
116
else
115
117
YOSYS_EXE ?= $(abspath $(FLOW_HOME ) /../tools/install/yosys/bin/yosys)
116
118
endif
You can’t perform that action at this time.
0 commit comments