ROCm/rocm-cmake

Possibility of INSTALL_PREFIX ?

baerbock opened this issue · 1 comments

I've failed to use cmake -DCMAKE_INSTALL_PREFIX=$pkgdir/opt/rocm --build . --target install

to package rocm-cmake for my distro. How to correctly use it?

The install prefix must be set during the configure stage:

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$pkgdir/opt/rocm ..
cmake --build . --target install