forked from mirrors/nixpkgs
intel-compute-runtime: add a patch to fix typo
This commit is contained in:
parent
1535f5974a
commit
544df362de
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue