Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v8 2/4] package/libclc: new package
Date: Sat, 20 Oct 2018 17:36:13 +0200	[thread overview]
Message-ID: <20181020173613.246b2cd6@windsurf.lan> (raw)
In-Reply-To: <1540046091-13736-3-git-send-email-valentinkorenblit@gmail.com>

Hello,

On Sat, 20 Oct 2018 16:34:49 +0200, Valentin Korenblit wrote:
> This patch provides libclc, an open source implementation of the
> library requirements of the OpenCL C programming language, as
> specified by the OpenCL 1.1 Specification. It is intended to be used
> with Clover (Mesa3D's OpenCL implementation for AMD GPUs.
> 
> It needs to be compiled with host-clang, as it generates LLVM IR bitcode
> files containing device builtin functions for each target.
> 
> Currently, libclc supports AMDGCN, R600 and NVPTX targets.
> 
> As OpenCL kernels can be built dynamically on the target using libclang and
> libLLVM, it is necessary to have clc headers installed on the target. Buildroot
> removes /usr/include in its target-finalize step, so clc headers are installed to
> /usr/share/clc.
> 
> Signed-off-by: Valentin Korenblit <valentin.korenblit@smile.fr>
> Signed-off-by: Valentin Korenblit <valentinkorenblit@gmail.com>
> ---
>  DEVELOPERS                 |  1 +
>  package/Config.in          |  1 +
>  package/libclc/Config.in   | 10 ++++++++++
>  package/libclc/libclc.hash |  3 +++
>  package/libclc/libclc.mk   | 42 ++++++++++++++++++++++++++++++++++++++++++
>  5 files changed, 57 insertions(+)
>  create mode 100644 package/libclc/Config.in
>  create mode 100644 package/libclc/libclc.hash
>  create mode 100644 package/libclc/libclc.mk

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  parent reply	other threads:[~2018-10-20 15:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-20 14:34 [Buildroot] [PATCH v8 0/4] Enable OpenCL support in Mesa 3D Valentin Korenblit
2018-10-20 14:34 ` [Buildroot] [PATCH v8 1/4] package/mesa3d: disable opencl Valentin Korenblit
2018-10-20 14:50   ` Romain Naour
2018-10-20 15:36   ` Thomas Petazzoni
2018-10-20 14:34 ` [Buildroot] [PATCH v8 2/4] package/libclc: new package Valentin Korenblit
2018-10-20 14:55   ` Romain Naour
2018-10-20 15:36   ` Thomas Petazzoni [this message]
2018-10-20 14:34 ` [Buildroot] [PATCH v8 3/4] package/mesa3d: enable OpenCL support Valentin Korenblit
2018-10-20 15:04   ` Romain Naour
2018-10-20 14:34 ` [Buildroot] [PATCH v8 4/4] package/clinfo: new package Valentin Korenblit
2018-10-20 15:09   ` Romain Naour

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181020173613.246b2cd6@windsurf.lan \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox