Unverified Commit 5c98324d authored by maxine's avatar maxine Committed by GitHub
Browse files

Merge pull request #260056 from deshaw/upstream-dcgm-3.2.5-upgrade

parents 32d507e9 a7b7ef9f
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
{ lib
, callPackage
, gcc11Stdenv
, fetchFromGitHub
, addOpenGLRunpath
, catch2
, cmake
, cudaPackages_10_2
@@ -87,13 +85,13 @@ let
# C.f. https://github.com/NVIDIA/DCGM/blob/7e1012302679e4bb7496483b32dcffb56e528c92/dcgmbuild/build.sh#L22
in gcc11Stdenv.mkDerivation rec {
  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 {
    owner = "NVIDIA";
    repo = "DCGM";
    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.
+4 −1
Original line number Diff line number Diff line
@@ -7,7 +7,10 @@
}:
buildGoModule rec {
  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 {
    owner = "NVIDIA";