Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Nov 2015 22:15:46 +0100
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        Gerald Pfeifer <gerald@pfeifer.com>
Cc:        Anton Shterenlikht <mexas@bris.ac.uk>, fortran@freebsd.org
Subject:   Re: advice on gfortran options for a port
Message-ID:  <20151115221546.35739522@kalimero.tijl.coosemans.org>
In-Reply-To: <alpine.LSU.2.20.1511151644270.4990@anthias>
References:  <201507270953.t6R9riEg096211@mech-as222.men.bris.ac.uk> <20150729200307.5df26a3e@kalimero.tijl.coosemans.org> <alpine.LSU.2.20.1511151644270.4990@anthias>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 15 Nov 2015 20:43:21 +0100 (CET) Gerald Pfeifer <gerald@pfeifer.com> wrote:
> On Wed, 29 Jul 2015, Tijl Coosemans wrote:
>>> Trying to build (with gfortran48 to gfortran6) I get:
>>> 
>>> f951: sorry, unimplemented: Graphite loop optimizations cannot be used (ISL is not available)(-fgraphite, -fgraphite-identity, -floop-block, -floop-interchange, -floop-strip-mine, -floop-parallelize-all, -floop-unroll-and-jam, and -ftree-loop-linear)
>>> 
>>> Are these not implemented on BSD?
>>> I wonder how they build with GCC with these flags?
>>> 
>>> Anyway, should I leave all these flags, and -ggdb in the port?
>>> Or should I use the default ports tree FFLAGS instead?  
>> It seems that gcc needs to be configured with --with-isl to enable
>> Graphite.  Gerald, can this be enabled in the gcc ports?  
> 
> I just committed a patch to lang/gcc6-devel that adds a new option 
> GRAPHITE which enables support for Graphite loop optimizations and 
> am looking into pushing this back into the gcc5-devel and later 
> gcc5 ports.
> 
> Since this pulls in libisl as an additional dependency and I have 
> only seen two requests for this (including yours) so far, I'm a 
> little hesitant to make enable this option by default.
> 
> What do you think?  (Patch below.)

If upstream disables it by default it's ok to keep the port option
disabled by default too.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151115221546.35739522>