Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / libc / utils / gpu / loader / nvptx / CMakeLists.txt
blob0c76c49fa309854953ef7d2d4becd9f208f6593b
1 add_executable(nvptx_loader Loader.cpp)
2 add_dependencies(nvptx_loader libc.src.__support.RPC.rpc)
4 if(NOT LLVM_ENABLE_RTTI)
5   target_compile_options(nvptx_loader PRIVATE -fno-rtti)
6 endif()
7 target_include_directories(nvptx_loader PRIVATE ${LLVM_INCLUDE_DIRS})
8 target_link_libraries(nvptx_loader
9   PRIVATE
10   gpu_loader
11   llvmlibc_rpc_server
12   CUDA::cuda_driver
13   LLVMObject
14   LLVMSupport