Arch linux ARM in docker

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

Arch linux ARM in docker

Postby Loki » Mon Sep 11, 2023 6:41 pm

Hey,

Below is a detailed explanation of my problem and what I have found out about the cause.
The question I'm asking is at the bottom of my post.

I'm attempting to install ROCm runtime in a docker image on the Arm64 architecture. I'm trying to follow these links:make_clickable_callback(MAGIC_URL_FULL, '
', 'https://wiki.archlinux.org/title/GPGPU#ROCm', '', ' class="postlink"')make_clickable_callback(MAGIC_URL_FULL, '
', 'https://github.com/rocm-arch/rocm-arch', '', ' class="postlink"')

The following command fails: "pacman -Syu rocm-hip-sdk rocm-opencl-sdk"

With:
[root@7393566fc3aa /]# pacman -Syu rocm-hip-sdk rocm-opencl-sdk
:: Synchronizing package databases...
core is up to date
extra is up to date
alarm is up to date
aur is up to date
:: Starting full system upgrade...
resolving dependencies...
warning: cannot resolve "hsa-rocr", a dependency of "rocm-language-runtime"
warning: cannot resolve "rocm-device-libs", a dependency of "rocm-language-runtime"
warning: cannot resolve "comgr", a dependency of "rocm-language-runtime"
warning: cannot resolve "rocm-language-runtime", a dependency of "rocm-hip-runtime"
warning: cannot resolve "rocminfo", a dependency of "rocm-hip-runtime"
warning: cannot resolve "hip-runtime-amd", a dependency of "rocm-hip-runtime"
warning: cannot resolve "rocm-hip-runtime", a dependency of "rocm-hip-libraries"
warning: cannot resolve "hipblas", a dependency of "rocm-hip-libraries"
warning: cannot resolve "hipfft", a dependency of "rocm-hip-libraries"
warning: cannot resolve "hipsparse", a dependency of "rocm-hip-libraries"
warning: cannot resolve "hipsolver", a dependency of "rocm-hip-libraries"
warning: cannot resolve "rccl", a dependency of "rocm-hip-libraries"
warning: cannot resolve "rocalution", a dependency of "rocm-hip-libraries"
warning: cannot resolve "rocblas", a dependency of "rocm-hip-libraries"
warning: cannot resolve "rocfft", a dependency of "rocm-hip-libraries"
warning: cannot resolve "rocrand", a dependency of "rocm-hip-libraries"
warning: cannot resolve "rocsolver", a dependency of "rocm-hip-libraries"
warning: cannot resolve "rocsparse", a dependency of "rocm-hip-libraries"
warning: cannot resolve "rocm-hip-libraries", a dependency of "rocm-hip-sdk"
warning: cannot resolve "hsa-rocr", a dependency of "rocm-language-runtime"
warning: cannot resolve "rocm-device-libs", a dependency of "rocm-language-runtime"
warning: cannot resolve "comgr", a dependency of "rocm-language-runtime"
warning: cannot resolve "rocm-language-runtime", a dependency of "rocm-hip-runtime"
warning: cannot resolve "rocminfo", a dependency of "rocm-hip-runtime"
warning: cannot resolve "hip-runtime-amd", a dependency of "rocm-hip-runtime"
warning: cannot resolve "rocm-hip-runtime", a dependency of "rocm-hip-sdk"
warning: cannot resolve "hipblas", a dependency of "rocm-hip-sdk"
warning: cannot resolve "hipcub", a dependency of "rocm-hip-sdk"
warning: cannot resolve "hipfft", a dependency of "rocm-hip-sdk"
warning: cannot resolve "hipsparse", a dependency of "rocm-hip-sdk"
warning: cannot resolve "hipsolver", a dependency of "rocm-hip-sdk"
warning: cannot resolve "miopen-hip", a dependency of "rocm-hip-sdk"
warning: cannot resolve "rccl", a dependency of "rocm-hip-sdk"
warning: cannot resolve "rocalution", a dependency of "rocm-hip-sdk"
warning: cannot resolve "rocblas", a dependency of "rocm-hip-sdk"
warning: cannot resolve "rocfft", a dependency of "rocm-hip-sdk"
warning: cannot resolve "rocprim", a dependency of "rocm-hip-sdk"
warning: cannot resolve "rocrand", a dependency of "rocm-hip-sdk"
warning: cannot resolve "rocsolver", a dependency of "rocm-hip-sdk"
warning: cannot resolve "rocsparse", a dependency of "rocm-hip-sdk"
warning: cannot resolve "rocthrust", a dependency of "rocm-hip-sdk"
warning: cannot resolve "hsa-rocr", a dependency of "rocm-opencl-sdk"
warning: cannot resolve "rocm-opencl-runtime", a dependency of "rocm-opencl-sdk"
:: The following packages cannot be upgraded due to unresolvable dependencies:
rocm-hip-sdk rocm-opencl-sdk

:: Do you want to skip the above packages for this upgrade? [y/N] ^C
Interrupt signal received


Please note [quote]warning: cannot resolve "hsa-rocr", a dependency of "rocm-language-runtime"[/quote]

When looking at the following link, there doesn't appear to be a dependency on hsa-rocrmake_clickable_callback(MAGIC_URL_FULL, '
', 'https://archlinuxarm.org/packages/aarch64/rocm-language-runtime', '', ' class="postlink"')

However, when looking at the following link, there does appear to be one for the x86_64 versionmake_clickable_callback(MAGIC_URL_FULL, '
', 'https://archlinux.org/packages/extra/x86_64/rocm-language-runtime/', '', ' class="postlink"')



The cause of the issue seems obvious, but the question is:
How can I change where pacman looks for dependencies?
Or am I stuck with manually installing the required packages?

EDIT:

Here's my entire Dockerfile: FROM menci/archlinuxarm:latest
Loki
 
Posts: 1
Joined: Mon Sep 11, 2023 6:24 pm

Return to ARMv8

Who is online

Users browsing this forum: No registered users and 14 guests