[MacPorts] #61327: py-rpy2 build fails with clang: error: unsupported option '-fopenmp'

MacPorts noreply at macports.org
Thu Oct 15 23:37:45 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 chrstphrchvz):

 I don't see in rpy2 source code where it uses OpenMP, so I'm not sure
 whether it should be forced to use an OpenMP-capable compiler (by setting
 `compiler.openmp_version`). I wonder if this is due to the `+openmp`
 variant recently added and made default in the `R` port (#61256) and if
 that is leaving behind `-fopenmp` as a flag for R extensions to compile
 with (possibly assuming that extensions will be compiled using the same
 compiler as R itself).

-- 
Ticket URL: <https://trac.macports.org/ticket/61327#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list