diff options
Diffstat (limited to 'flang-rt/lib/runtime/CMakeLists.txt')
| -rw-r--r-- | flang-rt/lib/runtime/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/flang-rt/lib/runtime/CMakeLists.txt b/flang-rt/lib/runtime/CMakeLists.txt index dc2db1d9902c..6548ec955b2b 100644 --- a/flang-rt/lib/runtime/CMakeLists.txt +++ b/flang-rt/lib/runtime/CMakeLists.txt @@ -177,6 +177,11 @@ endif () if ("${LLVM_RUNTIMES_TARGET}" MATCHES "^amdgcn|^nvptx") set(sources ${gpu_sources}) +elseif(FLANG_RT_EXPERIMENTAL_OFFLOAD_SUPPORT STREQUAL "CUDA") + # findloc.cpp has some issues with higher compute capability. Remove it + # from CUDA build until we can lower its memory footprint. + list(REMOVE_ITEM supported_sources findloc.cpp) + set(sources ${supported_sources}) else () set(sources ${supported_sources} ${host_sources} ${f128_sources}) endif () |
