Skip to content

Commit

Permalink
rocmPackages: add isa conversion patch in rocprim
Browse files Browse the repository at this point in the history
Signed-off-by: Gavin Zhao <[email protected]>
  • Loading branch information
GZGavinZhao committed Apr 25, 2024
1 parent e30bae6 commit 45b3242
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/development/rocm-modules/6/rocprim/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{ lib
, fetchpatch
, stdenv
, fetchFromGitHub
, rocmUpdateScript
Expand Down Expand Up @@ -31,6 +32,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-nWvq26qRPZ6Au1rc5cR74TKArcdUFg7O9djFi8SvMeM=";
};

patches = [
(fetchpatch {
name = "arch-conversion-marco.patch";
url = "https://salsa.debian.org/rocm-team/rocprim/-/raw/70c8aaee3cf545d92685f4ed9bf8f41e3d4d570c/debian/patches/arch-conversion-macro.patch";
hash = "sha256-oXdmbCArOB5bKE8ozDFrSh4opbO+c4VI6PNhljeUSms=";
})
];

nativeBuildInputs = [
cmake
rocm-cmake
Expand Down

0 comments on commit 45b3242

Please sign in to comment.