summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp/recipes-xrt/xrt/xrt_git.bb
diff options
context:
space:
mode:
authorSai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>2020-10-29 15:39:57 -0700
committerSai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>2020-10-29 16:42:29 -0700
commitdc623bac0bfbdf374c5417c4eba7ff01918fd625 (patch)
tree10eda5c27353522c976605e82a8c3363d1128cce /meta-xilinx-bsp/recipes-xrt/xrt/xrt_git.bb
parentb3963be5447ea1b71ca11798ab9269b75b42178b (diff)
downloadmeta-xilinx-dc623bac0bfbdf374c5417c4eba7ff01918fd625.tar.gz
xrt_git.bb: Replace deprecated boost macros
xrt source includes boost/detail/endian.hpp to detect endianess. In Yocto, gatesgarth, boost version is 1.74 which has deprecated some older macros resulting in the below error /workspaces/ckalluri/yocto/master-dev/builds-versal/tmp/work/cortexa72-cortexa53-xilinx-linux/xrt/202010.2.7.0-r0/git/src/runtime_src/xocl/core/kernel.cpp:24:10: fatal error: boost/detail/e ndian.hpp: No such file or directory | 24 | | compilation terminated. To fix the compilation issue, currently include a patch on top of xrt source that replaces the deprecated BOOST_BYTE_ORDER macro with __BYTE_ORDER macro to detect endianess. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Diffstat (limited to 'meta-xilinx-bsp/recipes-xrt/xrt/xrt_git.bb')
-rw-r--r--meta-xilinx-bsp/recipes-xrt/xrt/xrt_git.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/recipes-xrt/xrt/xrt_git.bb b/meta-xilinx-bsp/recipes-xrt/xrt/xrt_git.bb
index e522d387..d891c272 100644
--- a/meta-xilinx-bsp/recipes-xrt/xrt/xrt_git.bb
+++ b/meta-xilinx-bsp/recipes-xrt/xrt/xrt_git.bb
@@ -14,6 +14,8 @@ REPO ?= "git://github.com/Xilinx/XRT.git;protocol=https"
14BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" 14BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
15SRC_URI = "${REPO};${BRANCHARG}" 15SRC_URI = "${REPO};${BRANCHARG}"
16 16
17FILESEXTRAPATHS_prepend := "${THISDIR}/xrt:"
18SRC_URI_append = " file://0001-Replace-boost-detail-endian.hpp-with-boost-predef-ot.patch"
17PV = "202010.2.7.0" 19PV = "202010.2.7.0"
18SRCREV ?= "8a4c6eb5012c57423fba468e1af8df53a293dcd5" 20SRCREV ?= "8a4c6eb5012c57423fba468e1af8df53a293dcd5"
19 21