Created attachment 166328 [details] Update 2.2.7 -> 2.2.8 Update the port from 2.2.7 to 2.2.8.
Grab
I can't get this to build when I'm testing in poudriere. Does it require some sort of special treatment? I get the following: configure: error: No 2.1 OpenCL headers available and --disable-official-khronos-headers used ===> Script "configure" failed unexpectedly.
Hello. I ran in a similar problem when the "old" port devel/opencl was/is installed (which is OCL 2.0, or, if older, 1.2). So I also proposed an update of devel/opencl already. As far as I know and the docs state, the 2.1 CL header should be downward compatible. I haven't checked this. I also did not check builds with special autotools flags, so I can't tell at this point what happens if one is NOT using the port's devel/opencl header files. I checked the files provided with ocl-icd 2.2.8, they seem to be CL 2.1. So, Iguess this problem arise when using the old devel/opencl port. An alternative could be to disable knob "--disable-official-khronos-headers", but my intention was to have "one" OpenCL header file set provided by a port and coming from Khronos themselfes. I have other ports which also have their own set of headers, but they are outdated and I guess the Khronos' headers are the most up-to-date. Would it be a problem first approve proposel for updating devel/opencl?
Hi! I still get a build error, even with a updated devel/opencl. ocl_icd_loader_gen.Tpo -c ocl_icd_loader_gen.c -fPIC -DPIC -o .libs/libOpenCL_la-ocl_icd_loader_gen.o In file included from ocl_icd_loader_gen.c:30: In file included from ./ocl_icd_loader.h:31: ./ocl_icd.h:33:34: warning: unknown warning group '-Wcpp', ignored [-Wunknown-pragmas] # pragma GCC diagnostic ignored "-Wcpp" ^ In file included from libdummy_icd_gen.c:32: In file included from ./libdummy_icd_gen.h:32: /usr/local/include/CL/cl_egl.h:31:10: fatal error: 'EGL/egl.h' file not found #include <EGL/egl.h> As you can see, the newly added file cl_egl.h from devel/opencl is missing egl.h. egl.h can be found in the port graphics/libEGL, but since you are the maintainer of these ports, I leave it up to you to decide if devel/opencl or this port should depend on libEGL.
Hi! I haven't heard back from you in a while, about the issue with egl. I understand if you've been busy with other stuff, it happens, I just want to check in and see what the status is.
Sorry for the late answer and thank you very much for the reminder! The subject of this open issue simply slipped through. I think the fix should apply to devel/opencl, since the request for that library has been made through devel/opencl. See Bug 206779 . Kind regards, oh
Created attachment 169197 [details] Update to ocl-icd 2.2.9 This patch updates the ocl-icd to version 2.2.9
*** This bug has been marked as a duplicate of bug 212363 ***