[MacPorts] #61390: compiler.openmp_version doesn't set configure.ldflags -L${prefix}/lib/libomp -lomp with port groups cmake+python
MacPorts
noreply at macports.org
Sat Oct 31 09:44:26 UTC 2020
#61390: compiler.openmp_version doesn't set configure.ldflags
-L${prefix}/lib/libomp -lomp with port groups cmake+python
-------------------------+------------------------------
Reporter: essandess | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.6.3
Keywords: openmp, omp | Port: py-faiss, libomp
-------------------------+------------------------------
{{{compiler.openmp_version 2.5}}} doesn't set {{{configure.ldflags
-L${prefix}/lib/libomp -lomp}}} in a Portfile that also uses port groups
{{{cmake}}} and {{{python}}}.
It is necessary to add these flags explicitly to avoid a linking error.
Reference:
https://github.com/macports/macports-
ports/pull/7514#issuecomment-719904216
--
Ticket URL: <https://trac.macports.org/ticket/61390>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list