We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f6af8ad + d14898a commit 9020c2aCopy full SHA for 9020c2a
1 file changed
flow/Makefile
@@ -275,10 +275,11 @@ YOSYS_FLAGS += -v 3
275
276
#-------------------------------------------------------------------------------
277
# setup all commands used within this flow
278
-TIME_CMD = /usr/bin/time -f 'Elapsed time: %E[h:]min:sec. CPU time: user %U sys %S (%P). Peak memory: %MKB.'
+export TIME_BIN ?= /usr/bin/time
279
+TIME_CMD = $(TIME_BIN) -f 'Elapsed time: %E[h:]min:sec. CPU time: user %U sys %S (%P). Peak memory: %MKB.'
280
TIME_TEST = $(shell $(TIME_CMD) echo foo 2>/dev/null)
281
ifeq (, $(strip $(TIME_TEST)))
- TIME_CMD = /usr/bin/time
282
+ TIME_CMD = $(TIME_BIN)
283
endif
284
285
# The following determine the executable location for each tool used by this flow.
0 commit comments