[libc] Forward CUDA options to the runtimes invocation of `libc`
authorJoseph Huber <jhuber6@vols.utk.edu>
Tue, 4 Apr 2023 23:32:00 +0000 (18:32 -0500)
committerJoseph Huber <jhuber6@vols.utk.edu>
Wed, 5 Apr 2023 00:50:34 +0000 (19:50 -0500)
commit7032f6d9503f5945ceee47e7338b8fcd1a0f6f83
treee9bcd466e327b422317b813f720f335e5cab5714
parentb8fab512e9557dfcc7c886f0bf594f6c1e2f850d
[libc] Forward CUDA options to the runtimes invocation of `libc`

Some configurations may require `-DCUDAToolkit_ROOT` to find CUDA
properly. This is currently not forwarded to the CMake invocation. This
patch adds a prefix so it will be visible when the runtimes build is
started.

Reviewed By: tra

Differential Revision: https://reviews.llvm.org/D147582
llvm/runtimes/CMakeLists.txt