diff options
Diffstat (limited to 'meta-xilinx/meta-xilinx-bsp/recipes-xrt/xrt/xrt_git.bb')
-rw-r--r-- | meta-xilinx/meta-xilinx-bsp/recipes-xrt/xrt/xrt_git.bb | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/meta-xilinx/meta-xilinx-bsp/recipes-xrt/xrt/xrt_git.bb b/meta-xilinx/meta-xilinx-bsp/recipes-xrt/xrt/xrt_git.bb deleted file mode 100644 index 97a7a4012..000000000 --- a/meta-xilinx/meta-xilinx-bsp/recipes-xrt/xrt/xrt_git.bb +++ /dev/null @@ -1,56 +0,0 @@ -SUMMARY = "Xilinx Runtime(XRT) libraries" -DESCRIPTION = "Xilinx Runtime User Space Libraries and headers" - -LICENSE = "GPLv2 & Apache-2.0" -LIC_FILES_CHKSUM = "file://../LICENSE;md5=da5408f748bce8a9851dac18e66f4bcf \ - file://runtime_src/core/edge/drm/zocl/LICENSE;md5=7d040f51aae6ac6208de74e88a3795f8 \ - file://runtime_src/core/pcie/driver/linux/xocl/LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ - file://runtime_src/core/pcie/linux/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ - file://runtime_src/core/pcie/tools/xbutil/LICENSE;md5=d273d63619c9aeaf15cdaf76422c4f87 \ - file://runtime_src/core/edge/tools/xbutil/LICENSE;md5=d273d63619c9aeaf15cdaf76422c4f87 " - -BRANCH ?= "2020.2" -REPO ?= "git://github.com/Xilinx/XRT.git;protocol=https" -BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" -SRC_URI = "${REPO};${BRANCHARG}" - -PV = "202020.2.8.0" -SRCREV ?= "f19a872233fbfe2eb933f25fa3d9a780ced774e5" - -S = "${WORKDIR}/git/src" - -inherit cmake - -BBCLASSEXTEND = "native nativesdk" - -# util-linux is for libuuid-dev. -DEPENDS = "libdrm opencl-headers ocl-icd opencl-clhpp boost util-linux git-replacement-native protobuf-native protobuf" -RDEPENDS_${PN} = "bash ocl-icd boost-system boost-filesystem" - -EXTRA_OECMAKE += " \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_EXPORT_COMPILE_COMANDS=ON \ - " - -PACKAGE_ARCH_versal-ai-core = "${SOC_VARIANT_ARCH}" -EXTRA_OECMAKE_append_versal-ai-core += "-DXRT_AIE_BUILD=true" -TARGET_CXXFLAGS_append_versal-ai-core += "-DXRT_ENABLE_AIE" -DEPENDS_append_versal-ai-core += " libmetal libxaiengine" -RDEPENDS_${PN}_append_versal-ai-core += " libxaiengine" - -FILES_SOLIBSDEV = "" -FILES_${PN} += "\ - ${libdir}/lib*.so \ - ${libdir}/lib*.so.* \ - /lib/*.so* " -INSANE_SKIP_${PN} += "dev-so" - -pkg_postinst_ontarget_${PN}() { - #!/bin/sh - if [ ! -e /etc/OpenCL/vendors/xilinx.icd ]; then - echo "INFO: Creating ICD entry for Xilinx Platform" - mkdir -p /etc/OpenCL/vendors - echo "libxilinxopencl.so" > /etc/OpenCL/vendors/xilinx.icd - chmod -R 755 /etc/OpenCL - fi -} |