[HIPIFY][Issue] ERROR when build HIPIFY using Rocm's LLVM
Problem Description
When I build HIPIFY using rocm6.1.1, I set the LLVM's path point to the '/opt/rocm-6.1.1/lib/llvm', but throw an error: " Could not find a package configuration file provided by "Clang" with any of the following names: ClangConfig.cmake clang-config.cmake " When i build the llvm myself, the file 'ClangConfig.cmake' is in the 'lib/cmake/clang/', but when i using rocm's llvm, the path 'opt/rocm/llvm/lib/cmake' no such file.
What should I do?
Operating System
Ubuntu 22.04.4 LTS
CPU
i5
GPU
AMD Radeon RX 7900 XTX
ROCm Version
ROCm 6.1.0
ROCm Component
ROCm
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response
HI @Lookforworld, Could you please provide the full log of hipify-clang's CMake and Make command lines?
@Lookforworld Do you still need assistance with this issue? If not, please close the ticket. Thanks!
Most likely, the path to LLVM was specified incorrectly. Based on the info provided in the ticket and HIPIFY usage documentation, clang should be specified differently, for instance:
--clang-resource-directory=/opt/rocm-6.1.1/lib/clang/18
So, closing this ticket as not a bug.