Merge pull request #260056 from deshaw/upstream-dcgm-3.2.5-upgrade
This commit is contained in:
commit
5c98324d0c
2 changed files with 6 additions and 5 deletions
|
@ -1,8 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, callPackage
|
|
||||||
, gcc11Stdenv
|
, gcc11Stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, addOpenGLRunpath
|
|
||||||
, catch2
|
, catch2
|
||||||
, cmake
|
, cmake
|
||||||
, cudaPackages_10_2
|
, cudaPackages_10_2
|
||||||
|
@ -87,13 +85,13 @@ let
|
||||||
# C.f. https://github.com/NVIDIA/DCGM/blob/7e1012302679e4bb7496483b32dcffb56e528c92/dcgmbuild/build.sh#L22
|
# C.f. https://github.com/NVIDIA/DCGM/blob/7e1012302679e4bb7496483b32dcffb56e528c92/dcgmbuild/build.sh#L22
|
||||||
in gcc11Stdenv.mkDerivation rec {
|
in gcc11Stdenv.mkDerivation rec {
|
||||||
pname = "dcgm";
|
pname = "dcgm";
|
||||||
version = "3.1.8";
|
version = "3.2.5"; # N.B: If you change this, be sure prometheus-dcgm-exporter supports this version.
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "NVIDIA";
|
owner = "NVIDIA";
|
||||||
repo = "DCGM";
|
repo = "DCGM";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-OXqXkP2ZUNPzafGIgJ0MKa39xB84keVFFYl+JsHgnks=";
|
hash = "sha256-iMyYOr3dSpdRV2S/TlB/tEOAWYhK09373ZRbd5vzogQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Add our paths to the CUDA paths so FindCuda.cmake can find them.
|
# Add our paths to the CUDA paths so FindCuda.cmake can find them.
|
||||||
|
|
|
@ -7,7 +7,10 @@
|
||||||
}:
|
}:
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "dcgm-exporter";
|
pname = "dcgm-exporter";
|
||||||
version = "3.2.5-3.1.7";
|
|
||||||
|
# The first portion of this version string corresponds to a compatible DCGM
|
||||||
|
# version.
|
||||||
|
version = "3.2.5-3.1.7"; # N.B: If you change this, update dcgm as well to the matching version.
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "NVIDIA";
|
owner = "NVIDIA";
|
||||||
|
|
Loading…
Reference in a new issue