Hi,
I added TOOLCHAIN_TARGET_TASK_append = " packagegroup-arago-tisdk-opencl-sdk-target" to conf/local.conf, then bitbake meta-toolchain-arago-tisdk got error:
ERROR: Nothing RPROVIDES 'openmpacc-dev' (but /home/keelung/ti/psdk/linux/yocto-build/sources/meta-arago/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-opencl-sdk-target.bb RDEPENDS on or otherwise requires it) NOTE: Runtime target 'openmpacc-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['openmpacc-dev'] NOTE: Runtime target 'packagegroup-arago-tisdk-opencl-sdk-target' is unbuildable, removing... Missing or unbuildable dependency chain was: ['packagegroup-arago-tisdk-opencl-sdk-target', 'openmpacc-dev'] ERROR: Required build target 'meta-toolchain-arago-tisdk' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-toolchain-arago-tisdk', 'packagegroup-arago-tisdk-opencl-sdk-target', 'openmpacc-dev']
Then I replace above line with IMAGE_INSTALL_append = " packagegroup-arago-tisdk-opencl", then bitbake arago-core-psdkla-bundle got:
ERROR: Nothing RPROVIDES 'opencl-examples-offline-compile' (but /home/keelung/ti/psdk/linux/yocto-build/sources/meta-arago/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-opencl.bb RDEPENDS on or otherwise requires it) NOTE: Runtime target 'opencl-examples-offline-compile' is unbuildable, removing... Missing or unbuildable dependency chain was: ['opencl-examples-offline-compile'] NOTE: Runtime target 'packagegroup-arago-tisdk-opencl' is unbuildable, removing... Missing or unbuildable dependency chain was: ['packagegroup-arago-tisdk-opencl', 'opencl-examples-offline-compile'] ERROR: Required build target 'arago-core-psdkla-bundle' has no buildable providers. Missing or unbuildable dependency chain was: ['arago-core-psdkla-bundle', 'packagegroup-arago-tisdk-opencl', 'opencl-examples-offline-compile']
But seems opencl is supported:
keelung@xps:~/elinux/ti/psdk/linux/yocto-build/sources$ find -name *opencl* ./meta-openembedded/meta-oe/recipes-core/opencl-icd-loader ./meta-openembedded/meta-oe/recipes-core/opencl-icd-loader/opencl-icd-loader_git.bb ./meta-openembedded/meta-oe/recipes-core/opencl-headers ./meta-openembedded/meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb ./meta-openembedded/meta-oe/recipes-support/opencl ./meta-arago/meta-arago-distro/recipes-core/packagegroups/ti-opencl.bb ./meta-arago/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-opencl-sdk-host.bb ./meta-arago/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-opencl-sdk-target.bb ./meta-arago/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-opencl.bb ./meta-arago/meta-arago-distro/recipes-tisdk/ocl-rtos/opencl-examples-rtos_git.bbappend ./meta-arago/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_opencl-examples ./meta-arago/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_qt-opencv-opencl-opengl-multithreaded ./meta-arago/meta-arago-extras/recipes-core/matrix/matrix-gui-opencl-demos_2.0.bb ./meta-arago/meta-arago-extras/recipes-ti/ocl/opencl-examples_git.bb ./meta-arago/meta-arago-extras/recipes-ti/ocl/opencl-monitor-ipu_git.bb ./meta-arago/meta-arago-extras/recipes-ti/ocl/opencl-monitor_git.bb ./meta-arago/meta-arago-extras/recipes-ti/ocl/opencl-tidl-fw_git.bb ./meta-arago/meta-arago-extras/recipes-ti/ocl/opencl_git.bb ./meta-arago/meta-arago-extras/recipes-ti/ocl-rtos/opencl-monitor-rtos_git.bb ./meta-arago/meta-arago-extras/recipes-ti/ocl-rtos/opencl-examples-rtos_git.bb ./meta-arago/meta-arago-extras/recipes-ti/ocl-rtos/opencl-rtos_git.bb ./meta-arago/meta-arago-extras/recipes-apps/video-analytics-demo/qt-opencv-opencl-opengl-multithreaded_git.bb