We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19e28f0 commit 07f2a09Copy full SHA for 07f2a09
libdevice/cmake/modules/SYCLLibdevice.cmake
@@ -898,3 +898,13 @@ foreach(ftype IN LISTS filetypes)
898
COMPONENT libsycldevice)
899
endforeach()
900
901
+set(libsycldevice_build_targets)
902
+foreach(filetype IN LISTS filetypes)
903
+ list(APPEND libsycldevice_build_targets libsycldevice-${filetype})
904
+endforeach()
905
+
906
+add_custom_target(install-libsycldevice
907
+ COMMAND ${CMAKE_COMMAND} -DCMAKE_INSTALL_COMPONENT=libsycldevice -P ${CMAKE_BINARY_DIR}/cmake_install.cmake
908
+ DEPENDS ${libsycldevice_build_targets}
909
+)
910
+add_dependencies(deploy-sycl-toolchain install-libsycldevice)
0 commit comments