[all-commits] [llvm/llvm-project] 067a5c: [amdgpu-arch] Fix build of amdgpu-arch with CLANG_...

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri Feb 10 06:24:16 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 067a5c68845c13d45e85ec9eaa11d2b2d829bab4
      https://github.com/llvm/llvm-project/commit/067a5c68845c13d45e85ec9eaa11d2b2d829bab4
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-02-10 (Fri, 10 Feb 2023)

  Changed paths:
    M clang/tools/amdgpu-arch/CMakeLists.txt

  Log Message:
  -----------
  [amdgpu-arch] Fix build of amdgpu-arch with CLANG_LINK_CLANG_DYLIB

The function clang_target_link_libraries must only be used with real
Clang libraries; with CLANG_LINK_CLANG_DYLIB, it will instead link in
clang-cpp. We must use the standard CMake target_link_libraries for
the HSA library.




More information about the All-commits mailing list