ports/167721: [patch] graphics/gegl: use SSE/MMX on amd64
Jeremy Messenger
mezz.freebsd at gmail.com
Sun May 20 20:30:13 UTC 2012
The following reply was made to PR ports/167721; it has been noted by GNATS.
From: Jeremy Messenger <mezz.freebsd at gmail.com>
To: Jan Beich <jbeich at tormail.org>
Cc: mezz at freebsd.org, bug-followup at freebsd.org
Subject: Re: ports/167721: [patch] graphics/gegl: use SSE/MMX on amd64
Date: Sun, 20 May 2012 15:20:00 -0500
On Sun, May 20, 2012 at 3:04 PM, Jan Beich <jbeich at tormail.org> wrote:
> mezz at FreeBSD.org writes:
>
>> The patch does not work and I have amd64 here. I am getting here:
>>
>> ----------------------
>> # make configure
>> [...]
>> Building GEGL with prefix=3D/usr/local
>>
>> Optional features:
>> =A0 GEGL docs: =A0 =A0 =A0 no
>> =A0 Build workshop: =A0no
>> =A0 Build website: =A0 no =A0(asciidoc not found)
>> =A0 SIMD: =A0 =A0 =A0 =A0 =A0 =A0sse:no mmx:no <-- here, both are still =
disabled.
>> =A0 Vala support: =A0 =A0no
>
> I'm afraid you have to provide config.log for me to debug why compile
> checks fail. configure.ac has the following logic:
>
> =A0# s/x86_64/amd64/
> =A0case "$target_or_host" in
> =A0 =A0x86_64-*-*)
> =A0 =A0 =A0have_x86=3Dyes
> =A0 =A0 =A0;;
> =A0esac
>
> =A0AC_ARG_ENABLE(mmx, ...,, enable_mmx=3D$have_x86)
> =A0AC_ARG_ENABLE(sse, ...,, enable_sse=3D$enable_mmx)
>
> =A0if test "x$enable_mmx" =3D "xyes"; then
> =A0 =A0 AC_COMPILE_IFELSE(<mmx check>,
> =A0 =A0 =A0 if test "x$enable_sse" =3D "xyes"; then
> =A0 =A0 =A0 =A0 =A0 AC_COMPILE_IFELSE(<sse check>,, enable_sse=3Dno)
> =A0 =A0 =A0 fi
> =A0 =A0 , enable_mmx=3Dno)
> =A0fi
>
> Also, there is no point in testing with OPTIMIZE turned OFF.
Ah, I didn't even notice that OPTIMIZE option! It does work when I
have it enables. I will commit it soon.
Cheers,
Mezz
--=20
mezz.freebsd at gmail.com - mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gnome at FreeBSD.org
More information about the freebsd-gnome
mailing list