Skip to content

Conversation

@singhbalwinder
Copy link
Collaborator

While compiling EAMxx using CIME, the model failed with the following error:

make[5]: *** No rule to make target '/pscratch/sd/..../bld/cmake-bld/externals/ekat/../yaml-cpp/libyaml-cppd.a', needed by 'ext/CMakeFiles/ext_libraries'.  Stop.

This PR fixes this error by changing cmake logic by removing the explicit mention of the libraries needed by EKAT.

# This target can be used as a dependency to ensure all above libraries are
# built before proceeding.
add_custom_target(ext_libraries DEPENDS ${HAERO_EXT_LIBRARIES})
add_library(ext_libraries INTERFACE)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Before this line, you can add a comment like

# This target represents all external libraries needed by Haero and its dependents.

Copy link
Collaborator

@jeff-cohere jeff-cohere left a comment

Choose a reason for hiding this comment

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

Thanks, Balwinder!

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.

4 participants