From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: Zoltan Boszormenyi <zboszor@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH 3/4] mesa: Rename PACKAGECONFIG "opencl" to "clover"
Date: Fri, 24 Feb 2023 13:28:57 +0100 [thread overview]
Message-ID: <Y/itiY4MKeIn1JNd@mail.local> (raw)
In-Reply-To: <20230224093850.3393567-3-zboszor@gmail.com>
On 24/02/2023 10:38:49+0100, Zoltan Boszormenyi wrote:
> There is another OpenCL frontend called "rusticl" now.
>
> Signed-off-by: Zolt�n B�sz�rm�nyi <zboszor@gmail.com>
> ---
> meta/recipes-graphics/mesa/mesa.inc | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
> index 70f9b6fc17..9ec10c49ca 100644
> --- a/meta/recipes-graphics/mesa/mesa.inc
> +++ b/meta/recipes-graphics/mesa/mesa.inc
> @@ -115,9 +115,9 @@ PACKAGECONFIG[gles] = "-Dgles1=enabled -Dgles2=enabled, -Dgles1=disabled -Dgles2
> # "egl" requires "opengl"
> PACKAGECONFIG[egl] = "-Degl=enabled, -Degl=disabled"
>
> -# "opencl" requires libclc from meta-clang and spirv-tools from OE-Core
> +# "clover" requires libclc from meta-clang and spirv-tools from OE-Core
> OPENCL_NATIVE = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', '-Dopencl-native=true', '', d)}"
> -PACKAGECONFIG[opencl] = "-Dgallium-opencl=icd -Dopencl-spirv=true ${OPENCL_NATIVE},-Dgallium-opencl=disabled -Dopencl-spirv=false,libclc spirv-tools"
> +PACKAGECONFIG[clover] = "-Dgallium-opencl=icd -Dopencl-spirv=true ${OPENCL_NATIVE},-Dgallium-opencl=disabled -Dopencl-spirv=false,libclc spirv-tools"
Are we allowed to do that? It will break anyone using "opencl" in there
PACKAGECONFIG
>
> PACKAGECONFIG[broadcom] = ""
> PACKAGECONFIG[etnaviv] = ""
> @@ -196,7 +196,7 @@ DEV_PKG_DEPENDENCY = ""
> # development package of libgles3.
> RDEPENDS:libgles3-mesa-dev += "libgles2-mesa-dev"
>
> -RDEPENDS:libopencl-mesa += "${@bb.utils.contains('PACKAGECONFIG', 'opencl', 'libclc spirv-tools', '', d)}"
> +RDEPENDS:libopencl-mesa += "${@bb.utils.contains('PACKAGECONFIG', 'clover', 'libclc spirv-tools', '', d)}"
>
> PACKAGES =+ "libegl-mesa libegl-mesa-dev \
> libosmesa libosmesa-dev \
> @@ -242,7 +242,7 @@ python __anonymous() {
> ("gles", "libgles1", "libglesv1-cm1"),
> ("gles", "libgles2", "libglesv2-2"),
> ("gles", "libgles3",),
> - ("opencl", "libopencl",)):
> + ("clover", "libopencl",)):
> if not p[0] in pkgconfig:
> continue
> mlprefix = d.getVar("MLPREFIX")
> --
> 2.39.2
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#177666): https://lists.openembedded.org/g/openembedded-core/message/177666
> Mute This Topic: https://lists.openembedded.org/mt/97202945/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2023-02-24 12:29 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-24 9:38 [PATCH 1/4] bindgen-cli: Add new recipe Zoltán Böszörményi
2023-02-24 9:38 ` [PATCH 2/4] mesa, mesa-gl: 23.0.0 Zoltán Böszörményi
2023-02-24 9:38 ` [PATCH 3/4] mesa: Rename PACKAGECONFIG "opencl" to "clover" Zoltán Böszörményi
2023-02-24 12:28 ` Alexandre Belloni [this message]
2023-02-24 14:29 ` [OE-core] " Alexander Kanavin
2023-02-24 9:38 ` [PATCH 4/4] mesa: Add PACKAGECONFIG "rusticl" Zoltán Böszörményi
2023-02-24 9:45 ` [OE-core] " Ross Burton
2023-02-24 10:05 ` Böszörményi Zoltán
[not found] ` <1746BAA6D62E4C0A.18951@lists.openembedded.org>
2023-02-24 10:34 ` Böszörményi Zoltán
2023-02-24 10:52 ` Alexander Kanavin
[not found] ` <1746BD3631A1C7C1.29542@lists.openembedded.org>
2023-02-24 11:12 ` Alexander Kanavin
2023-02-24 16:41 ` Böszörményi Zoltán
2023-02-24 9:44 ` [OE-core] [PATCH 1/4] bindgen-cli: Add new recipe Alexander Kanavin
2023-02-24 9:59 ` Böszörményi Zoltán
2023-02-24 10:13 ` Alexander Kanavin
2023-02-24 10:36 ` Böszörményi Zoltán
2023-02-24 13:32 ` Alex Kiernan
2023-02-24 16:43 ` Böszörményi Zoltán
2023-02-26 5:08 ` [PATCH v2 0/3] Mesa 23.0.0 Zoltán Böszörményi
2023-02-26 5:08 ` [PATCH v2 1/3] mesa, mesa-gl: 23.0.0 Zoltán Böszörményi
2023-02-26 5:08 ` [PATCH v2 2/3] mesa: Rename PACKAGECONFIG "opencl" to "clover" Zoltán Böszörményi
2023-02-27 9:18 ` Alexander Kanavin
2023-02-26 5:08 ` [PATCH v2 3/3] mesa: Add PACKAGECONFIG "rusticl" Zoltán Böszörményi
2023-02-27 8:03 ` Alex Kiernan
2023-02-27 9:31 ` Alexander Kanavin
2023-02-27 10:39 ` Böszörményi Zoltán
[not found] ` <17479FC3A76A2964.29542@lists.openembedded.org>
2023-02-27 9:32 ` [OE-core] " Alex Kiernan
2023-02-27 10:36 ` Böszörményi Zoltán
2023-02-27 11:28 ` Alex Kiernan
2023-02-27 11:36 ` Alexander Kanavin
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=Y/itiY4MKeIn1JNd@mail.local \
--to=alexandre.belloni@bootlin.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=zboszor@gmail.com \
/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