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

Remove unused cmake macros #40

Merged
merged 1 commit into from
Jul 31, 2020

Conversation

climbfuji
Copy link
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
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
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
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
Collaborator

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

@climbfuji
Copy link
Collaborator Author

climbfuji commented Jul 29, 2020 via email

@kgerheiser
Copy link
Contributor

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

@climbfuji
Copy link
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
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
Collaborator Author

climbfuji commented Jul 29, 2020 via email

@aerorahul
Copy link
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
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
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
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
Collaborator

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

Copy link
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
Collaborator Author

works with nceplibs-xyz and ufs_utils.

Great, thanks. So, can we merge?

@aerorahul
Copy link
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