-
Notifications
You must be signed in to change notification settings - Fork 264
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 now unused cmake #2890
Remove now unused cmake #2890
Conversation
Great to see! |
This looks good, but isn't quite there. We need to sort out the subsequent lack of spacing in
and
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good but leaves undesired formatting in nc-config --libs --static
. We can't assume the end user who is invoking nc-config
will be working within a cmake
-focused ecosystem.
They'll only be in upcoming releases; I'd love to backport but we are resource constrained, unfortunately. Hopefully we'll have it out shortly! That's the goal at least. |
@WardF fixed. I replaced a thing that replaced colons with spaces that I had removed, assuming it wasn't useful |
o Added --build-system to report whether netcdf was configured using cmake or autotools. o For cmake-based installs, added an argument which will allow non-cmake projects to get traditionally formated dependancy syntax, --libs-ac-syntax.
With #2847 and the work done by @ZedThree, I believe we can now
When I make and install netcdf on a mac and linux, I don't see the
hdf5::hdf5-shared
libraries included in<install-prefix>/lib/pkgconfig/netcdf.pc
and<install-prefix>/lib/cmake/netCDF/netCDFConfig.cmake
only includes a call tofind_dependency(HDF5)
(as configured).My bet is that #2847 with its updates to finding and using hdf5, and updated hdf5 and cmake versions fixed this.
Related is a spack PR that should now be redundant, along with the filter code that I removed