Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v5 0/7] llvm for mesa3d
@ 2018-04-04 16:31 Valentin Korenblit
  2018-04-04 16:31 ` [Buildroot] [PATCH v5 1/7] package/llvm: new package Valentin Korenblit
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Valentin Korenblit @ 2018-04-04 16:31 UTC (permalink / raw)
  To: buildroot

Hello all,

This series provides llvm support for Mesa 3D:


Changes v1 -> v2:

The series has been simplified:

*Build only backend for target architecture by default.
*Support for AMDGPU(PATCH 3/4 in v1) was removed because I cannot test
it currently. 
*Host: make options modified to build only llvm-config and llvm-tblgen
(reduces drastically build time for host).
*Target: support only x86 currently (tested), I will test on ARM soon.

Changes v2 -> v3:

* Full installation of LLVM (tools and libLLVM.so) for the host.
* Disable Mesa 3D static linking, it now links with shared lib.
* Options to disable building each tool one by one were removed.
* Support for AMDGPU.
* Support for ARM and AArch64.
*-DLLVM_HOST_TRIPLE=$(GNU_TARGET_NAME) added. This fixes the error:
"No available targets are compatible with this triple" for llvmpipe.

Changes v3 -> v4:

This series is focused on OpenCL support

* Add Clang for host (needed to build libclc)
* Add Clang for target (libOpenCL needs libclang and libLLVM)
* Add libclc
* Add OpenCL support in Mesa3D
* Add package clinfo

Changes v4 -> v5:

The changes suggested after the Buildroot hackathon were applied:

* No Config.in.host for llvm and clang.
* ARM and Aarch64 now in PATCH 1
* Unnecessary comments were removed
* clang-tblgen wasn't being installed in HOST_DIR, now solved
* LLVM_TARGETS_TO_BUILD is now easily extensible for new backends
* llvm-tblgen was being installed on the target, now removed

Regards,

Valent?n

Valentin Korenblit (7):
  package/llvm: new package
  package/llvm: enable AMDGPU
  package/mesa3d: enable llvm support
  package/clang: new package
  package/libclc: new package
  package/mesa3d: enable OpenCL support
  package/clinfo: new package

 DEVELOPERS                 |   6 +
 package/Config.in          |   4 +
 package/clang/Config.in    |   9 ++
 package/clang/clang.hash   |   3 +
 package/clang/clang.mk     |  71 ++++++++++++
 package/clinfo/Config.in   |   9 ++
 package/clinfo/clinfo.hash |   2 +
 package/clinfo/clinfo.mk   |  23 ++++
 package/libclc/Config.in   |   9 ++
 package/libclc/libclc.hash |   3 +
 package/libclc/libclc.mk   |  41 +++++++
 package/llvm/Config.in     |  37 ++++++
 package/llvm/llvm.hash     |   3 +
 package/llvm/llvm.mk       | 272 +++++++++++++++++++++++++++++++++++++++++++++
 package/mesa3d/Config.in   |  23 ++++
 package/mesa3d/mesa3d.mk   |  22 +++-
 16 files changed, 535 insertions(+), 2 deletions(-)
 create mode 100644 package/clang/Config.in
 create mode 100644 package/clang/clang.hash
 create mode 100644 package/clang/clang.mk
 create mode 100644 package/clinfo/Config.in
 create mode 100644 package/clinfo/clinfo.hash
 create mode 100644 package/clinfo/clinfo.mk
 create mode 100644 package/libclc/Config.in
 create mode 100644 package/libclc/libclc.hash
 create mode 100644 package/libclc/libclc.mk
 create mode 100644 package/llvm/Config.in
 create mode 100644 package/llvm/llvm.hash
 create mode 100644 package/llvm/llvm.mk

-- 
2.14.3

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2018-04-07 15:35 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-04 16:31 [Buildroot] [PATCH v5 0/7] llvm for mesa3d Valentin Korenblit
2018-04-04 16:31 ` [Buildroot] [PATCH v5 1/7] package/llvm: new package Valentin Korenblit
2018-04-04 20:50   ` Thomas Petazzoni
2018-04-04 21:20     ` Romain Naour
2018-04-04 16:31 ` [Buildroot] [PATCH v5 2/7] package/llvm: enable AMDGPU Valentin Korenblit
2018-04-04 20:52   ` Thomas Petazzoni
2018-04-04 16:31 ` [Buildroot] [PATCH v5 3/7] package/mesa3d: enable llvm support Valentin Korenblit
2018-04-04 20:52   ` Thomas Petazzoni
2018-04-04 16:31 ` [Buildroot] [PATCH v5 4/7] package/clang: new package Valentin Korenblit
2018-04-05 19:36   ` Matthew Weber
2018-04-04 16:31 ` [Buildroot] [PATCH v5 5/7] package/libclc: " Valentin Korenblit
2018-04-07 15:35   ` Romain Naour
2018-04-04 16:31 ` [Buildroot] [PATCH v5 6/7] package/mesa3d: enable OpenCL support Valentin Korenblit
2018-04-04 16:31 ` [Buildroot] [PATCH v5 7/7] package/clinfo: new package Valentin Korenblit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox