Skip to content

llvm for mesa3d

Will Wagner buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 4 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/4] llvm for mesa3d
Quoted 9 lines · Valentin Korenblit

Hello all,

This series provides LLVM support for Mesa3d, enabling llvmpipe software rasterizer.

It must be considered that it does not provide a full LLVM installation for the host, only the necessary components to cross-compile LLVM for the target. It will install all target components as libLLVM.so.

Hi Valentin,

As it happens I've just been updating my patches for llvm as I added it to get radeonsi gallium working in mesa3d. My patches are much messier than your and hence I've never tried to upstream anything.

A couple of overall questions:

Have you only added host-llvm because of llvm-tblgen and llvm-config? llvm will try to build native versions of those for you but I had problems with llvm-tblgen and so had to go to a host package like you. However I only built those two tools with:

HOST_LLVM_MAKE_OPTS = llvm-tblgen llvm-config

It makes the build smaller and faster and it means you don't need to care about almost all of the host conf options.

My other question is about AMDGPU support, you seem to have mixed this up into a number of your patches not just number 3. What are you trying to do here, add an option to build amdgpu as well as the target arch? In my case I wanted to be able to build for only amdgpu and not the target arch as this is what radeonsi needs.

Regards
Will

Signature · 5 lines
------------------------------------------------------------------------
Will Wagner                                     will_wagner at carallon.com
Engineering Manager                      Office Tel: +44 (0)20 7471 9424
Carallon Ltd, International House, 7 High Street, Ealing, London  W5 5DB
------------------------------------------------------------------------