Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions libc/src/__support/GPU/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_ARCHITECTURE})
# These utilities are GPU only.
if(NOT LIBC_TARGET_OS_IS_GPU)
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(
Expand All @@ -21,6 +17,6 @@ add_object_library(
allocator.h
DEPENDS
libc.src.__support.common
libc.src.__support.GPU.utils
libc.src.__support.RPC.rpc_client
.utils
)
7 changes: 0 additions & 7 deletions libc/src/__support/GPU/amdgpu/CMakeLists.txt

This file was deleted.

183 changes: 0 additions & 183 deletions libc/src/__support/GPU/amdgpu/utils.h

This file was deleted.

7 changes: 0 additions & 7 deletions libc/src/__support/GPU/generic/CMakeLists.txt

This file was deleted.

84 changes: 0 additions & 84 deletions libc/src/__support/GPU/generic/utils.h

This file was deleted.

7 changes: 0 additions & 7 deletions libc/src/__support/GPU/nvptx/CMakeLists.txt

This file was deleted.

Loading
Loading