compilers PortGroup

Mark Brethen mark.brethen at gmail.com
Sat Jul 2 23:20:08 UTC 2022


This port does not have config, so I’m having to pass the build args. How do I specify a gcc (gfortran) compiler? Clang doesn’t work.

Thanks,
Mark



> On Jul 2, 2022, at 2:21 PM, Mark Brethen <mark.brethen at gmail.com> wrote:
> 
> Still not working…
> <main.log>
> 
> 
> Mark Brethen
> mark.brethen at gmail.com
> 
> 
> 
>> On Jul 2, 2022, at 2:15 PM, Mark Brethen <mark.brethen at gmail.com> wrote:
>> 
>> I should have looked at the active-variants tcl:
>> 
>> require_active_variants arpack accelerate mpich
>> 
>> should be
>> 
>> require_active_variants arpack "accelerate mpich"
>> 
>> Mark Brethen
>> mark.brethen at gmail.com
>> 
>> 
>> 
>>> On Jul 2, 2022, at 1:48 PM, Mark Brethen <mark.brethen at gmail.com> wrote:
>>> 
>>> Attaching log
>>> <main.log>
>>> 
>>> Mark
>>> 
>>> 
>>> 
>>>> On Jul 2, 2022, at 9:22 AM, Mark Brethen <mark.brethen at gmail.com> wrote:
>>>> 
>>>> I looked at the compilers PortGroup tcl but can’t figure out how to set up gcc (for gfortran). I tried setting "compilers.choose cc” and “compilers.setup require_fortran” but it continues to use clang.
>>>> 
>>>> Thanks
>>>> Mark
>>>> 
>>>> 
>>> 
>> 
> 



More information about the macports-dev mailing list