Since D137724 and the LLVM 17 release we have updated to CMake version
3.20. This means that find_package(CUDA) is officially deprecated and
can be replaced with find_package(CUDAToolkit) instead. This patch
does this and also cleans up a bit of the CMake.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This patch contains the cleanup and deprecation of old CMake find package stuff. Better to split them.
Comment Actions
This required changing it to CUDA::cuda_driver in the link libs. So I figured I'd just clean it up while I was there. It'd be a little annoying to split them but I can do that if necessary.