rocm-opencl-runtime: 5.0.2 → 5.1.1

This commit is contained in:
Sebastian Neubauer 2022-05-04 13:18:40 +00:00
parent 450aa4fc23
commit 80cb0322fe

View file

@ -24,13 +24,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "rocm-opencl-runtime"; pname = "rocm-opencl-runtime";
version = "5.0.2"; version = "5.1.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "RadeonOpenCompute"; owner = "RadeonOpenCompute";
repo = "ROCm-OpenCL-Runtime"; repo = "ROCm-OpenCL-Runtime";
rev = "rocm-${version}"; rev = "rocm-${version}";
hash = "sha256-ovYwElZGRKySH1mWFIISxuNNxCjaqoe9oCvqYZGdfq0="; hash = "sha256-O7q3uTjspO/rZ2+8+g7pRfBXsCRaEr4DZxEqABHbOeY=";
}; };
nativeBuildInputs = [ cmake rocm-cmake ]; nativeBuildInputs = [ cmake rocm-cmake ];
@ -55,6 +55,7 @@ stdenv.mkDerivation rec {
cmakeFlags = [ cmakeFlags = [
"-DAMD_OPENCL_PATH=${src}" "-DAMD_OPENCL_PATH=${src}"
"-DROCCLR_PATH=${rocclr}" "-DROCCLR_PATH=${rocclr}"
"-DCPACK_PACKAGING_INSTALL_PREFIX=/opt/rocm/opencl"
]; ];
dontStrip = true; dontStrip = true;