[all-commits] [llvm/llvm-project] 7547d0: [libc] Add dependency on the loader for GPU tests

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Apr 17 07:38:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7547d0b602f59cf3fedb17e280014d2708f427da
      https://github.com/llvm/llvm-project/commit/7547d0b602f59cf3fedb17e280014d2708f427da
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-04-17 (Mon, 17 Apr 2023)

  Changed paths:
    M libc/cmake/modules/LLVMLibCTestRules.cmake

  Log Message:
  -----------
  [libc] Add dependency on the loader for GPU tests

Summary:
We need a dependency here so the loader is up-to-date whenever we run
the tests again.


  Commit: 2069bce4cfef31468c979e7d157d8fe84bfd2a70
      https://github.com/llvm/llvm-project/commit/2069bce4cfef31468c979e7d157d8fe84bfd2a70
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-04-17 (Mon, 17 Apr 2023)

  Changed paths:
    M libc/cmake/modules/LLVMLibCTestRules.cmake

  Log Message:
  -----------
  [libc][fix] Only use the object files when targeting NVPTX

Summary:
The `nvlink` linker doesn't support static libraries, so we just pass in
the object files. The condition was erroneously doing this for every
single GPU architecture and not just NVIDIA. The AMDGPU support handles
static libraries just fine.


Compare: https://github.com/llvm/llvm-project/compare/c3ec3ed2a1f3...2069bce4cfef


More information about the All-commits mailing list