Unverified Commit 544df362 authored by Zig Uana's avatar Zig Uana Committed by Sandro Jäckel
Browse files

intel-compute-runtime: add a patch to fix typo

parent 1535f597
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, patchelf
, cmake
, pkg-config
@@ -21,6 +22,15 @@ stdenv.mkDerivation rec {
    sha256 = "sha256-CWiWkv3CmHhXAk2M92voeQ06ximSOnT9hgIA4rIxWmM=";
  };

  patches = [
    # fix compile with level-zero 1.9.4
    (fetchpatch {
      url = "https://github.com/intel/compute-runtime/commit/dce17d319f91b39806b2cd39b6eecd5c5cff2a68.patch";
      excludes = [ "manifests/manifest.yml" ];
      sha256 = "sha256-YGzS4LeNO8FO1GXowD2gARj0TL6tBFaeZJNLZOwSsWQ=";
    })
  ];

  nativeBuildInputs = [ cmake pkg-config ];

  buildInputs = [ intel-gmmlib intel-graphics-compiler libva level-zero ];