Re: git: 0eb6406f6594 - main - devel/opencl: Update OpenCL to 3.0.14

From: Craig Leres <leres_at_freebsd.org>
Date: Fri, 05 May 2023 16:14:00 UTC
On 5/5/23 09:09, O. Hartmann wrote:
> Am Fri, 5 May 2023 09:37:58 +0200
> Fernando ApesteguĂ­a<fernape@freebsd.org>  schrieb:
> 
> Hello,
> 
> sorry for the breakage. I found the reason why the poudriere build didn't fail on CURRENT
> here, my bad.
> 
> In the Makefile provided, there needs to be
> 
> [WORKING] CONFIGURE_ARGS+=--enable-official-khronos-headers
> 
> instead of the provided
> 
> [NONWORKING] CONFIGURE_ARGS+=--disable-official-khronos-headers.
> 
> Several ICDs come (and came) with their own copy of Khronos OCL headers, they are outdated and
> I guess (just a hunch right now) make is picking then outdated headers.
> 
> I compiled successfully on CURRENT by setting
> 
> --enable-official-khronos-headers
> 
> I have no chance this weekend to compile a clean ports tree, since my personal hardware is a
> bit outdated. I'll provide a new/updated patchset for devel/ocl-icd immediately, but need some
> help in checking from your side whether it will compile on all supported platforms.

With that change the port builds for me (13.2 amd64).

		Craig