Skip to content

Commit cc3d095

Browse files
[sycl-post-link] Fixed build with shared libraries (#3221)
1 parent b846e14 commit cc3d095

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

llvm/tools/sycl-post-link/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ set(LLVM_LINK_COMPONENTS
66
Support
77
TransformUtils
88
SYCLLowerIR
9+
InstCombine
10+
ScalarOpts
911
)
1012

1113
get_property(LLVMGenXIntrinsics_SOURCE_DIR GLOBAL PROPERTY LLVMGenXIntrinsics_SOURCE_PROP)
@@ -28,3 +30,5 @@ add_llvm_tool(sycl-post-link
2830
intrinsics_gen
2931
LLVMGenXIntrinsics
3032
)
33+
34+
target_link_libraries(sycl-post-link PRIVATE LLVMGenXIntrinsics)

0 commit comments

Comments
 (0)