If I set PSDK_LINUX and PSDK_RTOS and run make for opencl-examples-1.2.00.02, every example fails to build with a similar error to below.
=============== timeout =================
Compiling kernel.cl
The OpenCL DSP directory /home/jcormier/local/ti-processor-sdk-linux-am57xx-evm-06.03.00.106/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/share/ti/opencl does not exist !
../make.inc:254: recipe for target 'kernel.dsp_h' failed
make[1]: *** [kernel.dsp_h] Error 1
Compiling kernel.cl
The OpenCL DSP directory /home/jcormier/local/ti-processor-sdk-linux-am57xx-evm-06.03.00.106/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/share/ti/opencl does not exist !
../make.inc:254: recipe for target 'kernel.dsp_h' failed
make[1]: *** [kernel.dsp_h] Error 1
This is because the arm directory is no longer armv7ahf and is now armv7at2hf. When I fix this then the build works fine. The git repo should be updated.
diff --git a/examples/make.inc b/examples/make.inc index b96590a459fc..ecf5e643cb3f 100644 --- a/examples/make.inc +++ b/examples/make.inc @@ -70,7 +70,7 @@ ifneq (,$(findstring 86, $(shell uname -m))) endif endif - export TARGET_ROOTDIR?=$(PSDK_LINUX)/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi + export TARGET_ROOTDIR?=$(PSDK_LINUX)/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi export HOST_ROOTDIR?=$(PSDK_LINUX)/linux-devkit/sysroots/x86_64-arago-linux export TI_OCL_INSTALL?=$(TARGET_ROOTDIR) export TI_OCL_CGT_INSTALL?=$(HOST_ROOTDIR)/usr/share/ti/cgt-c6x