[oe] [PATCH] opencl-headers: Initial recipe for OpenCL headers
Ankit Navik
ankit.tarot at gmail.com
Sat Oct 6 08:49:28 UTC 2018
Hi Armin,
On Thu, Oct 4, 2018 at 4:40 AM akuster808 <akuster808 at gmail.com> wrote:
>
>
>
> On 10/03/2018 08:40 AM, Ankit Navik wrote:
> > Add generic recipe for OpenCL API headers.
> >
> > Signed-off-by: Ankit Navik <ankit.tarot at gmail.com>
> > ---
> > .../recipes-core/opencl-headers/opencl-headers_git.bb | 19 +++++++++++++++++++
> > 1 file changed, 19 insertions(+)
> > create mode 100644 meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb
> >
> > diff --git a/meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb b/meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb
> > new file mode 100644
> > index 0000000..16bc247
> > --- /dev/null
> > +++ b/meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb
> > @@ -0,0 +1,19 @@
> > +SUMMARY = "OpenCL API Headers"
> > +DESCRIPTION = "OpenCL compute API headers from Khronos Group"
> > +LICENSE = "CLOSED"
> There is a license file at the repo. Would adding a "Khronos" license be
> more appropriate?
>
> https://github.com/KhronosGroup/OpenCL-Headers/blob/master/LICENSE
>
> - armin
I have tried adding "Khronos", but it was throwing QA error for
license. Hence kept it as closed.
Any other suggestion for license ?
Regards, Ankit
>
> > +LIC_FILES_CHKSUM = "file://CL/opencl.h;beginline=1;endline=27;md5=687394644e8c4ec4fd3d77f2f86bc042"
> > +SECTION = "base"
> > +
> > +S = "${WORKDIR}/git"
> > +SRCREV = "40c5d226c7c0706f0176884e9b94b3886679c983"
> > +SRC_URI = "git://github.com/KhronosGroup/OpenCL-Headers.git"
> > +
> > +do_configure[noexec] = "1"
> > +do_compile[noexec] = "1"
> > +
> > +do_install () {
> > + install -d ${D}${includedir}/CL/
> > + for f in ${S}/CL/*.h; do
> > + install -m 0644 $f ${D}${includedir}/CL/
> > + done
> > +}
>
More information about the Openembedded-devel
mailing list