Skip to content

Fail to compile driver on sles15 with version 580.x or higher #585

@SebPlv

Description

@SebPlv

Hi,

In the Dockerfile for sles15, we can see that :

    versionArray=(${DRIVER_VERSION//./ }); \
    DRIVER_BRANCH=${versionArray[0]}; \
    if [ ${versionArray[0]} -ge 470 ] || ([ ${versionArray[0]} == 460 ] && [ ${versionArray[1]} -ge 91 ]); then \
      fmPackage=nvidia-fabric-manager-${DRIVER_VERSION}-1; \
    else \
      fmPackage=nvidia-fabricmanager-${DRIVER_BRANCH}-${DRIVER_VERSION}-1; \
    fi; \
    nscqPackage=libnvidia-nscq-${DRIVER_BRANCH}-${DRIVER_VERSION}-1; \

So if the driver version is superior or equal to 470, the fmPackage is named nvidia-fabric-manager.
This is true, until version 575, but starting with version 580 the package become nvidia-fabricmanager (without the second dash)

Image Image

See : https://developer.download.nvidia.com/compute/cuda/repos/sles15/x86_64/

And there's also a modification with the libnvidia-nscq package. Since version 580 it doesn't match the expression 'libnvidia-nscq-${DRIVER_BRANCH}-${DRIVER_VERSION}-1'. The ${DRIVER_BRANCH} part is gone :

Image

Should we modify the Dockerfile or the package names ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions