-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fortran libraries #39
Comments
I think this is an interesting suggestion. Would you be willing to submit a PR that implements this? |
I can put up my code to run cmake? I think the libhdf.so and libmfhdf.so generated are functionally identical to those produced by the current repository. This opinion came from running the cmake compile, deleting everything in the conda hdf4 package, packaging the remainder, then checking if code compiles using both packages. Issues with my code are,
|
Yes, I think you could submit a PR here with a cmake-based build.
This sounds very encouraging.
I think we could just hardcode this. conda-forge seems to use gcc 12 currently, so
I think we can just start with the ctest method for now (which hdf4 recommends using anyway). No need to rewrite it to an explicit cmake (unless there are some compelling reasons to do it). |
Out of curiosity, what's the issue when building shared libs and Fortran with configure? |
The script literally won't let you: |
Comment:
Has the team considered building the Fortran libraries? I develop a Fortran program that analyses HDF-EOS2 files and so have been building HDF4 (and everything that depends on it) myself.
I know that the
configure
installation you currently use doesn't support building shared libraries at the same time as Fortran links, but it is possible with thecmake
installation (which I have working within conda build). That produces differently named libraries, but someone that knows the C library might be able to help me work out how to collapse those into equivalents of your current install.If I'm alone in wanting the Fortran hooks, I'll just keep managing my own affairs.
The text was updated successfully, but these errors were encountered: