Date: Thu, 14 Jul 2011 01:10:39 GMT From: Stephen Hurd <shurd@sasktel.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/158881: comms/fldigi: Does not support CPU optimizations Message-ID: <201107140110.p6E1AdDD016727@red.freebsd.org> Resent-Message-ID: <201107140120.p6E1K80C085478@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 158881 >Category: ports >Synopsis: comms/fldigi: Does not support CPU optimizations >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jul 14 01:20:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Stephen Hurd >Release: 8.2-RELEASE >Organization: >Environment: FreeBSD stephen.hurd.local 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: The fldigi build system supports CPU optimizations, but the port does not. This results in a fldigi running significantly slower than possible. >How-To-Repeat: Run ``make configure'' and view the output >Fix: Add an option to enable native optimizations like so: OPTIONS= NATIVE_OPT "Enable Native Optimizations" off .include <bsd.port.pre.mk> .if defined(WITH_NATIVE_OPT) CONFIGURE_ARGS+=--enable-optimizations=native .else CONFIGURE_ARGS+=--enable-optimizations=none .endif I performed this with my local copy and the resulting binary runs with significantly less load (I also upated to .12) Sorry I don't have a patch, but I didn't back up the original Makefile. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107140110.p6E1AdDD016727>