Skip to content

Commit

Permalink
[AIE] take care when creating check-lld-aie target
Browse files Browse the repository at this point in the history
Under some configurations, the dependencies might not exist.
  • Loading branch information
stephenneuendorffer committed Jun 7, 2024
1 parent f94c533 commit f2d030e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lld/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ add_subdirectory(wasm)
add_subdirectory(cmake/modules)

add_custom_target(check-lld-aie)
add_dependencies(check-lld-aie
check-lld-elf-aie
)
if(EXISTS check-lld-elf-aie)
add_dependencies(check-lld-aie
check-lld-elf-aie
)
endif()

0 comments on commit f2d030e

Please sign in to comment.