about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/intel-compute-runtime
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2023-01-23 12:49:09 +0100
committerGitHub <noreply@github.com>2023-01-23 12:49:09 +0100
commitb380d382d3e8d22d6af0d0c8801e7872527ac344 (patch)
tree196528c3396eb43a825a5b3c9c897d942f3e27bb /pkgs/os-specific/linux/intel-compute-runtime
parentf9a7e2026f4552ff37842f122cdb4504c8228794 (diff)
parent544df362deeaf539bb7b4a4f37b8f7a5b8579b52 (diff)
Merge pull request #212241 from SuperSandro2000/ziguana/master
Closes https://github.com/NixOS/nixpkgs/pull/211792
Diffstat (limited to 'pkgs/os-specific/linux/intel-compute-runtime')
-rw-r--r--pkgs/os-specific/linux/intel-compute-runtime/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/intel-compute-runtime/default.nix b/pkgs/os-specific/linux/intel-compute-runtime/default.nix
index 3e5ea98497097..5ff7529d239d7 100644
--- a/pkgs/os-specific/linux/intel-compute-runtime/default.nix
+++ b/pkgs/os-specific/linux/intel-compute-runtime/default.nix
@@ -1,6 +1,7 @@
 { lib
 , stdenv
 , fetchFromGitHub
+, fetchpatch
 , patchelf
 , cmake
 , pkg-config
@@ -21,6 +22,15 @@ stdenv.mkDerivation rec {
     sha256 = "sha256-AdAQX8wurZjXHf3z8IPxnW57CDOwwYlgJ09dNNDhUYQ=";
   };
 
+  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 ];