[MacPorts] #24944: ImageMagick 6.6.1-5_0 Need no-openmp variant

MacPorts noreply at macports.org
Wed Nov 6 15:12:32 UTC 2019


#24944: ImageMagick 6.6.1-5_0 Need no-openmp variant
--------------------------+------------------------------
  Reporter:  kingjc@…     |      Owner:  ryandesign
      Type:  enhancement  |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  1.8.2
Resolution:               |   Keywords:  openmp, haspatch
      Port:  ImageMagick  |
--------------------------+------------------------------

Comment (by kencu):

 In [changeset:"d86e7e1adc21d0aa50370306f404253350dd93fb/macports-ports"
 d86e7e1adc21d0aa50370306f404253350dd93fb/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="d86e7e1adc21d0aa50370306f404253350dd93fb"
 ImageMagick: explicity disable openmp

 ImageMagick's openmp detection is not working correctly with clang,
 particularly with llvm clang versions newer than 4.0.

 see: https://trac.macports.org/ticket/57009

 Although Apple's clang just indicates openmp is not supported,
 llvm's newer clang versions pass the openmp test, but in the end
 are misconfigured by inserting -gomp into the pkg-config link flags.

 Even when this is corrected to -lomp, the implementation is flawed, and
 the
 libomp libraries cannot be found by the default ImageMagick pkg-config
 libs.

 Finally, if ImageMagick were built with an openmp-supporting clang, such
 as
 macports-clang-8.0, and if the link issues were properly sorted out, the
 implementation and support is compiler dependent and the pkg-config files
 may not match the capabilities of the compiler that attempts to compile
 against
 openmp in ImageMagick if it is not the same or a similar compiler.

 Until this is properly sorted out, explicitly disable openmp on
 ImageMagick,
 which prevents incorrect pkg-config link libraries from being specified
 when the compiler is a mp-clang compiler.

 Once a workable plan is in place, a variant to enable openmp can be
 considered.

 see: https://trac.macports.org/ticket/24944
 }}}

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


More information about the macports-tickets mailing list