Skip to content

Commit

Permalink
Remove Perl dependency for time-tracking (#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
henryleberre authored Aug 22, 2024
1 parent e63b8d6 commit 19878a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions toolchain/templates/include/helpers.mako
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ END
cd "${os.path.dirname(input)}"
t_${target.name}_start=$(perl -MTime::HiRes=time -e 'printf "%.9f\n", time')
t_${target.name}_start=$(python3 -c 'import time; print(time.time())')
% else:
echo ^:) Running ${target.name}.
echo.
Expand All @@ -89,7 +89,7 @@ END
% if os.name != 'nt':
code=$?
t_${target.name}_stop=$(perl -MTime::HiRes=time -e 'printf "%.9f\n", time')
t_${target.name}_stop=$(python3 -c 'import time; print(time.time())')
if [ $code -ne 0 ]; then
echo
Expand Down

0 comments on commit 19878a3

Please sign in to comment.