Skip to content

Commit 6de97e9

Browse files
committed
[libc] Allow NVPTX targets to build in debug mode
Summary: This previously did not work, but recent improvements to the NVPTX backend allow this to work now.
1 parent a5506a3 commit 6de97e9

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

libc/cmake/modules/prepare_libc_gpu_build.cmake

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,6 @@ else()
7272
endif()
7373
set(LIBC_GPU_TARGET_ARCHITECTURE "${gpu_test_architecture}")
7474

75-
# The NVPTX backend cannot currently handle objects created in debug mode.
76-
if(LIBC_TARGET_ARCHITECTURE_IS_NVPTX AND CMAKE_BUILD_TYPE STREQUAL "Debug")
77-
set(LIBC_GPU_TESTS_DISABLED TRUE)
78-
endif()
79-
8075
# Identify the GPU loader utility used to run tests.
8176
set(LIBC_GPU_LOADER_EXECUTABLE "" CACHE STRING "Executable for the GPU loader.")
8277
if(LIBC_GPU_LOADER_EXECUTABLE)

0 commit comments

Comments
 (0)