Repository navigation
Bugfix/ecbuild35 support - #21
Conversation
On branch feature/ecbuild35 Changes to be committed: modified: CMakeLists.txt modified: cmake/PackageConfig.cmake.in modified: src/core_atmosphere/CMakeLists.txt modified: src/core_init_atmosphere/CMakeLists.txt modified: src/core_sw/CMakeLists.txt modified: src/core_test/CMakeLists.txt modified: src/external/esmf_time_f90/CMakeLists.txt modified: src/external/ezxml/CMakeLists.txt modified: src/framework/CMakeLists.txt modified: src/operators/CMakeLists.txt modified: src/tools/input_gen/CMakeLists.txt modified: src/tools/registry/CMakeLists.txt
…cation variable from package-config file.
|
Do we absolutely need to change the project name to |
It might not be necessary, per @markjolah's previous comment. I will test the build with changing |
|
@jjguerrette @byoung-joo From a technical standpoint, you can make the name whatever you want. You just have to make sure it gets capitalized correctly everywhere universally. I changed many of the locations to use the generic variable |
|
I would probably suggest you go back to the original capitalization of |
|
Thank you for changing the name, @markjolah. Tested on Cheyenne with release and debug build of |
|
Can this be merged without changes in mpas-bundle and mpas-jedi? If so, @byoung-joo do you mind merging? |
I don't know. Let me test that on Cheyenne first. If everything looks good, I will merge this first. |
|
Hi @jjguerrette , |
|
Thank you @byoung-joo! |
|
Oh I just realized that I don't have permission to merge this PR. Perhaps |
@byoung-joo, you tested with ecbuild35? Also with old ecbuild? The only distinction is in how we leave the env-setup scripts before merging. If they remain with ecbuild35 modules on Cheyenne, then we need a follow-up issue to revert them to the default module names after the modules on Cheyenne are updated. |
|
Nevermind @byoung-joo. I got confused with mpas-bundle. |
DESCRIPTION OF CHANGES: Update for ecbuild3.5+ support. This builds on initial work by @byoung-joo. - I now use `${PROJECT_NAME}` variable everywhere appropriate to make the switch of names easier. Currently it is `MPAS`. - Fix a problem in the `PackageConfig.cmake.in` which certain properties are not present when using the `MPAS` target as an imported interface target from downstream dependencies. This should be backwards compatible with older ecbuilds also. LIST OF MODIFIED FILES: M CMakeLists.txt M cmake/PackageConfig.cmake.in M src/core_atmosphere/CMakeLists.txt M src/external/esmf_time_f90/CMakeLists.txt M src/external/ezxml/CMakeLists.txt M src/framework/CMakeLists.txt M src/operators/CMakeLists.txt M src/tools/input_gen/CMakeLists.txt M src/tools/registry/CMakeLists.txt TESTS CONDUCTED: mpasjedi ctests pass on Cheyenne with jedi/gnu-openmpi/9.1.0-v0.4.
DESCRIPTION OF CHANGES: Update for ecbuild3.5+ support. This builds on initial work by @byoung-joo.
${PROJECT_NAME}variable everywhere appropriate to make the switch of names easier. Currently it isMPAS.PackageConfig.cmake.inwhich certain properties are not present when using theMPAStarget as an imported interface target from downstream dependencies.This should be backwards compatible with older ecbuilds also.
LIST OF MODIFIED FILES:
M CMakeLists.txt
M cmake/PackageConfig.cmake.in
M src/core_atmosphere/CMakeLists.txt
M src/external/esmf_time_f90/CMakeLists.txt
M src/external/ezxml/CMakeLists.txt
M src/framework/CMakeLists.txt
M src/operators/CMakeLists.txt
M src/tools/input_gen/CMakeLists.txt
M src/tools/registry/CMakeLists.txt
TESTS CONDUCTED:
mpasjedi ctests pass on Cheyenne with jedi/gnu-openmpi/9.1.0-v0.4.