From owner-freebsd-fortran@freebsd.org Sun Nov 15 21:15:58 2015 Return-Path: Delivered-To: freebsd-fortran@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 84306A2F143 for ; Sun, 15 Nov 2015 21:15:58 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 69EAE104C for ; Sun, 15 Nov 2015 21:15:58 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 67E05A2F142; Sun, 15 Nov 2015 21:15:58 +0000 (UTC) Delivered-To: fortran@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 67788A2F141 for ; Sun, 15 Nov 2015 21:15:58 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay106.isp.belgacom.be (mailrelay106.isp.belgacom.be [195.238.20.133]) by mx1.freebsd.org (Postfix) with ESMTP id 06D30104B for ; Sun, 15 Nov 2015 21:15:57 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2CSBgDF9EhW/zhosVtVCYM7gUK+XoFkhhACgSI7EgEBAQEBAQGBCoQ1AQEEOhwjEAsYCSUPKh4GE4gyAbhAAQEBAQEBBAEBAQEfi1KEMYUIBZZIjR9lm2goDC+EBT00hUsBAQE Received: from 56.104-177-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.177.104.56]) by relay.skynet.be with ESMTP; 15 Nov 2015 22:15:49 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.15.2/8.15.2) with ESMTP id tAFLFlhv004834; Sun, 15 Nov 2015 22:15:48 +0100 (CET) (envelope-from tijl@FreeBSD.org) Date: Sun, 15 Nov 2015 22:15:46 +0100 From: Tijl Coosemans To: Gerald Pfeifer Cc: Anton Shterenlikht , fortran@freebsd.org Subject: Re: advice on gfortran options for a port Message-ID: <20151115221546.35739522@kalimero.tijl.coosemans.org> In-Reply-To: References: <201507270953.t6R9riEg096211@mech-as222.men.bris.ac.uk> <20150729200307.5df26a3e@kalimero.tijl.coosemans.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fortran@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2015 21:15:58 -0000 On Sun, 15 Nov 2015 20:43:21 +0100 (CET) Gerald Pfeifer 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.