Star81
27
代码介绍
代码
Issues9
Pull Requests9
流水线
Actions
讨论
Wiki
项目成员44
分析
项目设置
Star81
27
  1. msdebug
  2. /
  3. clang
  4. /
  5. tools
  6. /
  7. nvptx-arch
JJoseph Huber[Clang] Remove direct linking of offloading runtimes from the arch tools
66da9ec0创建于 2023年5月18日历史提交
文件最后提交记录最后更新时间
CMakeLists.txt
[Clang] Remove direct linking of offloading runtimes from the arch tools The tools amdgpu-arch and nvptx-arch are used to query the supported GPUs on a system to implement features like --offload-arch=native as well as generally being useful for setting up tests. However, we currently directly link these if they are availible. This patch removes this because it causes many problems on the user not having the libaries present or misconfigured at build time. Since these are built unconditionally we shoudl keep the dependencies away from clang. Fixes https://github.com/llvm/llvm-project/issues/62784 Reviewed By: ye-luo Differential Revision: https://reviews.llvm.org/D1508073 年前
NVPTXArch.cpp
[Clang] Remove direct linking of offloading runtimes from the arch tools The tools amdgpu-arch and nvptx-arch are used to query the supported GPUs on a system to implement features like --offload-arch=native as well as generally being useful for setting up tests. However, we currently directly link these if they are availible. This patch removes this because it causes many problems on the user not having the libaries present or misconfigured at build time. Since these are built unconditionally we shoudl keep the dependencies away from clang. Fixes https://github.com/llvm/llvm-project/issues/62784 Reviewed By: ye-luo Differential Revision: https://reviews.llvm.org/D1508073 年前