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

makedep: Module dependency in nested includes #489

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

marshallward
Copy link
Member

Nested includes are tracked for the purpose of include flags (-I), but not with respect to the content within those files. This patch tracks the module usage statements (use ...) inside of any include files and adds them to the Makefile rules of the top-level file.

This was implemented within the nested_inc function by adding a new argument.

@marshallward marshallward requested a review from adcroft October 3, 2023 13:12
@codecov
Copy link

codecov bot commented Oct 3, 2023

Codecov Report

Merging #489 (30424fe) into dev/gfdl (2047676) will increase coverage by 0.00%.
The diff coverage is n/a.

❗ Current head 30424fe differs from pull request most recent head 13a1e7e. Consider uploading reports for the commit 13a1e7e to get more accurate results

@@            Coverage Diff            @@
##           dev/gfdl     #489   +/-   ##
=========================================
  Coverage     37.84%   37.84%           
=========================================
  Files           270      270           
  Lines         78231    78231           
  Branches      14477    14477           
=========================================
+ Hits          29606    29607    +1     
+ Misses        43238    43236    -2     
- Partials       5387     5388    +1     

see 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@marshallward marshallward force-pushed the makedep_nested_mod branch 2 times, most recently from 7817a0a to a0798d5 Compare October 3, 2023 13:25
Nested includes are tracked for the purpose of include flags (-I), but
not with respect to the content within those files.  This patch tracks
the module usage statements (`use ...`) inside of any include files and
adds them to the Makefile rules of the top-level file.

This was implemented within the `nested_inc` function by adding a new
argument.
@adcroft adcroft force-pushed the makedep_nested_mod branch from a0798d5 to 13a1e7e Compare October 5, 2023 19:25
@adcroft adcroft merged commit 6756b48 into NOAA-GFDL:dev/gfdl Oct 5, 2023
@marshallward marshallward deleted the makedep_nested_mod branch May 8, 2024 14:58
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