[all-commits] [llvm/llvm-project] a602c2: [libomptarget][DeviceRTL] Generalise and simplify ...

Jon Chesterfield via All-commits all-commits at lists.llvm.org
Thu Oct 21 08:15:08 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a602c2b51dccc756c12e7585c34710aeaef54e0b
      https://github.com/llvm/llvm-project/commit/a602c2b51dccc756c12e7585c34710aeaef54e0b
  Author: Jon Chesterfield <jonathanchesterfield at gmail.com>
  Date:   2021-10-21 (Thu, 21 Oct 2021)

  Changed paths:
    M openmp/libomptarget/DeviceRTL/CMakeLists.txt

  Log Message:
  -----------
  [libomptarget][DeviceRTL] Generalise and simplify cmakelists

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.

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D111983




More information about the All-commits mailing list