Adding LLVM + support for it in Mesa3D
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 2 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 2 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.
Cover letter [Buildroot] [PATCH 0/2] Adding LLVM + support for it in Mesa3D
Hi Adrian,
Le 16/06/2017 ? 22:41, Adrian Perez de Castro a ?crit :
Quoted 15 lines
Hello everybody,
This set of patches adds an LLVM package. For now my main motivation is to enable support for llvmpipe in Mesa3D'd swrast Gallium driver, which we I am using in am embedded ARM device which does not provide a GPU, and software rendering is enough for a small 320x240 LCD framebuffer -- so that is tested and working.
So far the built LLVM enables only the code generation backend for the CPU of the target device, which fits the Mesa3D use-case. Having a llvm package in Buildroot is interesting for many reasons, and I see this as a first step, on top of which to build on later: target packages for new programming languages using Clang+LLVM as cross-toolchain, or enabling building programs written in Rust are just a few examples.
Quoted 2 lines
I'll be happy to iterate on these patches with your feedback (keep me CC'd, please), and have them upstream.
Thanks for this work!
I also tried to add llvm and clang in Buildroot but it's not finished yet. See [1].
I successfully tested llvmpipe with a HD6310 graphic card and I also try to enable libclc support (openCL).
I'll take a look at your patches and try to improve the llvm packaging. First, I'll rebase the work on the latest llvm release 4.0.1.
Best regards,
Romain
[1] https://github.com/RomainNaour/buildroot/tree/clang-llvm-v4.0.0
Quoted 23 lines
Best regards,
--
Adri?n ?Adrian Perez de Castro (2):
llvm: new package
mesa3d: Allow optionally using LLVM in driverspackage/Config.in | 1 + ...-Clean-up-exported-values-update-for-shar.patch | 57 ++++++++ package/llvm/Config.in | 48 +++++++ package/llvm/llvm.hash | 2 + package/llvm/llvm.mk | 145 +++++++++++++++++++++ package/mesa3d/Config.in | 11 ++ package/mesa3d/mesa3d.mk | 9 +- 7 files changed, 272 insertions(+), 1 deletion(-) create mode 100644 package/llvm/0007-llvm-config-Clean-up-exported-values-update-for-shar.patch create mode 100644 package/llvm/Config.in create mode 100644 package/llvm/llvm.hash create mode 100644 package/llvm/llvm.mk