#34231: ImageMagick: should not depend on pango + fix openMP ---------------------------------------+------------------------------------ Reporter: frederic.devernay@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: haspatch | Port: ImageMagick ---------------------------------------+------------------------------------ Comment(by ryandesign@…): Thank you for the additional information. While I do of course want to "do the right thing" (or the best thing) by default, users have requested the ability to turn openmp support on when it was off by default (#15945) or off when it was on by default (#24944). These users apparently feel there is value to being able to select this, so I would like to accommodate their wishes, just as I would like to accommodate the wishes you've expressed in this ticket. Although you say "IM doesn't really benefit from using OpenMP", clearly the developers of ImageMagick must disagree with you or else they wouldn't have added OpenMP support to ImageMagick, so I am trying to come up with a solution that gives users the choice if possible. It's not really important that later versions of gcc would work with openmp, since there is no supported circumstance in which ImageMagick would ever be compiled with a later version of gcc in MacPorts. The only compilers ImageMagick might be compiled with today are the ones that come with Xcode; by default those are: gcc 4.0 on Tiger and Leopard, gcc 4.2 on Snow Leopard with Xcode 3, llvm-gcc-4.2 on Xcode 4.0 and 4.1, and clang on Xcode 4.2 and up. I was not suggesting that we should allow users to compile ImageMagick with gcc and with openmp on. Rather, I was suggesting that Xcode 3 and up includes versions of llvm-gcc-4.2 and clang. Although the default compiler for Xcode 3 is a version of gcc, we could set ImageMagick to compile with llvm-gcc-4.2 or clang instead, thereby allowing openmp to function properly. Assuming the old versions of llvm-gcc-4.2 or clang in Xcode 3 work well enough to compile ImageMagick at all, we could either switch the compiler unconditionally, or conditionally only when openmp support is requested. If necessary we could even make ImageMagick install the clang-3.0 port and use that to compile ImageMagick, though since that's a rather heavy dependency it would be best to avoid that if possible. -- Ticket URL: <https://trac.macports.org/ticket/34231#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS