opencl-headers: Initial recipe for OpenCL headers
PATCH v3 1/1 opencl-headers: Initial recipe for OpenCL headers
Add generic recipe for OpenCL API headers.
--- .../recipes-core/opencl-headers/opencl-headers_git.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb
meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb new file +17 -0
@@ -0,0 +1,17 @@ +SUMMARY = "OpenCL API Headers" +DESCRIPTION = "OpenCL compute API headers from Khronos Group" +LICENSE = "Khronos" +LIC_FILES_CHKSUM = "file://LICENSE;md5=dcefc90f4c3c689ec0c2489064e7273b" +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/ + install -m 0644 -D -t ${D}${includedir}/CL ${S}/CL/*.h +}
Signature · 1 line
1.9.1
meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb line 17
Quoted 4 lines · Ankit Navik
meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb new file +4
-0+do_install () { + install -d ${D}${includedir}/CL/ + install -m 0644 -D -t ${D}${includedir}/CL ${S}/CL/*.h +}
-D to install is 'create directories' which you've already done in the previous line, so that can be removed.
If you're removing -D then a more idiomatic form would be:
+ install -d ${D}${includedir}/CL/
+ install -m 0644 ${S}/CL/*.h ${D}${includedir}/CL
Ross
Hi Ross
Quoted 13 lines · Ross
meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb line 17
Quoted 4 lines · Ankit Navik
meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb new file +4
-0+do_install () { + install -d ${D}${includedir}/CL/ + install -m 0644 -D -t ${D}${includedir}/CL ${S}/CL/*.h +}-D to install is 'create directories' which you've already done in the previous line, so that can be removed.
If you're removing -D then a more idiomatic form would be:
Review
Quoted 2 lines
(quoted diff) +2
-0+ install -d ${D}${includedir}/CL/ + install -m 0644 ${S}/CL/*.h ${D}${includedir}/CL
Opps, missed -D.
Cool. I will use your suggestion.
Thanks, Ankit
Quoted 2 lines
Ross
Quoted 14 lines · Ankit Navik
Hi Ross
Quoted 11 lines · Ross
meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb line 17
Quoted 4 lines · Ankit Navik
meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb new file +4
-0+do_install () { + install -d ${D}${includedir}/CL/ + install -m 0644 -D -t ${D}${includedir}/CL ${S}/CL/*.h +}-D to install is 'create directories' which you've already done in the previous line, so that can be removed.
Quoted 6 lines
Review
Quoted 4 lines
If you're removing -D then a more idiomatic form would be:
(quoted diff) +2
-0+ install -d ${D}${includedir}/CL/ + install -m 0644 ${S}/CL/*.h ${D}${includedir}/CLOpps, missed -D.
Cool. I will use your suggestion.
you just need single line there in do_install
install -m 0644 -D -t ${D}${includedir}/CL ${S}/CL/*.h
Quoted 9 lines
Thanks, Ankit
Quoted 2 lines
Ross
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Hi Raj,
Quoted 18 lines · Khem Raj
Quoted 16 lines · Ankit Navik
Hi Ross
Quoted 13 lines · Ross
meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb line 17
Quoted 4 lines · Ankit Navik
meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb new file +4
-0+do_install () { + install -d ${D}${includedir}/CL/ + install -m 0644 -D -t ${D}${includedir}/CL ${S}/CL/*.h +}-D to install is 'create directories' which you've already done in the previous line, so that can be removed.
If you're removing -D then a more idiomatic form would be:
Quoted 8 lines
Quoted 4 lines
Review
Quoted 2 lines
(quoted diff) +2
-0+ install -d ${D}${includedir}/CL/ + install -m 0644 ${S}/CL/*.h ${D}${includedir}/CLOpps, missed -D.
Cool. I will use your suggestion.you just need single line there in
do_installinstall -m 0644 -D -t ${D}${includedir}/CL ${S}/CL/*.h
Single line solution is not working as I said in earlier email, it throws an error as No such file and directory.
Regards, Ankit
Quoted 11 lines
Quoted 11 lines
Thanks, Ankit
Quoted 2 lines
Ross
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 23 lines · Ankit Navik
Hi Raj,
Quoted 20 lines · Khem Raj
Quoted 18 lines · Ankit Navik
Hi Ross
Quoted 15 lines · Ross
meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb line 17
Quoted 4 lines · Ankit Navik
meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb new file +4
-0+do_install () { + install -d ${D}${includedir}/CL/ + install -m 0644 -D -t ${D}${includedir}/CL ${S}/CL/*.h +}-D to install is 'create directories' which you've already done in the previous line, so that can be removed.
If you're removing -D then a more idiomatic form would be:
(quoted diff) +2
-0+ install -d ${D}${includedir}/CL/ + install -m 0644 ${S}/CL/*.h ${D}${includedir}/CL
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
Opps, missed -D.
Cool. I will use your suggestion.you just need single line there in
do_installinstall -m 0644 -D -t ${D}${includedir}/CL ${S}/CL/*.h
Single line solution is not working as I said in earlier email, it throws an error as No such file and directory.
yes it wont now I see that its using wildcards. So send the final patch with Ross's suggestions and we can move on
Quoted 12 lines
Regards, Ankit
Quoted 11 lines
Quoted 11 lines
Thanks, Ankit
Quoted 2 lines
Ross
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
PATCH v4 1/1 opencl-headers: Initial recipe for OpenCL headers
Add generic recipe for OpenCL API headers.
--- .../recipes-core/opencl-headers/opencl-headers_git.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb
meta-oe/recipes-core/opencl-headers/opencl-headers_git.bb new file +17 -0
@@ -0,0 +1,17 @@ +SUMMARY = "OpenCL API Headers" +DESCRIPTION = "OpenCL compute API headers from Khronos Group" +LICENSE = "Khronos" +LIC_FILES_CHKSUM = "file://LICENSE;md5=dcefc90f4c3c689ec0c2489064e7273b" +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/ + install -m 0644 ${S}/CL/*.h ${D}${includedir}/CL +}
Signature · 1 line
1.9.1