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

From: Fernando_Apesteguía <fernape_at_freebsd.org>
Date: Fri, 05 May 2023 07:37:58 UTC
On Fri, May 5, 2023 at 9:25 AM Craig Leres <leres@freebsd.org> wrote:

> On 5/5/23 00:14, Fernando Apesteguía wrote:
> >
> >
> > On Thu, May 4, 2023 at 9:29 PM Craig Leres <leres@freebsd.org
> > <mailto:leres@freebsd.org>> wrote:
> >
> >     On 5/3/23 01:05, Fernando Apesteguía wrote:
> >      > The branch main has been updated by fernape:
> >      >
> >      >
> >     URL:
> https://cgit.FreeBSD.org/ports/commit/?id=0eb6406f6594c96bef9b692cd7e4fa763a653cd7
> <
> https://cgit.FreeBSD.org/ports/commit/?id=0eb6406f6594c96bef9b692cd7e4fa763a653cd7
> >
> >      >
> >      > commit 0eb6406f6594c96bef9b692cd7e4fa763a653cd7
> >      > Author:     O. Hartmann<ohartmann@walstatt.org
> >     <mailto:ohartmann@walstatt.org>>
> >      > AuthorDate: 2023-05-02 10:38:39 +0000
> >      > Commit:     Fernando Apesteguía<fernape@FreeBSD.org>
> >      > CommitDate: 2023-05-03 08:01:08 +0000
> >      >
> >      >      devel/opencl: Update OpenCL to 3.0.14
> >      >
> >      >      PR:             271158
> >      >      Reported by:ohartmann@walstatt.org
> >     <mailto:by%3Aohartmann@walstatt.org>  (maintainer)
> >      > ---
> >
> >     Unfortunately this breaks building devel/ocl-icd for me (see
> appended).
> >     Looks like some things ocl-icd was defining in (ocl-idcd)
> >     ocl_icd_loader.c are conflicting with a new version in (opencl)
> >     CL/cl_ext.h.
> >
> >
> > Can you try this patch
> > https://people.freebsd.org/~fernape/patches/devel_ocl-icd.patch
> > <https://people.freebsd.org/~fernape/patches/devel_ocl-icd.patch>
> >
> > I was able to build in 12.4 {adm64,i386}, 13.1 amd64 and -current(ish)
> amd64
>
> That fixes my build (13.2 amd64).
>

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271255

devel/opencl and devel/ocl-icd share maintainer. I'll wait for him to chime
in before committing.

Thanks!


>
>                 Craig
>