Revert "[libc] Use best-fit binary trie to make malloc logarithmic" (#117065)
[llvm-project.git] / libc / src / __support / GPU / CMakeLists.txt
blob28fd9a1ebcc97ed3e3c148d623c1b916fdbde885
1 if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_ARCHITECTURE})
2   return()
3 endif()
5 add_subdirectory(${LIBC_TARGET_ARCHITECTURE})
6 set(target_gpu_utils libc.src.__support.GPU.${LIBC_TARGET_ARCHITECTURE}.${LIBC_TARGET_ARCHITECTURE}_utils)
8 add_header_library(
9   utils
10   HDRS
11     utils.h
12   DEPENDS
13     ${target_gpu_utils}
16 add_object_library(
17   allocator
18   SRCS
19     allocator.cpp
20   HDRS
21     allocator.h
22   DEPENDS
23     libc.src.__support.common
24     libc.src.__support.GPU.utils
25     libc.src.__support.RPC.rpc_client