xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/opencl/clinfo_3.0.21.02.21.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Enumerate all known properties of OpenCL platform and devices."
2*4882a593SmuzhiyunDESCRIPTION = "clinfo is a simple command-line application that enumerates \
3*4882a593Smuzhiyunall possible (known) properties of the OpenCL platform and devices \
4*4882a593Smuzhiyunavailable on the system."
5*4882a593SmuzhiyunHOMEPAGE = "https://github.com/Oblomov/clinfo"
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunLICENSE = "CC0-1.0"
8*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://LICENSE;md5=fd8857f774dfb0eefe1e80c8f9240a7e"
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunSRC_URI = "git://github.com/Oblomov/clinfo.git;protocol=https;branch=master"
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunSRCREV = "d34bc1a3bdc148e2e1fe64998398e1a0552ab04c"
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunS = "${WORKDIR}/git"
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunDEPENDS += "opencl-headers opencl-icd-loader"
17*4882a593Smuzhiyun
18*4882a593Smuzhiyundo_install() {
19*4882a593Smuzhiyun        install -D -m 755 clinfo ${D}${bindir}/clinfo
20*4882a593Smuzhiyun}
21