rocm-smi: 4.1.0 -> 4.3.1

mullvad-ns
Bernardo Meurer 3 years ago
parent 9d96c40048
commit fae3bbca9b
No known key found for this signature in database
GPG Key ID: F4C0D53B8D14C246
  1. 10
      pkgs/tools/system/rocm-smi/default.nix
  2. 3
      pkgs/top-level/all-packages.nix

@ -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" ];
};
}

@ -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 { };

Loading…
Cancel
Save