[all-commits] [llvm/llvm-project] 9f64fb: [Clang] Do not attempt to directly link arch tools...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Jan 31 09:56:48 PST 2023


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

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

  Log Message:
  -----------
  [Clang] Do not attempt to directly link arch tools in 32-bit mode

Summary:
We offer almost no support for offloading on 32-bit systems. This causes
some problems when cross-compiling for 32-bit machines as it will find
the CUDA from the host that is incompatible. Instead we force these to
always use the dynamically loaded version, which should always compile.




More information about the All-commits mailing list