rocm-smi: 4.1.0 -> 4.3.1

This commit is contained in:
Bernardo Meurer 2021-09-02 13:03:18 -07:00
parent 9d96c40048
commit fae3bbca9b
No known key found for this signature in database
GPG key ID: F4C0D53B8D14C246
2 changed files with 6 additions and 7 deletions

View file

@ -1,17 +1,17 @@
{ lib, stdenv, fetchFromGitHub, cmake, python3 }:
{ lib, stdenv, fetchFromGitHub, cmake, wrapPython }:
stdenv.mkDerivation rec {
pname = "rocm-smi";
version = "4.1.0";
version = "4.3.1";
src = fetchFromGitHub {
owner = "RadeonOpenCompute";
repo = "rocm_smi_lib";
rev = "rocm-${version}";
hash = "sha256-LEaC1XhmyoVWrpL05MhgN02LVT2rLKdnw9g2QdfM/uE=";
hash = "sha256-Ckno73Otkc9rHEUkSgNoOui+6ZHGUF+B9iAoe0NQH0c=";
};
nativeBuildInputs = [ cmake python3.pkgs.wrapPython ];
nativeBuildInputs = [ cmake wrapPython ];
postPatch = ''
# Upstream ROCm is installed in an /opt directory. For this reason,
@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
description = "System management interface for AMD GPUs supported by ROCm";
homepage = "https://github.com/RadeonOpenCompute/ROC-smi";
license = with licenses; [ mit ];
maintainers = with maintainers; [ ];
maintainers = with maintainers; [ lovesegfault ];
platforms = [ "x86_64-linux" ];
};
}

View file

@ -12166,8 +12166,7 @@ with pkgs;
inherit (llvmPackages_rocm) clang-unwrapped llvm;
};
# Python >= 3.8 still gives a bunch of warnings.
rocm-smi = python37.pkgs.callPackage ../tools/system/rocm-smi { };
rocm-smi = python3Packages.callPackage ../tools/system/rocm-smi { };
rocm-thunk = callPackage ../development/libraries/rocm-thunk { };