Fortran recipe

Joshua Root jmr at macports.org
Sun Aug 25 21:14:41 PDT 2013


On 2013-8-26 05:17 , Ryan Schmidt wrote:
> 
> On Aug 25, 2013, at 14:15, Chris Jones wrote:
> 
>> 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 ?
> 
> compiler.blacklist-append apple-gcc-4.0 apple-gcc-4.2 gcc-3.3 gcc-4.0 gcc-4.2 llvm-gcc-4.2 macports-gcc-4.2 macports-gcc-4.3 macports-gcc-4.4 macports-gcc-4.5 macports-gcc-4.6 macports-gcc-4.7 macports-gcc-4.8 macports-gcc-4.9 macports-llvm-gcc-4.2

At that point it's a lot easier to just do:

compiler.fallback	clang macports-clang-3.2 macports-clang-3.1
compiler.blacklist	{clang < 425}

(although there's not even any point having macports-clang-3.1 in there
since macports-clang-3.2 can always be installed.)

- Josh


More information about the macports-dev mailing list