Skip to content

Commit

Permalink
Merge pull request #379 from byuccl/retry_rule
Browse files Browse the repository at this point in the history
added retry to vivado rule to retry when tcl register fails
  • Loading branch information
jgoeders authored Nov 29, 2023
2 parents e7c05cf + 52e5cf4 commit f41e0c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bfasst/ninja_tools/common/vivado_rules.ninja.mustache
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
rule vivado
command = export tempjou=$$(mktemp); export templog=$$(mktemp); {{ vivado_path }} -mode batch -journal $$tempjou -log $$templog -source $in >&- && mv $$tempjou $journal && mv $$templog $log
command = export tempjou=$$(mktemp); export templog=$$(mktemp); bfasst/ninja_utils/retry.sh {{ vivado_path }} -mode batch -journal $$tempjou -log $$templog -source $in >&- && mv $$tempjou $journal && mv $$templog $log
description = vivado $in

{{#in_context}}
Expand Down
1 change: 1 addition & 0 deletions bfasst/ninja_utils/retry.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"$@"||"$@"||"$@"

0 comments on commit f41e0c5

Please sign in to comment.