[Mesa-dev] [Mesa-stable] [PATCH] [RFC] gallivm: Use new LLVM fast-math-flags API

Michel Dänzer michel at daenzer.net
Mon Mar 5 11:02:43 UTC 2018


On 2018-03-05 09:51 AM, Alex Smith wrote:
> Hi Emil,
> 
> On 2 March 2018 at 18:38, Emil Velikov <emil.l.velikov at gmail.com
> <mailto:emil.l.velikov at gmail.com>> wrote:
> 
>     Hi Alex,
> 
>     On 28 February 2018 at 15:25, Alex Smith
>     <asmith at feralinteractive.com <mailto:asmith at feralinteractive.com>>
>     wrote:
>     > Hi,
>     >
>     > Could this (commit 5d61fa4e68b7eb6d481a37efdbb35fdce675a6ad on master) be
>     > backported to the 17.3 branch to allow it to build with LLVM 6?
>     >
>     Normally we don't aim to support LLVM versions released after the .0
>     Mesa release is out.
>     Not that we don't want to - there is simply not enough testing
>     happening.
> 
>     Sometimes picking the odd build fix is enough, but not always.
> 
> 
> From my (not particularly extensive) testing, with just this compile fix
> radeonsi and radv appear to work OK (radeonsi is functional enough to
> run my desktop and radv can run a full game).

Mesa 17.3 branched off master on 2017-10-23.

LLVM 6 branched off trunk on 2018-01-03.

In the ~2.5 months between, there could have been any number of
backwards incompatible changes in LLVM trunk, which aren't accounted for
in Mesa 17.3.


> It'd be nice to have it able to compile, even if not officially supported.

I think it's safer to make it clear that Mesa 17.3 doesn't and can't
support LLVM 6.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the mesa-dev mailing list