Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "aie-codegen"]
path = aie-codegen
url = https://github.com/Xilinx/aie-codegen.git
branch = main
1 change: 1 addition & 0 deletions aie-codegen
Submodule aie-codegen added at 407d73
14 changes: 14 additions & 0 deletions profile/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,19 @@ install(TARGETS xdp_core
RUNTIME DESTINATION ${XRT_INSTALL_BIN_DIR} COMPONENT ${XRT_COMPONENT}
LIBRARY DESTINATION ${XRT_INSTALL_LIB_DIR} COMPONENT ${XRT_COMPONENT} NAMELINK_SKIP)

# Build aie_codegen + fal for XDP consumers only
if (XDP_CLIENT_BUILD_CMAKE STREQUAL "yes" OR XDP_VE2_BUILD_CMAKE STREQUAL "yes")
set(AIE_CODEGEN_DIR ${CMAKE_CURRENT_BINARY_DIR}/../aie-codegen/src)
set(AIE_CODEGEN_BUILD_SHARED OFF CACHE BOOL "" FORCE)

xrt_add_subdirectory_disable_install_target(../aie-codegen/src ${CMAKE_CURRENT_BINARY_DIR}/../aie-codegen/src)

if (XDP_VE2_BUILD_CMAKE STREQUAL "yes")
set(AIEBU_SOURCE_DIR ${XRT_SOURCE_DIR}/runtime_src/core/common/aiebu)
xrt_add_subdirectory_disable_install_target(../aie-codegen/fal ${CMAKE_CURRENT_BINARY_DIR}/../aie-codegen/fal)
set(AIEFAL_DIR ${CMAKE_CURRENT_BINARY_DIR}/../aie-codegen/fal/src/include)
endif()
endif()

# Build the individual plugins
add_subdirectory(plugin)
Loading