[MacPorts] #61327: py-rpy2 build fails with clang: error: unsupported option '-fopenmp'
MacPorts
noreply at macports.org
Thu Oct 15 23:47:07 UTC 2020
#61327: py-rpy2 build fails with clang: error: unsupported option '-fopenmp'
------------------------+----------------------
Reporter: essandess | Owner: stromnov
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Resolution: | Keywords:
Port: py-rpy2 |
------------------------+----------------------
Comment (by kencu):
Here we go. Once we open up the openmp can of worms, we have to follow
whereever it all leads. This means sorting out that anything that leaves
flags behind in pkgconfig files, etc, needs to somehow always force an
openmp compiler to be used with anything that might ever access those
pkgconfig files, and we have no such mechanism in place at present.
And because no Apple clang compilers can use the openmp flags, they all
fail.
And Ryan has made it clear he does not want every build to be forced to a
macports clang compiler as that causes the drives on the buildbots to die
prematurely due to all the installing and uninstalling of macports-
clang-9.0 (or whichever is the head of the line at that time).
And this is indeed how we came to disable openmp in virtually all builds,
until Apple clangs supported openmp (which we all thought might happen
before now, but has not happened).
I would suggest we go back to disabling openmp for 99.99% of cases, unless
people can sort this out for a specific lonely build, in a specific case,
that can affect no other software.
--
Ticket URL: <https://trac.macports.org/ticket/61327#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list