Skip to content

Commit

Permalink
Install libumf as part of level-zero-sycl-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
igchor committed Jul 11, 2024
1 parent 8304581 commit fcfb68a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sycl/plugins/unified_runtime/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -292,3 +292,11 @@ if ("native_cpu" IN_LIST SYCL_ENABLE_PLUGINS)
Some valid SYCL programs may not build or may have low performance.")
endif()
endif()

add_dependencies(sycl-runtime-libraries ur_umf)

# TODO: this is piggy-backing on the existing target component level-zero-sycl-dev
install(TARGETS umf
LIBRARY DESTINATION "lib${LLVM_LIBDIR_SUFFIX}" COMPONENT level-zero-sycl-dev
ARCHIVE DESTINATION "lib${LLVM_LIBDIR_SUFFIX}" COMPONENT level-zero-sycl-dev
RUNTIME DESTINATION "bin" COMPONENT level-zero-sycl-dev)

0 comments on commit fcfb68a

Please sign in to comment.