Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Functionality to print a dependency list for a Fortran code base #284

Merged
merged 11 commits into from
Sep 2, 2024

Conversation

dorchard
Copy link
Member

Provides the --show-make-list option to print dependency list from tree to root, e.g.,

% fortran-src --show-make-list test-data/module/.
test-data/module/./leaf.f90
test-data/module/./mid1.f90
test-data/module/./mid2.f90
test-data/module/./top.f90

(where top uses mid1 and mid2 and both of these use leaf). This PR includes a test for this with some fixture data and makes a small improvement to error reporting for --show-make-graph).

@dorchard dorchard requested review from mrd and raehik August 15, 2024 17:48
@dorchard
Copy link
Member Author

Requested by @jaytorry.

@dorchard
Copy link
Member Author

Updated to remove duplicates due to unusual non-standard import patterns.

@dorchard
Copy link
Member Author

dorchard commented Sep 2, 2024

@jaytorry - are you happy with this functionality now? If so I will merge it.

@jaytorry
Copy link

jaytorry commented Sep 2, 2024

@dorchard - Yes seems to be working well now.

@dorchard dorchard merged commit 1851cf8 into master Sep 2, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants