mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-17 17:46:49 +00:00

Summary: This patch moves the RPC server handling to be a header only utility stored in the `shared/` directory. This is intended to be shared within LLVM for the loaders and `offload/` handling. Generally, this makes it easier to share code without weird cross-project binaries being plucked out of the build system. It also allows us to soon move the loader interface out of the `libc` project so that we don't need to bootstrap those and can build them in LLVM.
11 lines
232 B
CMake
11 lines
232 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
BinaryFormat
|
|
Object
|
|
Option
|
|
Support
|
|
FrontendOffloading
|
|
)
|
|
|
|
add_llvm_executable(amdhsa-loader amdhsa-loader.cpp)
|
|
target_link_libraries(amdhsa-loader PRIVATE hsa-runtime64::hsa-runtime64 gpu_loader)
|