Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 1 | SUMMARY = "Xilinx Runtime(XRT) libraries" |
| 2 | DESCRIPTION = "Xilinx Runtime User Space Libraries and headers" |
| 3 | |
| 4 | LICENSE = "GPLv2 & Apache-2.0" |
| 5 | LIC_FILES_CHKSUM = "file://${WORKDIR}/git/LICENSE;md5=fa343562af4b9b922b8d7fe7b0b6d000 \ |
| 6 | file://runtime_src/driver/xclng/drm/xocl/LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
| 7 | file://runtime_src/driver/xclng/xrt/user_gem/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ |
| 8 | file://runtime_src/driver/xclng/tools/xbutil/LICENSE;md5=d273d63619c9aeaf15cdaf76422c4f87" |
| 9 | |
Brad Bishop | 754b8fa | 2019-08-20 09:16:20 -0400 | [diff] [blame] | 10 | SRC_URI = "git://github.com/Xilinx/XRT.git;protocol=https;nobranch=1" |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 11 | |
| 12 | PV = "2.2.0+git${SRCPV}" |
Brad Bishop | 754b8fa | 2019-08-20 09:16:20 -0400 | [diff] [blame] | 13 | SRCREV = "da87ac894a037d7e11c0496361458efed4bab438" |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 14 | |
| 15 | S = "${WORKDIR}/git/src" |
| 16 | |
| 17 | inherit cmake |
| 18 | |
| 19 | BBCLASSEXTEND = "native nativesdk" |
| 20 | |
| 21 | # util-linux is for libuuid-dev. |
| 22 | DEPENDS = "libdrm opencl-headers ocl-icd opencl-clhpp boost util-linux git-replacement-native" |
| 23 | RDEPENDS_${PN} = "bash ocl-icd boost-system boost-filesystem" |
| 24 | |
| 25 | EXTRA_OECMAKE += " \ |
| 26 | -DCMAKE_BUILD_TYPE=Release \ |
| 27 | -DCMAKE_EXPORT_COMPILE_COMANDS=ON \ |
| 28 | " |