summaryrefslogtreecommitdiff
path: root/libc/src/__support/GPU/CMakeLists.txt
blob: 72a7879f72224c622ac0a3d6d3e7366224a864e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# These utilities are GPU only.
if(NOT LIBC_TARGET_OS_IS_GPU)
  return()
endif()

add_header_library(
  utils
  HDRS
    utils.h
)

add_header_library(
  fixedstack
  HDRS
    fixedstack.h
)

add_object_library(
  allocator
  SRCS
    allocator.cpp
  HDRS
    allocator.h
  DEPENDS
    libc.hdr.stdint_proxy
    libc.src.__support.common
    libc.src.__support.RPC.rpc_client
    libc.src.__support.CPP.atomic
    libc.src.__support.CPP.bit
    libc.src.__support.CPP.new
    .utils
    .fixedstack
)