[Libreoffice] [UNPUSHED][PATCH] Fix building bridge with -mavx

Norbert Thiebaud nthiebaud at gmail.com
Thu Aug 4 07:46:09 PDT 2011


2011/8/4 Tomáš Chvátal <tchvatal at novell.com>:
> Dne 3.8.2011 18:41, Norbert Thiebaud napsal(a):
>>
>> Ok so now I read the patch...
>>
>> Did it work for you ?
>>
>> 1/ it seems to me that it is missing a piece to put that HAVE_GCC_AVX
>> in Env.Host.sh (see set_soenv.in)
>> without that the second patch will never see it
>>
>> 2/ the makefile patches in the second patch are dmake makefile so the
>> syntax is more something like
>>
>> .IF "$(HAVE_GCC_AVX)" == "YES"
>> [...]
>> .ENDIF
>>
>> take a look at HAVE_GCC_NO_LONG_DOUBLE
>> and how it is set-up in configure.in/set_soenv.in and used later in
>> the makefiles...
>>
>> Norbert
>
> Ok I wrote it how I think it should work and triggered the build so I will
> have the results of it in 24 hours.

You don't need a full build to do some check:
you can run autogen.sh and then look at EnvHost.sh to verify that
HAVE_GCC_AVX is set as expected

Norbert


More information about the LibreOffice mailing list