mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
opencl-icd-loader: Update beyond 2020.06.16
License-Update: License is now apache-2.0 as per [1] Fixes build wih gcc10 Gather install artifacts from new locations [1] https://github.com/KhronosGroup/OpenCL-ICD-Loader/commit/44f384ae624675d6b0b92ce39a97cb7f4899d92a Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
@@ -1,24 +1,27 @@
|
|||||||
SUMMARY = "OpenCL ICD Loader"
|
SUMMARY = "OpenCL ICD Loader"
|
||||||
DESCRIPTION = "OpenCL compute ICD Loader from Khronos Group"
|
DESCRIPTION = "OpenCL compute ICD Loader from Khronos Group"
|
||||||
LICENSE = "Khronos"
|
LICENSE = "Apache-2.0"
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ec724732ce73269486574c718ef0c79b"
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
|
||||||
SECTION = "base"
|
SECTION = "base"
|
||||||
|
|
||||||
|
DEPENDS += "opencl-headers"
|
||||||
|
|
||||||
inherit pkgconfig cmake
|
inherit pkgconfig cmake
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
SRCREV = "b342ff7b7f70a4b3f2cfc53215af8fa20adc3d86"
|
PV = "2020.06.16+git${SRCPV}"
|
||||||
|
SRCREV = "862eebe7ca733c398334a8db8481172a7d3a3c47"
|
||||||
SRC_URI = "git://github.com/KhronosGroup/OpenCL-ICD-Loader.git"
|
SRC_URI = "git://github.com/KhronosGroup/OpenCL-ICD-Loader.git"
|
||||||
|
|
||||||
do_install () {
|
do_install () {
|
||||||
install -d ${D}${bindir}
|
install -d ${D}${bindir}
|
||||||
install -m 0755 ${B}/bin/icd_loader_test ${D}${bindir}/
|
install -m 0755 ${B}/test/loader_test/icd_loader_test ${D}${bindir}/
|
||||||
chrpath -d ${D}${bindir}/icd_loader_test
|
chrpath -d ${D}${bindir}/icd_loader_test
|
||||||
install -d ${D}${libdir}
|
install -d ${D}${libdir}
|
||||||
install -m 0644 ${B}/lib/libIcdLog.so ${D}${libdir}/
|
install -m 0644 ${B}/test/log/libIcdLog.so ${D}${libdir}/
|
||||||
install -m 0644 ${B}/lib/libOpenCLDriverStub.so ${D}${libdir}/
|
install -m 0644 ${B}/test/driver_stub/libOpenCLDriverStub.so ${D}${libdir}/
|
||||||
chrpath -d ${D}${libdir}/libOpenCLDriverStub.so
|
chrpath -d ${D}${libdir}/libOpenCLDriverStub.so
|
||||||
install -m 0644 ${B}/lib/libOpenCL.so.1.2 ${D}${libdir}/
|
install -m 0644 ${B}/libOpenCL.so.1.2 ${D}${libdir}/
|
||||||
cd ${D}${libdir}
|
cd ${D}${libdir}
|
||||||
ln -s libOpenCL.so.1.2 libOpenCL.so.1
|
ln -s libOpenCL.so.1.2 libOpenCL.so.1
|
||||||
ln -s libOpenCL.so.1 libOpenCL.so
|
ln -s libOpenCL.so.1 libOpenCL.so
|
||||||
@@ -41,5 +44,4 @@ FILES_${PN}-dev = " \
|
|||||||
FILES_libicdlog = "${libdir}/libIcdLog.so"
|
FILES_libicdlog = "${libdir}/libIcdLog.so"
|
||||||
FILES_libicdlog-dbg = "${libdir}/.debug/libIcdLog.so"
|
FILES_libicdlog-dbg = "${libdir}/.debug/libIcdLog.so"
|
||||||
|
|
||||||
DEPENDS = "opencl-headers"
|
|
||||||
RDEPENDS_${PN} = "libicdlog"
|
RDEPENDS_${PN} = "libicdlog"
|
||||||
|
|||||||
Reference in New Issue
Block a user