[HEADSUP][CFT] New compiler USES flag, please test, review comment

Baptiste Daroussin bapt at freebsd.org
Tue Sep 17 06:53:25 UTC 2013


On Mon, Sep 16, 2013 at 09:56:50PM +0300, David Naylor wrote:
> On Friday 13 September 2013 15:17:53 Baptiste Daroussin wrote:
> > Hi,
> 
> Hi,
> 
> > Given how old our gcc in base is and the work done on clang and libc++.
> > 
> > It is becoming complicating to make some ports properly working on all
> > supported version of FreeBSD.
> > 
> > To help in that I would like to propose a new USES:
> > compiler
> > 
> > http://people.freebsd.org/~bapt/compiler.mk.txt
> 
> Would it be possible to add a quirks ability.  For example PyPy triggers the 
> GCC memory bug for the gcc in base, so it needs any compiler (clang or gcc) as 
> long as gcc is 4.3+.  
> 
> Regards

What about USES=	compiler:modern

using clang from base if > 3.3
using clang from ports otherwise
falling back on gcc from ports if the user specify he does prefer gcc?

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130917/4101a511/attachment.sig>


More information about the freebsd-ports mailing list