Skip to content

Commit 31fd1bb

Browse files
author
Alexander Johnston
committed
[SYCL] Update libclc install rules
Have libclc install clc-* and libspirv-* to lib and share Signed-off-by: Alexander Johnston <[email protected]>
1 parent 0d640ea commit 31fd1bb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

libclc/CMakeLists.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,3 +212,13 @@ foreach( t ${LIBCLC_TARGETS_TO_BUILD} )
212212
PARENT_TARGET libclc-builtins)
213213
endforeach( d )
214214
endforeach( t )
215+
216+
install(DIRECTORY ${LIBCLC_LIBRARY_OUTPUT_INTDIR}
217+
DESTINATION lib
218+
COMPONENT libspirv-builtins
219+
FILES_MATCHING PATTERN "libspirv-*")
220+
221+
install(DIRECTORY ${LIBCLC_LIBRARY_OUTPUT_INTDIR}
222+
DESTINATION lib
223+
COMPONENT clc-builtins
224+
FILES_MATCHING PATTERN "clc-*")

0 commit comments

Comments
 (0)