This is an archive of the discontinued LLVM Phabricator instance.

[libc] Forward CUDA options to the runtimes invocation of `libc`
ClosedPublic

Authored by jhuber6 on Apr 4 2023, 4:33 PM.

Details

Summary

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.

Diff Detail

Event Timeline

jhuber6 created this revision.Apr 4 2023, 4:33 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 4 2023, 4:33 PM
jhuber6 requested review of this revision.Apr 4 2023, 4:33 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 4 2023, 4:33 PM
tra accepted this revision.Apr 4 2023, 4:45 PM
This revision is now accepted and ready to land.Apr 4 2023, 4:45 PM
This revision was landed with ongoing or failed builds.Apr 4 2023, 5:51 PM
This revision was automatically updated to reflect the committed changes.