Skip to content

Commit

Permalink
[libc] Disable block test on NVPTX
Browse files Browse the repository at this point in the history
Summary:
We already disable the freelist, the block test also causes issues. We
don't use this code at all on the GPU so we can disable this test for
now.
  • Loading branch information
jhuber6 authored and aaryanshukla committed Jul 14, 2024
1 parent 60fb871 commit 597ed77
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions libc/test/src/__support/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
add_custom_target(libc-support-tests)

add_libc_test(
block_test
SUITE
libc-support-tests
SRCS
block_test.cpp
DEPENDS
libc.src.__support.CPP.array
libc.src.__support.CPP.bit
libc.src.__support.CPP.span
libc.src.__support.block
libc.src.string.memcpy
)

if(NOT LIBC_TARGET_ARCHITECTURE_IS_NVPTX)
add_libc_test(
block_test
SUITE
libc-support-tests
SRCS
block_test.cpp
DEPENDS
libc.src.__support.CPP.array
libc.src.__support.CPP.bit
libc.src.__support.CPP.span
libc.src.__support.block
libc.src.string.memcpy
)

add_libc_test(
freelist_test
SUITE
Expand Down

0 comments on commit 597ed77

Please sign in to comment.