rocm-runtime-ext: remove

wip/yesman
Daniël de Kok 4 years ago
parent cc47462054
commit 5ce029d582
  1. 42
      pkgs/development/libraries/rocm-runtime-ext/default.nix
  2. 7
      pkgs/development/libraries/rocm-runtime-ext/setup-hook.sh
  3. 1
      pkgs/top-level/aliases.nix
  4. 2
      pkgs/top-level/all-packages.nix

@ -1,42 +0,0 @@
{ stdenv, fetchurl, autoPatchelfHook, rpmextract, rocm-runtime }:
stdenv.mkDerivation rec {
pname = "rocm-runtime-ext";
version = "3.5.1";
src = fetchurl {
url = "https://repo.radeon.com/rocm/yum/3.5.1/hsa-ext-rocr-dev-1.1.30501.0-rocm-rel-3.5-34-def83d8a-Linux.rpm";
sha256 = "0r7lrmnplr10hs6wrji55i3dnczfzlmp8jahm1g3mhq2x12zmly0";
};
nativeBuildInputs = [ autoPatchelfHook rpmextract ];
buildInputs = [ rocm-runtime stdenv.cc.cc ];
unpackPhase = "rpmextract ${src}";
installPhase = ''
mkdir -p $out/lib
cp -R opt/rocm-${version}/hsa/lib $out/lib/rocm-runtime-ext
'';
setupHook = ./setup-hook.sh;
meta = with stdenv.lib; {
description = "Platform runtime for ROCm (closed-source extensions)";
longDescription = ''
This package provides closed-source extensions to the ROCm
runtime. Currently this adds support for OpenCL image
processing.
In order for the ROCm runtime to pick up the extension, you
should either set the ROCR_EXT_DIR environment variable should
be set to ''${rocm-runtime-ext}/lib/rocm-runtime-ext or this
package should be added to the hardware.opengl.extraPackages
NixOS configuration option.
'';
homepage = "https://github.com/RadeonOpenCompute/ROCR-Runtime";
license = with licenses; [ unfreeRedistributable ];
maintainers = with maintainers; [ danieldk ];
};
}

@ -1,7 +0,0 @@
addRocmRuntimeExtDir () {
if [[ -z "${ROCR_EXT_DIR-}" ]]; then
export ROCR_EXT_DIR="@out@/lib/rocm-runtime-ext"
fi
}
addEnvHooks "$hostOffset" addRocmRuntimeExtDir

@ -455,6 +455,7 @@ mapAliases ({
rhc = throw "deprecated in 2019-04-09: abandoned by upstream.";
rng_tools = rng-tools; # added 2018-10-24
robomongo = robo3t; #added 2017-09-28
rocm-runtime-ext = throw "rocm-runtime-ext has been removed, since its functionality was added to rocm-runtime"; #added 2020-08-21
rssglx = rss-glx; #added 2015-03-25
recordmydesktop = throw "recordmydesktop has been removed from nixpkgs, as it's unmaintained and uses deprecated libraries"; # added 2019-12-10
gtk-recordmydesktop = throw "gtk-recordmydesktop has been removed from nixpkgs, as it's unmaintained and uses deprecated libraries"; # added 2019-12-10

@ -9358,8 +9358,6 @@ in
inherit (llvmPackages_rocm) clang-unwrapped llvm;
};
rocm-runtime-ext = callPackage ../development/libraries/rocm-runtime-ext { };
# Python >= 3.8 still gives a bunch of warnings.
rocm-smi = python37.pkgs.callPackage ../tools/system/rocm-smi { };

Loading…
Cancel
Save