3
0
Fork 0
forked from mirrors/nixpkgs

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

This commit is contained in:
Zig Uana 2023-01-20 09:19:15 -07:00 committed by Sandro Jäckel
parent 1535f5974a
commit 544df362de
No known key found for this signature in database
GPG key ID: B1763F8651144063

View file

@ -1,6 +1,7 @@
{ 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 ];