compilers PortGroup

Mark Brethen mark.brethen at gmail.com
Thu Jul 7 03:19:48 UTC 2022


The Spooles library is written in C language and has multi-threading subroutines.

Mark Brethen
mark.brethen at gmail.com



> On Jul 6, 2022, at 5:06 PM, Joshua Root <jmr at macports.org> wrote:
> 
> On 2022-7-7 07:40 , Mark Brethen wrote:
>> The source is a combination of C and fortran, so a C-compiler with fortran is needed-preferably gcc. The gcc8 build is the only one that does not issue those warnings. But I have successfully run verification test cases packaged with the source against gcc8, gcc9, gcc11 and gfortran builds.
>> The compilers PortGroup sets gfortran by default with these settings:
>> compilers.choose    fc cc
>> compilers.setup     require_fortran -g95 -clang
>> But it uses clang to compile the C-code. I tried blacklisting clang but then it wants to install clang-14. Choosing a gcc variant uses its associated mp-gfortan compiler.
> 
> Yes, +gfortran is there to only give you a fortran compiler (because clang doesn't have one). Is there a reason you need the C code to be compiled with gcc?
> 
> - Josh



More information about the macports-dev mailing list