rocm-runtime: 4.1.0 -> 4.3.1

This commit is contained in:
Bernardo Meurer 2021-09-02 12:57:12 -07:00
parent ff514b0737
commit 9d96c40048
No known key found for this signature in database
GPG Key ID: F4C0D53B8D14C246

View File

@ -1,4 +1,5 @@
{ lib, stdenv { stdenv
, lib
, fetchFromGitHub , fetchFromGitHub
, addOpenGLRunpath , addOpenGLRunpath
, clang-unwrapped , clang-unwrapped
@ -6,25 +7,26 @@
, xxd , xxd
, elfutils , elfutils
, llvm , llvm
, numactl
, rocm-device-libs , rocm-device-libs
, rocm-thunk }: , rocm-thunk }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "rocm-runtime"; pname = "rocm-runtime";
version = "4.1.0"; version = "4.3.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "RadeonOpenCompute"; owner = "RadeonOpenCompute";
repo = "ROCR-Runtime"; repo = "ROCR-Runtime";
rev = "rocm-${version}"; rev = "rocm-${version}";
hash = "sha256-Jxg3n203tV0L+UrmeQEuzX0TKpFu5An2cnuEA/F/SNY="; hash = "sha256-B67v9B8LXDbWNxYNRxM3dgFFLjFSyJmm0zd3G5Bgvek=";
}; };
sourceRoot = "source/src"; sourceRoot = "source/src";
nativeBuildInputs = [ cmake xxd ]; nativeBuildInputs = [ cmake xxd ];
buildInputs = [ clang-unwrapped elfutils llvm ]; buildInputs = [ clang-unwrapped elfutils llvm numactl ];
cmakeFlags = [ cmakeFlags = [
"-DBITCODE_DIR=${rocm-device-libs}/amdgcn/bitcode" "-DBITCODE_DIR=${rocm-device-libs}/amdgcn/bitcode"
@ -43,6 +45,6 @@ stdenv.mkDerivation rec {
description = "Platform runtime for ROCm"; description = "Platform runtime for ROCm";
homepage = "https://github.com/RadeonOpenCompute/ROCR-Runtime"; homepage = "https://github.com/RadeonOpenCompute/ROCR-Runtime";
license = with licenses; [ ncsa ]; license = with licenses; [ ncsa ];
maintainers = with maintainers; [ ]; maintainers = with maintainers; [ danieldk lovesegfault ];
}; };
} }