Today, 12:54 AM
I followed the instructions in https://wiki.debian.org/ROCm, but I ran into several errors:
I noticed the file is provided by libamdhip64-dev and located at a different path:
I saw this issue being referenced here: https://gitlab.kitware.com/cmake/cmake/-...uests/8534, I guess in a newer version of cmake than the default in my system.
I tried to work around the issue by creating a symlink:
But obviously this only resulted in another error down the line:
I guess I'm going to have to try building the latest cmake, and trying the build again, maybe only to find that ROCm drivers don't support my hardware after all.
Code:
CMake Error at /usr/share/cmake-3.25/Modules/CMakeDetermineHIPCompiler.cmake:106 (message):
The ROCm root directory:
/usr
does not contain the HIP runtime CMake package, expected at:
/usr/lib/cmake/hip-lang/hip-lang-config.cmake
I noticed the file is provided by libamdhip64-dev and located at a different path:
Code:
libamdhip64-dev: /usr/lib/x86_64-linux-gnu/cmake/hip-lang/hip-lang-config.cmake
I saw this issue being referenced here: https://gitlab.kitware.com/cmake/cmake/-...uests/8534, I guess in a newer version of cmake than the default in my system.
I tried to work around the issue by creating a symlink:
Code:
sudo ln -s /usr/lib/x86_64-linux-gnu/cmake/hip-lang /usr/lib/cmake/
But obviously this only resulted in another error down the line:
Code:
CMake Error at /usr/share/cmake-3.25/Modules/CMakeDetermineHIPCompiler.cmake:183 (message):
Failed to find a default HIP architecture.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
-- Configuring incomplete, errors occurred!
See also "/home/ealfonso/git/dotfiles/installs/rocm/build/CMakeFiles/CMakeOutput.log".
See also "/home/ealfonso/git/dotfiles/installs/rocm/build/CMakeFiles/CMakeError.log".
I guess I'm going to have to try building the latest cmake, and trying the build again, maybe only to find that ROCm drivers don't support my hardware after all.