Commit 7f42e27
Skip dnf rocjpeg install when already present via ROCm 7.14 pip wheels
ROCm >= 7.14 distributes the full ROCm stack (including rocJPEG) as pip
wheels (_rocm_sdk_core / _rocm_sdk_devel site-packages) rather than
system RPMs. The rocjpeg-devel, libva-amdgpu and mesa-amdgpu-va-drivers
DNF packages therefore don't exist on the ROCm 7.14 builder image and
the install was failing with "No package rocjpeg available".
Check for librocjpeg.so under /opt/conda (pip-wheel install path) and
/opt/rocm (classic RPM install path) before attempting dnf install. If
already present, skip the install entirely. The existing dnf path is
preserved for ROCm 7.2 and earlier where RPMs are the only source.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 6811de8 commit 7f42e27
1 file changed
Lines changed: 18 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
| |||
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
31 | | - | |
32 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
0 commit comments