[all-commits] [llvm/llvm-project] 4ce454: [Clang] Configure definitions for amdgpu/nvptx arc...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Jan 17 12:27:49 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ce454c654bd4e027fbdcd7b1dba9d164cd36463
      https://github.com/llvm/llvm-project/commit/4ce454c654bd4e027fbdcd7b1dba9d164cd36463
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-01-17 (Tue, 17 Jan 2023)

  Changed paths:
    M clang/tools/amdgpu-arch/AMDGPUArch.cpp
    M clang/tools/amdgpu-arch/CMakeLists.txt
    M clang/tools/nvptx-arch/CMakeLists.txt
    M clang/tools/nvptx-arch/NVPTXArch.cpp

  Log Message:
  -----------
  [Clang] Configure definitions for amdgpu/nvptx arch query tools

Summary:
These tools are built unconditionally now. However, there seemed to be
problems where the headers would be found during cross compilation, but
no libraries present. To combat this we should elect to make the CMake
indicate whether or not we should use the dynamic library method or link
it directly rather than using `__has_include`.




More information about the All-commits mailing list