@@ -146,7 +146,7 @@ SHELL := /usr/bin/env bash
146146# location
147147# - default is current install / clone directory
148148ifeq ($(origin FLOW_HOME ) , undefined)
149- FLOW_HOME := $(abspath $(dir $(firstword $(MAKEFILE_LIST ) ) ) )
149+ FLOW_HOME := $(abspath $(dir $(firstword $(MAKEFILE_LIST ) ) ) )
150150endif
151151export FLOW_HOME
152152
@@ -204,10 +204,10 @@ versions.txt:
204204.SECONDEXPANSION :
205205$(DONT_USE_LIBS ) : $$(filter % $$(@F ) % $$(@F ) .gz,$(LIB_FILES ) )
206206 @mkdir -p $(OBJECTS_DIR ) /lib
207- $(UTILS_DIR ) /preprocessLib.py -i $^ -o $@
207+ $(PYTHON_EXE ) $( UTILS_DIR ) /preprocessLib.py -i $^ -o $@
208208
209209$(OBJECTS_DIR ) /lib/merged.lib : $(DONT_USE_LIBS )
210- $(UTILS_DIR ) /mergeLib.pl $(PLATFORM ) _merged $(DONT_USE_LIBS ) > $@
210+ $(PYTHON_EXE ) $( UTILS_DIR ) /merge_lib.py $(PLATFORM ) _merged $(DONT_USE_LIBS ) > $@
211211
212212# Pre-process KLayout tech
213213# ==============================================================================
@@ -271,9 +271,9 @@ do-synth-report:
271271.PHONY : memory
272272memory :
273273 if [ -f $( RESULTS_DIR) /mem_hierarchical.json ]; then \
274- python3 $(SCRIPTS_DIR ) /mem_dump.py $(RESULTS_DIR ) /mem_hierarchical.json; \
274+ $( PYTHON_EXE ) $(SCRIPTS_DIR ) /mem_dump.py $(RESULTS_DIR ) /mem_hierarchical.json; \
275275 fi
276- python3 $(SCRIPTS_DIR ) /mem_dump.py $(RESULTS_DIR ) /mem.json
276+ $( PYTHON_EXE ) $(SCRIPTS_DIR ) /mem_dump.py $(RESULTS_DIR ) /mem.json
277277
278278# ==============================================================================
279279
@@ -619,12 +619,12 @@ finish: $(LOG_DIR)/6_report.log \
619619
620620.PHONY : elapsed
621621elapsed :
622- -@$(UTILS_DIR ) /genElapsedTime.py -d $(BLOCK_LOG_FOLDERS ) $(LOG_DIR )
622+ -@$(PYTHON_EXE ) $( UTILS_DIR ) /genElapsedTime.py -d $(BLOCK_LOG_FOLDERS ) $(LOG_DIR )
623623
624624# Useful when working with macros, see elapsed time for all macros in platform
625625.PHONY : elapsed-all
626626elapsed-all :
627- @$(UTILS_DIR ) /genElapsedTime.py -d $(shell find $(WORK_HOME ) /logs/$(PLATFORM ) /* /* / -type d)
627+ @$(PYTHON_EXE ) $( UTILS_DIR ) /genElapsedTime.py -d $(shell find $(WORK_HOME ) /logs/$(PLATFORM ) /* /* / -type d)
628628
629629$(eval $(call do-step,6_1_fill,$(RESULTS_DIR)/5_route.odb $(RESULTS_DIR)/5_route.sdc $(FILL_CONFIG),density_fill))
630630
0 commit comments