[Mesa-dev] Building Mesa GIT with LLVM prior to 3.9

Jan Vesely jan.vesely at rutgers.edu
Mon Sep 18 18:40:00 UTC 2017


On Mon, 2017-09-18 at 17:00 +0100, Emil Velikov wrote:
> Hi all,
> 
> As you may know, different components in Mesa use LLVM for various purposes.
> 
> In particular:
>  - 3.3.0 for the aux gallium module, gallivm
>  - 3.6.0 for the opencl state-tracker, clover
>  - 3.9.0 for multiple drivers r600, radeonsi, radv and swr
> 
> AFAICT gallivm is build on Windows, and using newer LLVM in there is
> rather hard/messy.
> 
> On the other hand, Clover is built on Linux/BSD platforms. Which seems
> to be OK wrt availability and the respective packaging.
> So leaving the former out for now, I'm wondering if we cannot bump the
> Clover requirement to 3.9.0.
> 
> Quick search shows:
>  - Debian - 3.9 since stretch (stable)
>  - Ubuntu - 3.9 since trusty (14.04LTS)
>  - FreeBSD - 3.9
>  - openSUSE - 3.9 since Leap 42.2 (unofficial), official since Tumbleweed
>  - Fedora - 3.9 since F25
>  - Gentoo - 3.9 is marked as stable
>  - Archlinux - using 5.0
> 
> Note: older enterprise distributions seems to be in the cold.
> Yet there's little point in them building Clover since it cannot be
> run on those.

another thing to consider is that libclc supports only llvm >=4 since
Nov 2016. I considered re-enabling 3.9, but it's a bit more complicated
than making sure that the library prepare tool compiles/works.
amdgpu changed abi, so we'd end up with bugs like [0].

Jan

[0] https://bugs.freedesktop.org/show_bug.cgi?id=99856

> 
> Thanks
> Emil
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170918/03500055/attachment-0001.sig>


More information about the mesa-dev mailing list