mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
dev-util/xrt: fix live ebuild
Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
This commit is contained in:
@@ -6,27 +6,29 @@ EAPI=8
|
|||||||
PYTHON_COMPAT=( python3_{12..14} )
|
PYTHON_COMPAT=( python3_{12..14} )
|
||||||
inherit bash-completion-r1 cmake python-any-r1
|
inherit bash-completion-r1 cmake python-any-r1
|
||||||
|
|
||||||
declare -A submodules
|
|
||||||
submodules["src/runtime_src/aie-rt"]=https://github.com/Xilinx/aie-rt.git@a8b0667133ea2851ce27793a1796c5968226d9af
|
|
||||||
submodules["src/runtime_src/core/common/aiebu"]=https://github.com/Xilinx/aiebu.git@9065273e0c0a4ac5930fff904ac245cf38dd3087
|
|
||||||
submodules["src/runtime_src/core/common/elf"]=https://github.com/serge1/ELFIO.git@f849001fc229c2598f8557e0df22866af194ef98
|
|
||||||
|
|
||||||
DESCRIPTION="Runtime for AIE and FPGA based platforms"
|
DESCRIPTION="Runtime for AIE and FPGA based platforms"
|
||||||
HOMEPAGE="https://github.com/Xilinx/XRT"
|
HOMEPAGE="https://github.com/Xilinx/XRT"
|
||||||
|
|
||||||
MGS_HASH=554d75e924ed621f23d077b0495c247c329bc770
|
|
||||||
MGS=markdown_graphviz_svg
|
|
||||||
MGS_PY=${MGS}-${MGS_HASH:0:8}.py
|
|
||||||
|
|
||||||
if [[ ${PV} == 999999 ]] ; then
|
if [[ ${PV} == 999999 ]] ; then
|
||||||
EGIT_REPO_URI="https://github.com/Xilinx/XRT.git"
|
EGIT_REPO_URI="https://github.com/Xilinx/XRT.git"
|
||||||
EGIT_SUBMODULES=(
|
EGIT_SUBMODULES=(
|
||||||
src/runtime_src/aie-rt
|
src/runtime_src/aie-rt
|
||||||
src/runtime_src/core/common/aiebu
|
src/runtime_src/core/common/aiebu
|
||||||
src/runtime_src/core/common/elf
|
src/runtime_src/core/common/elf
|
||||||
|
src/runtime_src/xdp
|
||||||
|
src/runtime_src/core/common/aiebu/src/cpp/ELFIO
|
||||||
)
|
)
|
||||||
inherit git-r3
|
inherit git-r3
|
||||||
else
|
else
|
||||||
|
declare -A submodules
|
||||||
|
submodules["src/runtime_src/aie-rt"]=https://github.com/Xilinx/aie-rt.git@a8b0667133ea2851ce27793a1796c5968226d9af
|
||||||
|
submodules["src/runtime_src/core/common/aiebu"]=https://github.com/Xilinx/aiebu.git@9065273e0c0a4ac5930fff904ac245cf38dd3087
|
||||||
|
submodules["src/runtime_src/core/common/elf"]=https://github.com/serge1/ELFIO.git@f849001fc229c2598f8557e0df22866af194ef98
|
||||||
|
|
||||||
|
MGS_HASH=554d75e924ed621f23d077b0495c247c329bc770
|
||||||
|
MGS=markdown_graphviz_svg
|
||||||
|
MGS_PY=${MGS}-${MGS_HASH:0:8}.py
|
||||||
|
|
||||||
SRC_URI="
|
SRC_URI="
|
||||||
https://github.com/Xilinx/XRT/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
|
https://github.com/Xilinx/XRT/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
|
||||||
https://raw.githubusercontent.com/Tanami/markdown-graphviz-svg/${MGS_HASH}/src/${MGS}/${MGS}.py -> ${MGS_PY}
|
https://raw.githubusercontent.com/Tanami/markdown-graphviz-svg/${MGS_HASH}/src/${MGS}/${MGS}.py -> ${MGS_PY}
|
||||||
@@ -76,9 +78,11 @@ BDEPEND="
|
|||||||
")
|
")
|
||||||
"
|
"
|
||||||
|
|
||||||
PATCHES=(
|
if [[ ${PV} != 999999 ]] ; then
|
||||||
"${FILESDIR}"/${PN}-202520.2.20.172-modern-protobuf.patch
|
PATCHES=(
|
||||||
)
|
"${FILESDIR}"/${PN}-202520.2.20.172-modern-protobuf.patch
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
python_check_deps() {
|
python_check_deps() {
|
||||||
python_has_version -b "dev-python/jinja2[${PYTHON_USEDEP}]" && \
|
python_has_version -b "dev-python/jinja2[${PYTHON_USEDEP}]" && \
|
||||||
|
|||||||
Reference in New Issue
Block a user