On Wed, 2020-08-12 at 00:50 -0700, Khem Raj wrote:
> License-Update: Update copyrights [1]
> 
> Install CL/cl_icd.h as its needed by opencl-icd-loader
> 
> Do not provide libOpenCL.so these are alrwady provided by OpenCL 1.2
> Installable Client Driver

Aren't both of these different implementations of libOpenCL? Project
depending on ocl-icd shouldn't need to depend on opencl-icd-loader I
think.

Thanks,

Anuj

> 
> [1] 
> https://github.com/OCL-dev/ocl-icd/commit/3920205736afbb67729e9c73c7b4c6fdb3fcb327#diff-7116ef0705885343c9e1b2171a06be0e
> 
> Signed-off-by: Khem Raj <[email protected]>
> ---
> v2: Fix library conflicts and license checksums
> 
>  meta-oe/recipes-core/opencl/ocl-icd_git.bb | 10 ++++++++--
>  1 file changed, 8 insertions(+), 2 deletions(-)
> 
> diff --git a/meta-oe/recipes-core/opencl/ocl-icd_git.bb b/meta-
> oe/recipes-core/opencl/ocl-icd_git.bb
> index d14ec53e3d..a65c7618b8 100644
> --- a/meta-oe/recipes-core/opencl/ocl-icd_git.bb
> +++ b/meta-oe/recipes-core/opencl/ocl-icd_git.bb
> @@ -3,12 +3,12 @@ DESCRIPTION = "Open Source alternative to vendor
> specific OpenCL ICD loaders."
>  
>  # The LICENSE is BSD 2-Clause "Simplified" License
>  LICENSE = "BSD-2-Clause"
> -LIC_FILES_CHKSUM =
> "file://COPYING;md5=232257bbf7320320725ca9529d3782ab"
> +LIC_FILES_CHKSUM =
> "file://COPYING;md5=1238d5bccbb6bda30654e48dcc0a554b"
>  
>  SRC_URI = "git://github.com/OCL-dev/ocl-icd.git;protocol=https"
>  
>  PV = "2.2.12+git${SRCPV}"
> -SRCREV = "af79aebe4649f30dbd711c1bf6fc661eac6e5f01"
> +SRCREV = "a9e57b199ff1e8d03fa3e5c53c5544de3dc72fe6"
>  
>  S = "${WORKDIR}/git"
>  
> @@ -16,4 +16,10 @@ inherit autotools
>  
>  DEPENDS = "ruby-native"
>  
> +
> +do_install_append() {
> +    install -Dm 0644 ${S}/khronos-headers/CL/cl_icd.h
> ${D}${includedir}/CL/cl_icd.h
> +    rm -rf ${D}${libdir}/libOpenCL.so*
> +}
> +
>  BBCLASSEXTEND = "native"
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#86363): 
https://lists.openembedded.org/g/openembedded-devel/message/86363
Mute This Topic: https://lists.openembedded.org/mt/76143112/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to