All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v4 0/7] Adding RustiCL
@ 2024-02-02  9:36 Antoine Coutant
  2024-02-02  9:36 ` [Buildroot] [PATCH v4 1/7] package/meson: bump version to 1.3.1 Antoine Coutant
                   ` (6 more replies)
  0 siblings, 7 replies; 22+ messages in thread
From: Antoine Coutant @ 2024-02-02  9:36 UTC (permalink / raw)
  To: buildroot; +Cc: sebastian.weyer, Antoine Coutant, bernd, romain.naour

RustiCL requires meson >= 1.2.1 and will soon require meson >= 1.3.1
(when mesa will be upgraded to version 24.0.x). The problems that
appeared with host-qemu don't exist anymore. So, I think that meson
must be upgraded.

While testing RustiCL on the khadas vim3, I encountered a problem
with mesa clc cross-compilation and made a merge request that just
got accepted. The 3 added patches are from this MR.
(https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25568.)  

This new version of the patch series changes the way OpenCL is
selected. When an implementation is available (Clover or Rusticl),
a menuconfig appears. Then, it is possible to select Clover and/or
RustiCL. Both can be selected at the same time thanks to
OpenCL-ICD-Loader.

RusitCL have been tested on the khadas vim 3. Using
“khadas_vim3_defconfig” with bootlin toolchain
“aarch64 glibc bleeding-edge 2023.11-1”.

I hope that this series will be merged during the FOSDEM buildroot
meeting. Indeed, I'm not sure that I will have time to work on
this after the 5th of march.

Also, I wrote an article in French to explain how RustiCL works.
It can allow (French speakers) to understand what it does and why
it requires its dependencies.
https://www.linuxembedded.fr/2024/01/introduction-a-opencl-et-rusticl 

Antoine Coutant (2):
  package/meson: bump version to 1.3.1
  package/llvm-project: add opencl-c-base.h on target

Romain Naour (3):
  package/pkg-meson.mk: add rust cross-compiler support
  package/spirv-llvm-translator: add target variant to provide
    LLVMSPIRVLib
  package/mesa3d: add RustiCL support

Sebastian Weyer (2):
  package/opencl-headers: new package
  package/opencl-icd-loader: new package

 DEVELOPERS                                    |  2 +
 package/Config.in                             |  3 +
 package/llvm-project/clang/clang.mk           |  9 ++
 ...ncl-external-clang-headers-option-an.patch | 72 ++++++++++++++++
 ...or-every-user-when-using-shared-LLVM.patch | 40 +++++++++
 ...lc-retrieve-libclang-path-at-runtime.patch | 86 +++++++++++++++++++
 package/mesa3d/Config.in                      | 50 +++++++++--
 package/mesa3d/mesa3d.mk                      | 18 +++-
 ...dencies-base.py-add-pkg_config_stati.patch | 29 ++++---
 package/meson/meson.hash                      |  4 +-
 package/meson/meson.mk                        |  2 +-
 package/opencl-headers/Config.in              |  7 ++
 package/opencl-headers/opencl-headers.hash    |  3 +
 package/opencl-headers/opencl-headers.mk      | 22 +++++
 package/opencl-icd-loader/Config.in           | 12 +++
 .../opencl-icd-loader/opencl-icd-loader.hash  |  3 +
 .../opencl-icd-loader/opencl-icd-loader.mk    | 19 ++++
 package/pkg-meson.mk                          | 13 +++
 package/spirv-llvm-translator/Config.in       | 22 +++++
 .../spirv-llvm-translator.mk                  | 12 ++-
 support/misc/cross-compilation.conf.in        |  4 +-
 21 files changed, 406 insertions(+), 26 deletions(-)
 create mode 100644 package/mesa3d/0006-meson-remove-opencl-external-clang-headers-option-an.patch
 create mode 100644 package/mesa3d/0007-clc-force-fPIC-for-every-user-when-using-shared-LLVM.patch
 create mode 100644 package/mesa3d/0008-clc-retrieve-libclang-path-at-runtime.patch
 create mode 100644 package/opencl-headers/Config.in
 create mode 100644 package/opencl-headers/opencl-headers.hash
 create mode 100644 package/opencl-headers/opencl-headers.mk
 create mode 100644 package/opencl-icd-loader/Config.in
 create mode 100644 package/opencl-icd-loader/opencl-icd-loader.hash
 create mode 100644 package/opencl-icd-loader/opencl-icd-loader.mk
 create mode 100644 package/spirv-llvm-translator/Config.in

-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2024-02-21 16:55 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-02  9:36 [Buildroot] [PATCH v4 0/7] Adding RustiCL Antoine Coutant
2024-02-02  9:36 ` [Buildroot] [PATCH v4 1/7] package/meson: bump version to 1.3.1 Antoine Coutant
2024-02-07 15:23   ` Yann E. MORIN
2024-02-07 15:30   ` Yann E. MORIN
2024-02-02  9:36 ` [Buildroot] [PATCH v4 2/7] package/pkg-meson.mk: add rust cross-compiler support Antoine Coutant
2024-02-07 15:13   ` Yann E. MORIN
2024-02-08 10:25     ` Antoine Coutant
2024-02-02  9:36 ` [Buildroot] [PATCH v4 3/7] package/spirv-llvm-translator: add target variant to provide LLVMSPIRVLib Antoine Coutant
2024-02-07 15:08   ` Yann E. MORIN
2024-02-07 15:15     ` Arnout Vandecappelle via buildroot
2024-02-02  9:36 ` [Buildroot] [PATCH v4 4/7] package/opencl-headers: new package Antoine Coutant
2024-02-07 15:58   ` Yann E. MORIN
2024-02-12 13:44     ` Antoine Coutant
2024-02-21 13:26       ` Antoine Coutant
2024-02-21 16:55       ` Antoine Coutant
2024-02-02  9:36 ` [Buildroot] [PATCH v4 5/7] package/opencl-icd-loader: " Antoine Coutant
2024-02-07 16:01   ` Yann E. MORIN
2024-02-12 14:19     ` Antoine Coutant
2024-02-02  9:36 ` [Buildroot] [PATCH v4 6/7] package/llvm-project: add opencl-c-base.h on target Antoine Coutant
2024-02-07 19:07   ` Yann E. MORIN
2024-02-12 14:54     ` Antoine Coutant
2024-02-02  9:36 ` [Buildroot] [PATCH v4 7/7] package/mesa3d: add RustiCL support Antoine Coutant

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.