1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
add_executable(nvptx-loader Loader.cpp) add_dependencies(nvptx-loader libc.src.__support.RPC.rpc) if(NOT LLVM_ENABLE_RTTI) target_compile_options(nvptx-loader PRIVATE -fno-rtti) endif() target_include_directories(nvptx-loader PRIVATE ${LLVM_INCLUDE_DIRS}) target_link_libraries(nvptx-loader PRIVATE gpu_loader llvmlibc_rpc_server CUDA::cuda_driver LLVMObject LLVMSupport )