Date: Tue, 30 May 2006 05:03:53 GMT From: "Pedro F. Giffuni" <giffunip@asme.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/98124: Minor cleanup on science/elmer-fem Message-ID: <200605300503.k4U53rq0033042@www.freebsd.org> Resent-Message-ID: <200605300510.k4U5ABcI017143@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 98124 >Category: ports >Synopsis: Minor cleanup on science/elmer-fem >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue May 30 05:10:10 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Pedro F. Giffuni >Release: 6.1-Release (amd64) >Organization: >Environment: FreeBSD etoile.cable.net.co 6.1-RELEASE FreeBSD 6.1-RELEASE #1: Fri May 12 00:18:58 COT 2006 root@etoile.cable.net.co:/usr/src/sys/amd64/compile/DIMENSION amd64 >Description: - Fix a minor issue with FCFLAGS so more agressive optimizations are possible. - This change follows the spirit of ports/98109 to elmer-mathlibs however no WITH_MPI knob is offered because it doesn't work until gcc41/gfortran are the default compilers. - The gfortran port claims to be experimental so while a knob for OPTIMIZED_FLAGS is provided (and such a thing makes sense in this module) it is not encouraged. >How-To-Repeat: >Fix: diff -ruN elmer-fem.orig/Makefile elmer-fem/Makefile --- elmer-fem.orig/Makefile Mon May 29 15:20:06 2006 +++ elmer-fem/Makefile Mon May 29 21:21:00 2006 @@ -29,9 +29,13 @@ FC= ${LOCALBASE}/bin/gfortran41 F77= ${FC} +.ifdef WITH_OPTIMIZED_FLAGS +FCFLAGS+= -O3 -ffast-math -funroll-loops +.endif + USE_AUTOTOOLS= autoconf:259 GNU_CONFIGURE= yes -CONFIGURE_ENV+= FC=${FC} F77=${FC} FCFLAGS=${FCFLAGS} +CONFIGURE_ENV+= FC=${FC} F77=${FC} FCFLAGS="${FCFLAGS}" USE_GMAKE= yes ALL_TARGET= INSTALLS_SHLIB= yes >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605300503.k4U53rq0033042>