[all-commits] [llvm/llvm-project] 322ea5: [libomptarget][amdgpu] enable tests whenever possi...

Ye Luo via All-commits all-commits at lists.llvm.org
Wed Aug 24 12:33:56 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 322ea53144e82c34d5c933cb4ce5a83807e3b67e
      https://github.com/llvm/llvm-project/commit/322ea53144e82c34d5c933cb4ce5a83807e3b67e
  Author: Ye Luo <yeluo at anl.gov>
  Date:   2022-08-24 (Wed, 24 Aug 2022)

  Changed paths:
    M openmp/libomptarget/plugins/amdgpu/CMakeLists.txt

  Log Message:
  -----------
  [libomptarget][amdgpu] enable tests whenever possible.

if(TARGET amdgpu-arch) doesn't work when ENABLE_LLVM_PROJECTS=openmp because openmp subdirectory is processed before clang subdirectory. Adopt the same logic of enabling tests like the CUDA plugin.

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




More information about the All-commits mailing list