[Openmp-commits] [PATCH] D142568: [Libomptarget] Remove find_package(CUDA) as it has been deprecated

Joseph Huber via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Jan 25 11:21:48 PST 2023


jhuber6 created this revision.
jhuber6 added reviewers: tianshilei1992, JonChesterfield, ye-luo, kevinsala, jdoerfert.
Herald added subscribers: mattd, yaxunl.
Herald added a project: All.
jhuber6 requested review of this revision.
Herald added a project: OpenMP.
Herald added a subscriber: openmp-commits.

Since D137724 <https://reviews.llvm.org/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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D142568

Files:
  openmp/libomptarget/cmake/Modules/LibomptargetGetDependencies.cmake
  openmp/libomptarget/plugins-nextgen/cuda/CMakeLists.txt
  openmp/libomptarget/plugins/cuda/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142568.492196.patch
Type: text/x-patch
Size: 11420 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230125/9bf332b5/attachment-0001.bin>


More information about the Openmp-commits mailing list