rocm-smi: 4.1.0 -> 4.3.1
This commit is contained in:
parent
9d96c40048
commit
fae3bbca9b
2 changed files with 6 additions and 7 deletions
|
@ -1,17 +1,17 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, cmake, python3 }:
|
{ lib, stdenv, fetchFromGitHub, cmake, wrapPython }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "rocm-smi";
|
pname = "rocm-smi";
|
||||||
version = "4.1.0";
|
version = "4.3.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "RadeonOpenCompute";
|
owner = "RadeonOpenCompute";
|
||||||
repo = "rocm_smi_lib";
|
repo = "rocm_smi_lib";
|
||||||
rev = "rocm-${version}";
|
rev = "rocm-${version}";
|
||||||
hash = "sha256-LEaC1XhmyoVWrpL05MhgN02LVT2rLKdnw9g2QdfM/uE=";
|
hash = "sha256-Ckno73Otkc9rHEUkSgNoOui+6ZHGUF+B9iAoe0NQH0c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake python3.pkgs.wrapPython ];
|
nativeBuildInputs = [ cmake wrapPython ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Upstream ROCm is installed in an /opt directory. For this reason,
|
# 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";
|
description = "System management interface for AMD GPUs supported by ROCm";
|
||||||
homepage = "https://github.com/RadeonOpenCompute/ROC-smi";
|
homepage = "https://github.com/RadeonOpenCompute/ROC-smi";
|
||||||
license = with licenses; [ mit ];
|
license = with licenses; [ mit ];
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ lovesegfault ];
|
||||||
platforms = [ "x86_64-linux" ];
|
platforms = [ "x86_64-linux" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -12166,8 +12166,7 @@ with pkgs;
|
||||||
inherit (llvmPackages_rocm) clang-unwrapped llvm;
|
inherit (llvmPackages_rocm) clang-unwrapped llvm;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Python >= 3.8 still gives a bunch of warnings.
|
rocm-smi = python3Packages.callPackage ../tools/system/rocm-smi { };
|
||||||
rocm-smi = python37.pkgs.callPackage ../tools/system/rocm-smi { };
|
|
||||||
|
|
||||||
rocm-thunk = callPackage ../development/libraries/rocm-thunk { };
|
rocm-thunk = callPackage ../development/libraries/rocm-thunk { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue