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

Add switch for each executable not to compile unnecessary executables #56

Merged
merged 5 commits into from
Dec 4, 2023

Conversation

chan-hoo
Copy link
Contributor

@chan-hoo chan-hoo commented Dec 2, 2023

DESCRIPTION OF CHANGES:

  • Add the switches not to compile each executable to CMakeLists.txt.
  • Rename the source directories (add the suffix '.fd' for the fortran source codes) to meet the NCO standards.

TESTS CONDUCTED:

Build test in the RRFS workflow (EMC)

ISSUE (optional):

Fixes issue mentioned in #55

CMakeLists.txt Outdated
endif()
if(USE_RAPHRRR_SFC)
add_subdirectory(use_raphrrr_sfc.fd)
endif()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chan-hoo Thanks a lot for making these changes!! A function we've been waiting for!

I have a comment to add a top-level option such as "RRFS_UTL_ALL" which can turn on/off building all executables except those explicitly set in the cmake command line.
Changes are in this PR to your fork:
chan-hoo#1

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@guoqing-noaa, thanks for the PR. Merged.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chan-hoo Thanks for merging the changes!

Copy link
Collaborator

@guoqing-noaa guoqing-noaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@guoqing-noaa
Copy link
Collaborator

@hu5970 and @chunhuazhou Please review this PR at your earlier convenience. Thanks!

@hu5970 hu5970 merged commit 8686465 into NOAA-GSL:develop Dec 4, 2023
1 check 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.

3 participants