Unverified Commit 64c27498 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #220240 from SuperSandro2000/intel-compute-runtime

intel-compute-runtime: 22.49.25018.24 -> 23.05.25593.11
parents 1dea6175 637092b8
Loading
Loading
Loading
Loading
+2 −12
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, patchelf
, cmake
, pkg-config
@@ -13,24 +12,15 @@

stdenv.mkDerivation rec {
  pname = "intel-compute-runtime";
  version = "22.49.25018.24";
  version = "23.05.25593.11";

  src = fetchFromGitHub {
    owner = "intel";
    repo = "compute-runtime";
    rev = version;
    sha256 = "sha256-/onHHIG5jWFObC8pSjpFMadjwaAN6vMNjAsj8/D3qNw=";
    sha256 = "sha256-AsJGcyVqRGz7OBWTlQeTS412iUzMAbIsA4w6CmEf1G8=";
  };

  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 ];