Snow Leopard compilers

David Strubbe dstrubbe at macports.org
Thu Jun 9 11:06:45 PDT 2016


Thanks for the info, Mojca. I understand the situation now, though I would
certainly be in favor of handling this more clearly in base as you
outlined. That worked. (inevitably, it turns out clang-3.4 which was taken
instead has its own different problem on that code...)

David

On Thu, Jun 9, 2016 at 1:11 PM, Mojca Miklavec <mojca at macports.org> wrote:

> On 9 June 2016 at 19:07, Mojca Miklavec wrote:
> >
> > There is probably not much interest in this issue and there is an easy
> > workaround, but I would also kind of agree that blacklisting "*gcc*"
> > should probably also blacklist clang/llvm-gcc on 10.6.
>
> Once again me ...
>
> This is probably the relevant part of the source
> (if {[string match $pattern $compiler]}):
>
>
> # internal function to determine the default compiler
> proc portconfigure::configure_get_default_compiler {} {
>     if {[option compiler.whitelist] ne ""} {
>         set search_list [option compiler.whitelist]
>     } else {
>         set search_list [option compiler.fallback]
>     }
>     foreach compiler $search_list {
>         set allowed yes
>         foreach pattern [option compiler.blacklist] {
>             if {[string match $pattern $compiler]} {
>                 set allowed no
>                 break
>             }
>         }
>
> Should we or should we not introduce more complexity to blacklist
> "clang" with xcode < 4 (= whenever clang++ doesn't exist) when "gcc"
> is blacklisted?
>
> Mojca
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20160609/451be9a8/attachment-0001.html>


More information about the macports-dev mailing list