Commit Graph

6 Commits

Author SHA1 Message Date
Daniel Gomez b6b3fa54ec opencl-icd-loader: Update 2020.12.18 -> v2022.01.04
- Fix recipe style WARNINGS from oe-stylize.

    ./contrib/oe-stylize.py
    meta-oe/recipes-core/opencl/opencl-icd-loader_git.bb

    Reminder:  Tabs should not be used (use spaces instead)  in : '
    ${bindir}/icd_loader_test \ '

    Reminder:  The correct spacing for a variable is FOO = "BAR"
    in : '
    SUMMARY  = "OpenCL ICD Loader" '

- Fix missing lib for CL applications

    strace clinfo:
    openat(AT_FDCWD, "/usr/lib/libOpenCL.so.1", O_RDONLY|O_CLOEXEC) =
    -1 ENOENT (No such file or directory)
    newfstatat(AT_FDCWD, "/usr/lib", {st_mode=S_IFDIR|0755, st_size=36864, ...}, 0) = 0
    writev(2, [{iov_base="clinfo", iov_len=6}, {iov_base=": ", iov_len=2},
    {iov_base="error while loading shared libra"..., iov_len=36},
    {iov_base=": ", iov_len=2}, {iov_base="libOpenCL.so.1", iov_len=14},
    {iov_base=": ", iov_len=2}, {iov_base="cannot open shared object file", iov_len=30},
    {iov_base=": ", iov_len=2}, {iov
    _base="No such file or directory", iov_len=25}, {iov_base="\n", iov_len=1}], 10
    clinfo: error while loading shared libraries: libOpenCL.so.1: cannot open shared
    object file: No such file or directory) = 120
    exit_group(127)                         = ?

- Change branch name master -> main according to upstream repository.

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-14 09:23:14 -07:00
Richard Purdie b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
zangrc d113993f5d opencl-icd-loader: upgrade 2020.06.16 -> 2020.12.18
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-24 19:34:49 -08:00
Khem Raj 4e42fe5519 opencl-icd-loader: Update beyond 2020.06.16
License-Update: License is now apache-2.0 as per [1]

Fixes build wih gcc10
Gather install artifacts from new locations

[1] https://github.com/KhronosGroup/OpenCL-ICD-Loader/commit/44f384ae624675d6b0b92ce39a97cb7f4899d92a

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Anuj Mittal <anuj.mittal@intel.com>
2020-08-13 22:37:49 -07:00
Anuj Mittal 5e1b86c1b2 opencl: move headers and loader recipe to common directory
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-12 08:50:14 -07:00