Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
Hdlmake
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
15
Issues
15
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Hdlmake
Commits
4e359337
Commit
4e359337
authored
Jun 11, 2019
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new_dep_solver: remove unused code.
parent
f13ada9a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
new_dep_solver.py
hdlmake/new_dep_solver.py
+2
-5
No files found.
hdlmake/new_dep_solver.py
View file @
4e359337
...
...
@@ -109,7 +109,7 @@ def solve(fileset, standard_libs=None):
"Dependencies solved, all of the relations were satisfied!"
)
def
make_dependency_sorted_list
(
fileset
,
reverse
=
False
):
def
make_dependency_sorted_list
(
fileset
):
"""Sort files in order of dependency.
Files with no dependencies first.
All files that another depends on will be earlier in the list."""
...
...
@@ -119,10 +119,7 @@ def make_dependency_sorted_list(fileset, reverse=False):
# Not necessary, but will tend to group files more nicely
# in the output.
dependable
.
sort
(
key
=
DepFile
.
get_dep_level
)
sorted_list
=
non_dependable
+
dependable
if
reverse
:
sorted_list
=
list
(
reversed
(
sorted_list
))
return
sorted_list
return
non_dependable
+
dependable
def
make_dependency_set
(
fileset
,
top_level_entity
,
extra_modules
=
None
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment