mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 03:53:47 +00:00
rocclr: 3.8.0 -> 3.9.0
This commit is contained in:
parent
7b14f860ee
commit
95ae7ef7fd
@ -15,13 +15,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rocclr";
|
||||
version = "3.8.0";
|
||||
version = "3.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ROCm-Developer-Tools";
|
||||
repo = "ROCclr";
|
||||
rev = "rocm-${version}";
|
||||
sha256 = "05vh70qh6jb7038b1rcmz24bg4an0nw98bv2vn3jcyygj4dr3fmf";
|
||||
sha256 = "193pd6lbnfjrmqsrlvkpadxxi908a9r0c41y8x1bkbbaviad39q0";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake rocm-cmake ];
|
||||
@ -46,7 +46,10 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
preFixup = ''
|
||||
# Work around broken cmake files
|
||||
ln -s $out/include/compiler/lib/include/* $out/include
|
||||
ln -s $out/include/elf/elfio $out/include/elfio
|
||||
|
||||
substituteInPlace $out/lib/cmake/rocclr/ROCclrConfig.cmake \
|
||||
--replace "/build/source/build" "$out"
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user