Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit 5f4920d

Browse files
committed
beignet: do not install OpenCL headers
Each beignet-${CL_HW_TARGET}-dev installs OpenCL headers but/and we also have 'virtual/opencl-headers" provider. When installing 'dev-pkgs' IMAGE_FEATURE or '*-dev' complementary globs (default in SDKs), the sysroot creation fails with "FileExists" errors due to overlapping OpenCL headers. To fix the problem, make sure beignet does not install OpenCL headers. Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
1 parent 879f73a commit 5f4920d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • meta-refkit-computervision/recipes-opencl/beignet

meta-refkit-computervision/recipes-opencl/beignet/beignet.inc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ do_install_append_class-target () {
4949
# Remove AppStream metadata so that the packages won't conflict
5050
rm ${D}${datadir}/metainfo/com.intel.beignet.metainfo.xml
5151
rmdir --ignore-fail-on-non-empty -p ${D}${datadir}/metainfo
52+
53+
rm -r ${D}${includedir}
5254
}
5355

5456
do_install_class-native() {

0 commit comments

Comments
 (0)