Skip to content
Permalink
Browse files

Only gather subports' deps once

  • Loading branch information
jmroot committed Mar 14, 2018
1 parent 2e1395e commit 98ea54af79c961e84811c97ff62a58ba828a7f11
Showing with 3 additions and 1 deletion.
  1. +3 −1 tools/sort-with-subports.tcl
@@ -100,7 +100,9 @@ while {$todo ne {}} {
if {[info exists inputports($p)] && [info exists portinfo(subports)]} {
foreach subport $portinfo(subports) {
set splower [string tolower $subport]
lappend todo $splower
if {![info exists portdepinfo($splower)]} {
lappend todo $splower
}
set outputports($splower) 1
}
}

0 comments on commit 98ea54a

Please sign in to comment.
You can’t perform that action at this time.