Skip to content

gpu-setup in the gpgpu provider does not work on ARM64 #1131

@bladernr

Description

@bladernr

Bug Description

Before there was no need to worry about arm64 but with the advent of NVIDIA's Grace SoC and others like Ampere One (and even Altra) there is a case for GPU compute on ARM servers and we need to account for that in cert.

Currently the gpu-setup scrip hardcodes the x86_64 repo from nvidia to install the cuda stuff needed for compiling software. We need to add a pathway to detect the arch, and properly choose the right repo to add from NVIDIA.

To Reproduce

Install canonical-certification-server and checkbox-provider-gpgpu on an arm64 machine
Run gpu-setup
See it install the x86_64 repo instead of the arm64 repo

Environment

ARM64 servers. This was observed by a vendor.
We can also try this out on Lubba in the cert lab.

Relevant log output

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions