[MacPorts] #71348: hdf5 +mpich fails to pass cppflag pointing to MPICH headers
MacPorts
noreply at macports.org
Mon Feb 10 18:11:14 UTC 2025
#71348: hdf5 +mpich fails to pass cppflag pointing to MPICH headers
---------------------------+----------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.10.4
Resolution: | Keywords:
Port: hdf5, kealib |
---------------------------+----------------------
Comment (by eborisch):
The flags and libraries are baked into the compiler wrappers:
For example
{{{
$ h5pcc -show
/opt/local/bin/mpicc-mpich-mp
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
-L/opt/local/lib /opt/local/lib/libhdf5_hl.a /opt/local/lib/libhdf5.a
-Wl,-headerpad_max_install_names -Wl,-ld_classic
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
/opt/local/lib/libaec/lib/libsz.dylib /opt/local/lib/libz.dylib -ldl -lm
$ /opt/local/bin/mpicc-mpich-mp -show
/usr/bin/clang
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
-I/opt/local/include/mpich-mp -L/opt/local/lib/mpich-mp -lmpi -lpmpi
}}}
--
Ticket URL: <https://trac.macports.org/ticket/71348#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list