Skip to content

Remove unused cmake macros#40

Merged
aerorahul merged 1 commit into
NOAA-EMC:developfrom
climbfuji:heavy_axe_cleanup
Jul 31, 2020
Merged

Remove unused cmake macros#40
aerorahul merged 1 commit into
NOAA-EMC:developfrom
climbfuji:heavy_axe_cleanup

Conversation

@climbfuji
Copy link
Copy Markdown
Collaborator

Heavy-axe cleanup: remove everything that isn't used right now.

Testing ongoing with NCEPLIBS-external, develop branch. Also need to test with the various NCEPLIBS.

@climbfuji
Copy link
Copy Markdown
Collaborator Author

@aerorahul @DusanJovic-NOAA @kgerheiser @mark-a-potts I simply removed everything except the NetCDF, ESMF and WGRIB2 find macros. If you think or already know that some of the stuff I deleted is required, please let me know.

@aerorahul
Copy link
Copy Markdown
Collaborator

@aerorahul @DusanJovic-NOAA @kgerheiser @mark-a-potts I simply removed everything except the NetCDF, ESMF and WGRIB2 find macros. If you think or already know that some of the stuff I deleted is required, please let me know.

dang!
Hopefully @kgerheiser will implement a cmake for wgrib2 and we can get rid of FindWGRIB2.cmake as well.

@climbfuji
Copy link
Copy Markdown
Collaborator Author

@aerorahul this works for me in NCEPLIBS-external (see PR NOAA-EMC/NCEPLIBS-external#57). Can you or somebody else please test that this trimmed down version still works with the NCEPLIBS-xyz that use CMakeModules (and with any other model that might use CMakeModules that I am not aware of)?

@aerorahul
Copy link
Copy Markdown
Collaborator

@climbfuji
I can test with NCEPLIBS and UFS-utils.
I don't know of any other application using CMakeModules.

@climbfuji
Copy link
Copy Markdown
Collaborator Author

climbfuji commented Jul 29, 2020 via email

@kgerheiser
Copy link
Copy Markdown
Contributor

wgrib2 is in NCEPLIBS now, along with its CMake build and package config.

@climbfuji
Copy link
Copy Markdown
Collaborator Author

wgrib2 is in NCEPLIBS now, along with its CMake build and package config.

Does this mean I should remove the FindWGRIB2.cmake from the repository as well?

@kgerheiser
Copy link
Copy Markdown
Contributor

I'm not sure. It was just merged today and hasn't been installed anywhere yet and there may be some other applications (UFS_UTILS, maybe Post?) that need to be converted as well. Not that any of that is difficult, but it's not ready at this exact moment.

@climbfuji
Copy link
Copy Markdown
Collaborator Author

climbfuji commented Jul 29, 2020 via email

@aerorahul
Copy link
Copy Markdown
Collaborator

@climbfuji
All the nceplibs-xyz and EMC_post library built with this branch.
I will try ufs_utils next.

@climbfuji climbfuji marked this pull request as ready for review July 30, 2020 12:55
@climbfuji
Copy link
Copy Markdown
Collaborator Author

@climbfuji
All the nceplibs-xyz and EMC_post library built with this branch.
I will try ufs_utils next.

Thanks, @aerorahul. Once we know that ufs_utils works as well, we can merge this PR. Are you going to update the submodule pointers in those repositories you tested?

@aerorahul
Copy link
Copy Markdown
Collaborator

@climbfuji
All the nceplibs-xyz and EMC_post library built with this branch.
I will try ufs_utils next.

Thanks, @aerorahul. Once we know that ufs_utils works as well, we can merge this PR. Are you going to update the submodule pointers in those repositories you tested?

Sure @climbfuji. I can update the submodule pointers in those repos. I want to make sure everything works before I issue PR's. Would that be OK?

@climbfuji
Copy link
Copy Markdown
Collaborator Author

@climbfuji
All the nceplibs-xyz and EMC_post library built with this branch.
I will try ufs_utils next.

Thanks, @aerorahul. Once we know that ufs_utils works as well, we can merge this PR. Are you going to update the submodule pointers in those repositories you tested?

Sure @climbfuji. I can update the submodule pointers in those repos. I want to make sure everything works before I issue PR's. Would that be OK?

Absolutely, this can wait. Thanks for testing all the codes.

@aerorahul
Copy link
Copy Markdown
Collaborator

@climbfuji
I tested this branch of CMakeModules with UFS_UTILS branch feature/cmakepkgs and it worked.

Copy link
Copy Markdown
Collaborator

@aerorahul aerorahul left a comment

Choose a reason for hiding this comment

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

works with nceplibs-xyz and ufs_utils.

@climbfuji
Copy link
Copy Markdown
Collaborator Author

works with nceplibs-xyz and ufs_utils.

Great, thanks. So, can we merge?

@aerorahul
Copy link
Copy Markdown
Collaborator

works with nceplibs-xyz and ufs_utils.

Great, thanks. So, can we merge?

I think so.

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