Skip to content

Commit 7fcc336

Browse files
committed
[flang][rt] Remove findloc.cpp from supported_sources fro CUDA build
1 parent 9f8988a commit 7fcc336

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

flang-rt/lib/runtime/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@ endif ()
178178
if ("${LLVM_RUNTIMES_TARGET}" MATCHES "^amdgcn|^nvptx")
179179
set(sources ${gpu_sources})
180180
elseif(FLANG_RT_EXPERIMENTAL_OFFLOAD_SUPPORT STREQUAL "CUDA")
181+
# findloc.cpp has some issues with higher compute capability. Remove it
182+
# from CUDA build until we can lower its memory footprint.
183+
list(REMOVE_ITEM supported_sources findloc.cpp)
181184
set(sources ${supported_sources})
182185
else ()
183186
set(sources ${supported_sources} ${host_sources} ${f128_sources})

0 commit comments

Comments
 (0)