PPushpinder Singh[amdgpu-arch] Guard hsa.h with __has_include
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[amdgpu-arch] Guard hsa.h with __has_include This patch is suppose to fix the issue of hsa.h not found. Issue was reported in D99949 Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D102067 | 5 年前 | |
[amdgpu-arch] Fix rpath to run from build dir [amdgpu-arch] Fix rpath to run from build dir Prior to this, amdgpu-arch has RUNPATH set to $ORIGIN/../lib which works for some installs, but not from the build directory where clang executes the tool from when running tests. This cmake option adds the location of the rocr runtime to the RUNPATH (note, it amends RUNPATH here, despite the cmake option referring to RPATH) to create a binary that runs from build or install location. Before: RUNPATH [$ORIGIN/../lib] After: RUNPATH [$ORIGIN/../lib:$HOME/llvm-install/lib] Credit to Greg for knowing this trick and pointing to examples of it in use for the aomp build scripts. Reviewed By: pdhaliwal Differential Revision: https://reviews.llvm.org/D101926 | 5 年前 |