[MacPorts] #62803: mpich: declare lib dependency on target compiler
MacPorts
noreply at macports.org
Mon May 3 15:55:20 UTC 2021
#62803: mpich: declare lib dependency on target compiler
---------------------+----------------------
Reporter: mascguy | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: mpich
---------------------+----------------------
While the various mpich-* subports declare a build dependency on the
target compiler, they do not declare a lib dependency for GCC subports.
The implications are that:
1. The target compiler will be installed for a source build, only to be
uninstalled during a reclaim operation.
2. For a binary install, the target compiler will never be installed. So
when a user attempts to use the associated compiler wrappers, they will
fail with "The Open MPI wrapper compiler was unable to find the specified
compiler."
This doesn't provide a good user experience. Instead, we should add a lib
dependency on the target compiler, to avoid this situation.
Of note, this is being done for Clang subports; it simply isn't for those
using GCC as a target.
--
Ticket URL: <https://trac.macports.org/ticket/62803>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list