Bug 206780 - devel/ocl-icd: Update to 2.2.8
Summary: devel/ocl-icd: Update to 2.2.8
Status: Closed DUPLICATE of bug 212363
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Niclas Zeising
URL:
Keywords: easy, needs-qa, patch
Depends on: 206779
Blocks:
  Show dependency treegraph
 
Reported: 2016-01-31 10:10 UTC by O. Hartmann
Modified: 2016-09-10 17:00 UTC (History)
2 users (show)

See Also:


Attachments
Update 2.2.7 -> 2.2.8 (1.02 KB, patch)
2016-01-31 10:10 UTC, O. Hartmann
no flags Details | Diff
Update to ocl-icd 2.2.9 (1.74 KB, patch)
2016-04-11 17:18 UTC, O. Hartmann
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2016-01-31 10:10:47 UTC
Created attachment 166328 [details]
Update 2.2.7 -> 2.2.8

Update the port from 2.2.7 to 2.2.8.
Comment 1 Niclas Zeising freebsd_committer freebsd_triage 2016-02-09 20:27:17 UTC
Grab
Comment 2 Niclas Zeising freebsd_committer freebsd_triage 2016-02-09 20:54:12 UTC
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.
Comment 3 O. Hartmann 2016-02-10 18:05:10 UTC
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?
Comment 4 Niclas Zeising freebsd_committer freebsd_triage 2016-02-10 20:05:06 UTC
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.
Comment 5 Niclas Zeising freebsd_committer freebsd_triage 2016-02-26 16:36:26 UTC
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.
Comment 6 O. Hartmann 2016-02-26 17:12:15 UTC
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
Comment 7 O. Hartmann 2016-04-11 17:18:47 UTC
Created attachment 169197 [details]
Update to ocl-icd 2.2.9

This patch updates the ocl-icd to version 2.2.9
Comment 8 O. Hartmann 2016-09-10 17:00:11 UTC

*** This bug has been marked as a duplicate of bug 212363 ***