Summary: I am going to rework these tools to just me LLVM tools. This patch is pretty much NFC to set up the CMake for that.
16 lines
227 B
CMake
16 lines
227 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
BinaryFormat
|
|
Object
|
|
Option
|
|
Support
|
|
)
|
|
|
|
add_llvm_executable(nvptx-loader nvptx-loader.cpp)
|
|
|
|
target_link_libraries(nvptx-loader
|
|
PRIVATE
|
|
gpu_loader
|
|
llvmlibc_rpc_server
|
|
CUDA::cuda_driver
|
|
)
|