Which compiler for OpenMP

Adam Mercer ram at macports.org
Tue Nov 25 14:59:33 PST 2014


Hi

For one of my ports I need to ensure it's built with a compiler that
supports OpenMP, so that rules out clang. Currently I have the
following in my Portfile:

compiler.blacklist *gcc-4.2 *clang*
compiler.fallback macports-gcc-4.9 macports-gcc-4.8 macports-gcc-4.7
compiler.fallback-append macports-gcc-4.6 macports-gcc-4.5 macports-gcc-4.4
compiler.fallback-append macports-gcc-4.3

But I'm wondering, before I commit, if there's a clearer/better way of
doing this?

Any suggestions?

Cheers

Adam


More information about the macports-dev mailing list