tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/mk/compiler



Thomas Klausner <wiz%NetBSD.org@localhost> writes:

> On Mon, Mar 30, 2020 at 09:39:24AM +0000, Nia Alarie wrote:
>> Module Name:	pkgsrc
>> Committed By:	nia
>> Date:		Mon Mar 30 09:39:24 UTC 2020
>> 
>> Modified Files:
>> 	pkgsrc/mk/compiler: clang.mk gcc.mk
>> 
>> Log Message:
>> mk/compiler: Make gfortran the default fortran compiler.
>> 
>> Discussed on tech-pkg@ before freeze.
>
> My bulk builds now pull in gcc8 on 9.99.52/amd64 which comes with gcc
> 8.4.0.
>
> AFAICT this comes from math/coinmp and devel/libtool-fortran, which
> set "fortran" in USE_LANGUAGES.
>
> Does this need to use gcc8 from pkgsrc or can it use gcc8 from base?

Yes, because gcc8 in base does not include fortran.  I am pretty sure
that if there is /usr/bin/gfortran then it would have been used, and if
not we can fix that.

(Maybe we should build fortran as part of base.)


Home | Main Index | Thread Index | Old Index