[MacPorts] #28554: hdf5-18: Enable static fortran libs and shared c/c++ libs together
#28554: hdf5-18: Enable static fortran libs and shared c/c++ libs together -----------------------------------+---------------------------------------- Reporter: eborisch@… | Owner: mmoll@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: hdf5-18 -----------------------------------+---------------------------------------- By default, hdf5 1.8 (upstream) disables shared libs on OSX whenever the fortran interface is built, but actually knows (they do it for some other compilers) how to build c/c++ shared and fortran static. The supplied portfile patch and associated patch files enable this configuration in macports. If everyone else has good luck with them (i tested on x86_64 and gcc44; {{{make test}}} passed all tests) I'll submit the change upstream. -- Ticket URL: <https://trac.macports.org/ticket/28554> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28554: hdf5-18: Enable static fortran libs and shared c/c++ libs together ------------------------------------+--------------------------------------- Reporter: eborisch@… | Owner: mmoll@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: hdf5-18 | ------------------------------------+--------------------------------------- Changes (by mmoll@…): * status: new => closed * resolution: => fixed Comment: Works for me, too. Thanks for the patches. I have committed them in r76521. Please do submit the patches upstream. -- Ticket URL: <https://trac.macports.org/ticket/28554#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28554: hdf5-18: Enable static fortran libs and shared c/c++ libs together ------------------------------------+--------------------------------------- Reporter: eborisch@… | Owner: mmoll@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: hdf5-18 | ------------------------------------+--------------------------------------- Comment(by eborisch@…): For the record, I submitted following comments upstream (http://www.hdfgroup.org/about/contact-form.html) 4/7/2011: While the shared fortran HDF5 libraries may not function on OSX, the shared C libraries certainly do. Two minor changes to the logic in will enable building static+shared C/C++ and the static Fortan libraries at the same time, as is already supported for some other compiler variations: configure[.in] : add a case to check for Darwin and then set H5_FORTRAN_SHARED="no" among the existing un-supported shared fortran compiler checks. (line 845 of configure.in) config/apple : remove the "Fortran doesn't work with shared libraries" section (lines 50-57) as this will be redundant with the above change. -- Ticket URL: <https://trac.macports.org/ticket/28554#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28554: hdf5-18: Enable static fortran libs and shared c/c++ libs together ------------------------------------+--------------------------------------- Reporter: eborisch@… | Owner: mmoll@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: hdf5-18 | ------------------------------------+--------------------------------------- Comment(by eborisch@…): Recieved this reply from the HDF5 group 4/8/2011:
I talked to the developer about this, and he said he had just resolved this issue and the fix will be HDF5-1.8.7 (due out in May).
-- Ticket URL: <https://trac.macports.org/ticket/28554#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts