[libc-commits] [libc] 28695dd - [libc] Disable block test on NVPTX

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Mon Jul 8 19:59:40 PDT 2024


Author: Joseph Huber
Date: 2024-07-08T21:59:34-05:00
New Revision: 28695dd104ef3a27f9410663640aa8f5b99f8c34

URL: https://github.com/llvm/llvm-project/commit/28695dd104ef3a27f9410663640aa8f5b99f8c34
DIFF: https://github.com/llvm/llvm-project/commit/28695dd104ef3a27f9410663640aa8f5b99f8c34.diff

LOG: [libc] Disable block test on NVPTX

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.

Added: 
    

Modified: 
    libc/test/src/__support/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libc/test/src/__support/CMakeLists.txt b/libc/test/src/__support/CMakeLists.txt
index e1de08e32ea76..ee0db6b250385 100644
--- a/libc/test/src/__support/CMakeLists.txt
+++ b/libc/test/src/__support/CMakeLists.txt
@@ -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


        


More information about the libc-commits mailing list