There were warnings in the library linking that turned out to be
a problem. I had to add a patch to link the library against
libdrm-amdgpu1, as I was getting some undefined symbols in
rocminfo otherwise.
The rocr-runtime packaging was also packaging of some header files that were installed, which caused problems in the exported CMake config (which halted with an error because the expected files were missing); the problem was resolved by passing a CMake option to avoid generating the unwanted headers in the first place.
I am looking for a sponsor for my package "rocr-runtime": * Package name : rocr-runtime Version : 5.7.1-1~exp2 Upstream contact : [fill in name and email of upstream] * URL : https://github.com/ROCm/ROCR-Runtime/ * License : Expat-Intel, Expat, BSD-3-clause, NCSA * Vcs : https://salsa.debian.org/rocm-team/rocr-runtime Section : video The source builds the following binary packages: libhsa-runtime64-1 - HSA Runtime API and runtime for ROCm libhsa-runtime-dev - HSA Runtime API and runtime for ROCm - development files To access further information about this package, please visit the following URL: https://mentors.debian.net/package/rocr-runtime/ Alternatively, you can download the package with 'dget' using this command: dget -x https://mentors.debian.net/debian/pool/main/r/rocr-runtime/rocr-runtime_5.7.1-1~exp2.dsc Changes since the last upload: rocr-runtime (5.7.1-1~exp2) experimental; urgency=medium . * Add patch to link to drm_amdgpu to fix undefined symbols. * Fix missing paths in exported hsa-runtime64 CMake targets. * d/rules: cleanup unnecessary options Regards, -- Cordell Bloor