blob: 28fd9a1ebcc97ed3e3c148d623c1b916fdbde885 [file] [log] [blame]
if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_ARCHITECTURE})
return()
endif()
add_subdirectory(${LIBC_TARGET_ARCHITECTURE})
set(target_gpu_utils libc.src.__support.GPU.${LIBC_TARGET_ARCHITECTURE}.${LIBC_TARGET_ARCHITECTURE}_utils)
add_header_library(
utils
HDRS
utils.h
DEPENDS
${target_gpu_utils}
)
add_object_library(
allocator
SRCS
allocator.cpp
HDRS
allocator.h
DEPENDS
libc.src.__support.common
libc.src.__support.GPU.utils
libc.src.__support.RPC.rpc_client
)