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.
1 parent e63b8d6 commit 19878a3Copy full SHA for 19878a3
toolchain/templates/include/helpers.mako
@@ -76,7 +76,7 @@ END
76
77
cd "${os.path.dirname(input)}"
78
79
- t_${target.name}_start=$(perl -MTime::HiRes=time -e 'printf "%.9f\n", time')
+ t_${target.name}_start=$(python3 -c 'import time; print(time.time())')
80
% else:
81
echo ^:) Running ${target.name}.
82
echo.
@@ -89,7 +89,7 @@ END
89
% if os.name != 'nt':
90
code=$?
91
92
- t_${target.name}_stop=$(perl -MTime::HiRes=time -e 'printf "%.9f\n", time')
+ t_${target.name}_stop=$(python3 -c 'import time; print(time.time())')
93
94
if [ $code -ne 0 ]; then
95
echo
0 commit comments