diff --git a/libc/fuzzing/__support/CMakeLists.txt b/libc/fuzzing/__support/CMakeLists.txt index 6c750c7f8ed7a..d4b324db716f6 100644 --- a/libc/fuzzing/__support/CMakeLists.txt +++ b/libc/fuzzing/__support/CMakeLists.txt @@ -24,7 +24,9 @@ add_libc_fuzzer( -D__LIBC_EXPLICIT_SIMD_OPT ) -if(LLVM_LIBC_FULL_BUILD) +# TODO: FreeListHeap uses the _end symbol which conflicts with the _end symbol +# defined by GPU start.cpp files so for now we exclude this fuzzer on GPU. +if(LLVM_LIBC_FULL_BUILD AND NOT LIBC_TARGET_OS_IS_GPU) add_libc_fuzzer( freelist_heap_fuzz SRCS diff --git a/libc/test/src/__support/CMakeLists.txt b/libc/test/src/__support/CMakeLists.txt index 59bce9b96e396..aeb8edf305d05 100644 --- a/libc/test/src/__support/CMakeLists.txt +++ b/libc/test/src/__support/CMakeLists.txt @@ -55,7 +55,9 @@ if(NOT LIBC_TARGET_OS_IS_GPU) ) endif() -if(LLVM_LIBC_FULL_BUILD) +# TODO: FreeListHeap uses the _end symbol which conflicts with the _end symbol +# defined by GPU start.cpp files so for now we exclude this test on GPU. +if(LLVM_LIBC_FULL_BUILD AND NOT LIBC_TARGET_OS_IS_GPU) add_libc_test( freelist_heap_test SUITE