Another (possible?) bug we are seeing in our use of ecbuild. Namely, we want to nest ecbuild projects and we were seeing an issue. I'll attach a reproducer (ecbuild-reproducer.tar.gz) that shows the issue.
When you build the reproducer with the develop ecbuild, the resulting .cmake files look like:
If you cmake .. and make install you should be able to verify. I'm also attaching a little "super" project that echoes why we need the fix:
super.tar.gz
Thanks! The issue comes from the fact that ecbuild_system in included only in the parent project, which is fine as long as you do not intend to use the child project on its own.
Another (possible?) bug we are seeing in our use of ecbuild. Namely, we want to nest ecbuild projects and we were seeing an issue. I'll attach a reproducer (ecbuild-reproducer.tar.gz) that shows the issue.
When you build the reproducer with the
develop
ecbuild, the resulting.cmake
files look like:As you can see, the child project has config files named
parent
. We have a fix such that when you install you get:Here is our reproducer: ecbuild-reproducer.tar.gz
If you
cmake ..
andmake install
you should be able to verify. I'm also attaching a little "super" project that echoes why we need the fix: super.tar.gz