[MacPorts] #64379: lapack @3.10.0: cmake files in wrong location
MacPorts
noreply at macports.org
Mon Jan 10 12:35:33 UTC 2022
#64379: lapack @3.10.0: cmake files in wrong location
------------------------+--------------------
Reporter: lepus2589 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords:
Port: lapack |
------------------------+--------------------
Comment (by lepus2589):
The {{{CMAKE_INSTALL_LIBDIR}}} variable is responsible for this.
Unfortunately, the LAPACK project does not provide a way to install the
cmake files only into a different subdirectory. Also, it does not provide
a way to install files belonging to the three libraries (BLAS, LAPACK,
LAPACKE) into different folders. The project does this for the cmake
files, but not for the header files or library files.
The only solution I can see to make this work is to remove the port name
from the {{{CMAKE_INSTALL_INCLUDEDIR}}}, the {{{CMAKE_INSTALL_LIBDIR}}}
and the {{{CMAKE_INSTALL_RPATH}}}. As long as the three libraries provided
by the LAPACK project are put under a common {{{lapack}}} folder, the
cmake autodiscovery won't work.
The {{{CMAKE_INSTALL_NAME_DIR}}} can be removed, as far as I can see. It
is not used in the LAPACK build process.
--
Ticket URL: <https://trac.macports.org/ticket/64379#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list