[Openmp-commits] [PATCH] D111983: [libomptarget][DeviceRTL] Generalise and simplify cmakelists

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Oct 18 03:58:09 PDT 2021


JonChesterfield created this revision.
JonChesterfield added reviewers: jdoerfert, tianshilei1992, ronlieb, protze.joachim, Meinersbur.
Herald added subscribers: tpr, mgorny.
JonChesterfield requested review of this revision.
Herald added a project: OpenMP.
Herald added a subscriber: openmp-commits.

Step towards building the DeviceRTL for amdgpu.

Mostly replaces cuda-specific toolchain finding logic with the
generic logic currently found in the amdgpu deviceRTL cmake. Also
deletes dead code and changes the default to build on systems
without cuda installed, as the library doesn't use cuda and the
amdgpu-only systems generally won't have cuda installed.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D111983

Files:
  openmp/libomptarget/DeviceRTL/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111983.380333.patch
Type: text/x-patch
Size: 7957 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20211018/557d8c9b/attachment-0001.bin>


More information about the Openmp-commits mailing list