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 authored and kswiecicki committed Jul 25, 2024
1 parent 3067e3d commit 1f804f0
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 1f804f0

Please sign in to comment.