You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
361 B
20 lines
361 B
7 months ago
|
set(LLVM_LINK_COMPONENTS BitWriter Core Support TransformUtils)
|
||
|
|
||
|
add_clang_tool(clang-offload-wrapper
|
||
|
ClangOffloadWrapper.cpp
|
||
|
|
||
|
DEPENDS
|
||
|
intrinsics_gen
|
||
|
)
|
||
|
|
||
|
set(CLANG_OFFLOAD_WRAPPER_LIB_DEPS
|
||
|
clangBasic
|
||
|
)
|
||
|
|
||
|
add_dependencies(clang clang-offload-wrapper)
|
||
|
|
||
|
clang_target_link_libraries(clang-offload-wrapper
|
||
|
PRIVATE
|
||
|
${CLANG_OFFLOAD_WRAPPER_LIB_DEPS}
|
||
|
)
|