Date: Wed, 26 May 2004 23:48:00 -0400 (EDT) From: michael johnson <ahze@ahze.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/67244: [MAINTAINER] math/fftw3: [add WITH_SSE knob] Message-ID: <20040527034800.33CAC694C@ahze.ahze.net> Resent-Message-ID: <200405270350.i4R3oQBI084523@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 67244 >Category: ports >Synopsis: [MAINTAINER] math/fftw3: [add WITH_SSE knob] >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: Wed May 26 20:50:25 PDT 2004 >Closed-Date: >Last-Modified: >Originator: michael johnson >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #45: Mon May 3 05:09:04 EDT >Description: - Add WITH_SSE knob - misc CFLAGS cleanup WITH_SSE was requested by mmihai@delajii.net Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: >Fix: --- fftw3-3.0.1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/math/fftw3/Makefile,v retrieving revision 1.18 diff -u -r1.18 Makefile --- Makefile 18 Apr 2004 10:48:22 -0000 1.18 +++ Makefile 27 May 2004 03:44:38 -0000 @@ -31,21 +31,27 @@ OPTIONS= OPTIMIZED_CFLAGS "Enable optimized CFLAGS" off \ OPTIMIZED_ATHLON "Enable AMD K7(Athlon) optimizations" off \ + SSE "Enable SSE optimized routines" off \ SMP_THREADS "Enable FFTW SMP threads library" off .include <bsd.port.pre.mk> .if defined(WITH_OPTIMIZED_CFLAGS) && !defined(WITH_OPTIMIZED_ATHLON) -CONFIGURE_ENV+= CFLAGS="${CFLAGS} -O2 -ffast-math -fomit-frame-pointer" +CONFIGURE_ENV+= CFLAGS="${CFLAGS:N-O[0-9]:N-O} -O2 -ffast-math -fomit-frame-pointer" .endif .if defined(WITH_OPTIMIZED_ATHLON) CONFIGURE_ARGS+=--enable-k7 -CONFIGURE_ENV+= CFLAGS="${CFLAGS} -O3 -fomit-frame-pointer -fno-schedule-insns \ +CONFIGURE_ENV+= CFLAGS="${CFLAGS:N-O[0-9]:N-O} -O3 -fomit-frame-pointer -fno-schedule-insns \ -malign-double -fstrict-aliasing -mpreferred-stack-boundary=4 \ -ffast-math" .endif +.if defined(WITH_SSE) +CONFIGURE_ENV+= CFLAGS="${CFLAGS:N-O[0-9]:N-O} -O2 " +CONFIGURE_ARGS+=--enable-sse --with-our-malloc16 --enable-single +.endif + .if defined(WITH_SMP_THREADS) CONFIGURE_ARGS+=--enable-threads .endif --- fftw3-3.0.1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040527034800.33CAC694C>