ROCm / ROCm-OpenCL-Runtime

ROCm OpenOpenCL Runtime
170 stars 60 forks source link

Anaconda kickstart install fails #154

Open oere opened 1 year ago

oere commented 1 year ago

Unfortunately, the provided, cmake generated rocm-ocl-icd*.rpm doesn't install through a classical Anaconda kickstart installation of EL 9.1:

08:50:07,260 INF packaging: Installed: rocm-ocl-icd-2.0.0.50400-72.el9.x86_64 1669145660 b9c63ec5870f17e7aab83d51cfc55dcaa4446555c8bf1b605e658f5e42ce4f8a
08:50:07,262 INF packaging: Configuring (running scriptlet for): rocm-ocl-icd-2.0.0.50400-72.el9.x86_64 1669145660 b9c63ec5870f17e7aab83d51cfc55dcaa4446555c8bf1b605e658f5e42ce4f8a
08:50:07,269 INF dnf.rpm: /var/tmp/rpm-tmp.AL6Mwg: Zeile 5: mkdir: Kommando nicht gefunden.
warning: %post(rocm-ocl-icd-2.0.0.50400-72.el9.x86_64) scriptlet failed, exit status 127

08:50:07,269 ERR dnf.rpm: Error in POSTIN scriptlet in rpm package rocm-ocl-icd

I think the rpm-post-script https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/blob/develop/packaging/rocm-ocl-icd.rpm_post should include /bin/mkdir at least.

A major improvement to the whole packaging would be to include the /etc/OpenCL/vendors/*.icd of the rocm-ocl-icd*.rpm to the files and configure at least the required opencl-filesystem package from EL (9.1).