Skip to content

Commit

Permalink
Integrate aiebu as a submodule into XRT (Xilinx#8336)
Browse files Browse the repository at this point in the history
* Integrate aiebu as a submodule into XRT

Signed-off-by: Sonal Santan <[email protected]>

* Disable build of aiebu submodule on edge devices for now till the XRT edge build failure due to XAIE_IO_BACKEND_LINUX vs XAIE_IO_BACKEND_IPU issue is resolved

Signed-off-by: Sonal Santan <[email protected]>

---------

Signed-off-by: Sonal Santan <[email protected]>
  • Loading branch information
sonals authored Aug 9, 2024
1 parent 4f5a899 commit 45bbda5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
[submodule "src/runtime_src/core/common/gsl"]
path = src/runtime_src/core/common/gsl
url = https://github.com/microsoft/GSL.git
[submodule "src/runtime_src/core/common/aiebu"]
path = src/runtime_src/core/common/aiebu
url = https://github.com/Xilinx/aiebu.git
8 changes: 8 additions & 0 deletions src/runtime_src/core/common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
add_subdirectory(api)
add_subdirectory(xdp)

if(CMAKE_VERSION VERSION_LESS "3.18.0")
message(WARNING "CMake version is less than 3.18.0, build of submodule aiebu disabled")
elseif(DEFINED XRT_AIE_BUILD)
message(WARNING "Edge Versal device, build of submodule aiebu disabled")
else()
add_subdirectory(aiebu)
endif()

add_library(core_common_library_objects OBJECT
config_reader.cpp
debug.cpp
Expand Down
1 change: 1 addition & 0 deletions src/runtime_src/core/common/aiebu
Submodule aiebu added at 2a8ad7

0 comments on commit 45bbda5

Please sign in to comment.