HIP is installed at /usr or /usr/local on Debin/Fedora,
and the version file is at {root}/share/hip/version.
Details
- Reviewers
tra - Commits
- rG082593ff7aff: [HIP] Detect HIP for Debian/Fedora
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/Driver/ToolChains/AMDGPU.cpp | ||
---|---|---|
311 | Should it be done for Debian/Fedora only? See clang/include/clang/Driver/Distro.h for IsDebian/IsRedhat() helpers. |
clang/lib/Driver/ToolChains/AMDGPU.cpp | ||
---|---|---|
311 | I think other Linux distributions may adopt it too, since /usr is the standard location. |
clang/lib/Driver/ToolChains/AMDGPU.cpp | ||
---|---|---|
311 | Or they may do something completely different. I've been surprised in the past by how NVIDIA packages get split in different ways on different distributions. I'm fine with using established locations where we do have them, but I'm reluctant to add something open-ended that we do not need and which may be hard to change later. Expanding the scope of the search if/when we need it somewhere is easy, removing things that users may have grown to depend on is often hard. |
clang/lib/Driver/ToolChains/AMDGPU.cpp | ||
---|---|---|
311 | Makes sense. will do. |
Should it be done for Debian/Fedora only? See clang/include/clang/Driver/Distro.h for IsDebian/IsRedhat() helpers.