Fortran recipe
Chris Jones
jonesc at hep.phy.cam.ac.uk
Sun Aug 25 12:15:21 PDT 2013
On 25 Aug 2013, at 8:04pm, Jeremy Huddleston Sequoia <jeremyhu at macports.org> wrote:
>
> On Aug 25, 2013, at 11:54, Chris Jones <jonesc at hep.phy.cam.ac.uk> wrote:
>
>>> I suggest that your +cocoa variants use "compiler.whitelist macports-clang-3.2 macports-clang-3.1" to force one of those compilers. Can you explain why 3.3 and Apple clang don't work?
>>
>> They do work, at least on OSX 10.8. I cannot test myself anything older, but i suspect there might be problems with the apple clang versions in older OSes.
>
> Ok, then blacklisting is the right option instead of the whitelist that I sent you. Use the blacklist versions port group and blacklist maybe {clang < 300}, {clang < 421}, or {clang < 425} depending on what works. You should append 3.2 and 3.1 to fallbacks since 3.3 will be in the blacklist (I'm still curious why that is).
So now I have
> PortGroup compiler_blacklist_versions 1.0
> # Force a compatible clang compiler
> compiler.blacklist-append {clang < 425}
> compiler.fallback-append macports-clang-3.2 macports-clang-3.1
To make this work though, I also need to black list any compiler that isn't clang, so on systems where the default system compiler isn't clang, it will fallback to the macports-clang, no ? whats the string to add to the blacklist list for this ?
cheers Chris
> --Jeremy
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2030 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20130825/438e6575/attachment.p7s>
More information about the macports-dev
mailing list