Skip to content

Commit ad757fb

Browse files
committed
Buildbot flang-runtime-cuda-gcc uses CMAKE_CUDA_*
Needs to be propagated to runtime in order to continue to work.
1 parent 6c1ed4e commit ad757fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/runtimes/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ function(runtime_default_target)
277277
${ARG_CMAKE_ARGS}
278278
PASSTHROUGH_PREFIXES LLVM_ENABLE_RUNTIMES
279279
LLVM_USE_LINKER
280-
CUDA # For runtimes that may look for the CUDA SDK (libc, offload, flang-rt)
280+
CUDA CMAKE_CUDA # For runtimes that may look for the CUDA compiler and/or SDK (libc, offload, flang-rt)
281281
FLANG_RUNTIME # Shared between Flang and Flang-RT
282282
${ARG_PREFIXES}
283283
EXTRA_TARGETS ${extra_targets}

0 commit comments

Comments
 (0)