Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 May 2012 01:17:28 +0200
From:      Jan Beich <jbeich@tormail.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/167721: [patch] graphics/gegl: use SSE/MMX on amd64
Message-ID:  <1SRuIp-0002He-5u@internal.tormail.org>
Resent-Message-ID: <201205090000.q4900b6u010095@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         167721
>Category:       ports
>Synopsis:       [patch] graphics/gegl: use SSE/MMX on amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 09 00:00:37 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Jan Beich
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
>Description:
>How-To-Repeat:
--- vanilla
+++ patched
@@ -138,6 +139,12 @@ checking for dynamic library filename su
 checking for some Darwin platform... no
 checking for some Win32 platform... no
 checking for native Win32... no
+checking to see if compiler understands -mmmx... yes
+checking whether we can compile MMX code... yes
+checking to see if compiler understands -msse... yes
+checking to see if compiler understands -ftree-vectorize... yes
+checking to see if compiler understands -ffast-math... yes
+checking whether we can compile SSE code... yes
 checking for perl5... /usr/local/bin/perl5
 checking for pkg-config... /usr/local/bin/pkg-config
 checking pkg-config is at least version 0.9.0... yes
@@ -281,7 +288,7 @@ Optional features:
   GEGL docs:       no
   Build workshop:  no
   Build website:   no  (asciidoc not found)
-  SIMD:            sse: mmx:
+  SIMD:            sse:yes mmx:yes
   Vala support:    no
 
 Optional dependencies:

>Fix:
--- amd64.diff begins here ---
Index: graphics/gegl/Makefile
===================================================================
RCS file: /a/.csup/ports/graphics/gegl/Makefile,v
retrieving revision 1.32
diff -u -p -r1.32 Makefile
--- graphics/gegl/Makefile	14 Mar 2012 15:24:09 -0000	1.32
+++ graphics/gegl/Makefile	8 May 2012 21:44:23 -0000
@@ -182,6 +188,7 @@ post-patch:
 	${REINPLACE_CMD} -e '10s|\\||; 11,13d' ${WRKSRC}/Makefile.am
 .endif
 	${REINPLACE_CMD} -e 's|-T||' ${WRKSRC}/docs/Makefile.am ${WRKSRC}/docs/Makefile.in
+	${REINPLACE_CMD} -e 's|x86_64|amd64|g' ${WRKSRC}/configure
 	${REINPLACE_CMD} -e 's|\(lua\)\(5\.1\)|\1-\2|g' ${WRKSRC}/configure
 	${REINPLACE_CMD} -e 's|/usr/bin/ruby|/usr/bin/env ruby|' ${WRKSRC}/tools/gobj2dot.rb
 
--- amd64.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1SRuIp-0002He-5u>