HIP
HIP copied to clipboard
Installation of `*.cmake` files possibly wrong?
Hi all, I am installing ROCm on a custom location, let's say $INSTALL_DIR. When trying to compile rocSolver, i get the following error:
CMake Error at $INSTALL_DIR/hip/lib/cmake/hip/hip-config.cmake:199 (include):
include could not find requested file:
$INSTALL_DIR/hip/lib/cmake/hip/hip-targets.cmake
Call Stack (most recent call first):
CMakeLists.txt:146 (find_package)
In fact, that file is located under $INSTALL_DIR/lib/cmake/hip
.
My installation looks like this:
$ ls $INSTALL_DIR/hip/lib/cmake/hip/
hip-config.cmake hip-config-version.cmake
$ ls $INSTALL_DIR/lib/cmake/hip
FindHIP FindHIP.cmake hip-config.cmake hip-config-version.cmake hip-targets.cmake hip-targets-release.cmake
Is there a problem with the installation process?
This should be closed as a dup of https://github.com/ROCm-Developer-Tools/HIP/issues/3145 and the newer issue has more discussion.
I don't think this is a duplicate of #3145; the name of the missing file in that issue (FindHIP.cmake
) is different to the file in this issue (hip-targets.cmake
). I get the same error reported by @dipietrantonio using a Spack build of [email protected]+cuda
@milthorpe Apologies for the lack of response. Can you please test with latest ROCm 6.0.2 (HIP 6.0.32831) to see if issue still exists? Thanks!