[Mesa-dev] [PATCH V2] mesa: Permanently enable features supported by target CPU at compile time.

Siavash Eliasi siavashserver at gmail.com
Fri Nov 14 10:35:46 PST 2014

On 11/10/2014 04:28 AM, Emil Velikov wrote:
> On 09/11/14 04:37, Siavash Eliasi wrote:
>> On 11/08/2014 09:55 PM, Emil Velikov wrote:
> [...]
>>> Can you confirm that it does not cause issues with "interesting" setups
>>> such as https://bugs.freedesktop.org/show_bug.cgi?id=71547
>> Challenge accepted! What my patch is doing is to check for provided
>> compile flags (-msse, ...) on compile time (__SSE__, ...) and set
>> "cpu_has_sse" macro to "1" which allows any sane compiler to turn this
>> pieces of code:
> I'm not sure did you just said that you've checked it, or that's what it
> ought to do ? There is a reason why I'm so picky - this bizarre (as one
> might call it) setup is just the tip of the iceberg when it comes to
> people building mesa themselves.
> Would be nice to get your patch in as long as it does not break stuff :)
> -Emil

I tried building with same CFLAGS in that bug report, no build failures; 
ofcourse after applying this patch:

Best regards,
Siavash Eliasi.

>> Best regards,
>> Siavash Eliasi.

More information about the mesa-dev mailing list