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

This commit is contained in:
Sandro 2022-11-28 02:13:36 +01:00 committed by GitHub
commit 4724d88a82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,9 @@
{ lib, stdenv
{ lib
, stdenv
, fetchFromGitHub
, patchelf
, cmake
, pkg-config
, intel-gmmlib
, intel-graphics-compiler
, libva
@ -11,13 +11,13 @@
stdenv.mkDerivation rec {
pname = "intel-compute-runtime";
version = "22.35.24055";
version = "22.43.24558";
src = fetchFromGitHub {
owner = "intel";
repo = "compute-runtime";
rev = version;
sha256 = "sha256-MOWlhzhEGYyHGk6N+H7O2BLho4YFyvcCbj/zafhzLEw=";
sha256 = "sha256-/hiDJLtEOLbnFjT697yLie5E7819fZM3xricPwe4xN0=";
};
nativeBuildInputs = [ cmake pkg-config ];
@ -26,10 +26,8 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DSKIP_UNIT_TESTS=1"
"-DIGC_DIR=${intel-graphics-compiler}"
"-DOCL_ICD_VENDORDIR=${placeholder "out"}/etc/OpenCL/vendors"
# The install script assumes this path is relative to CMAKE_INSTALL_PREFIX
"-DCMAKE_INSTALL_LIBDIR=lib"
];
@ -45,10 +43,10 @@ stdenv.mkDerivation rec {
'';
meta = with lib; {
homepage = "https://github.com/intel/compute-runtime";
homepage = "https://github.com/intel/compute-runtime";
description = "Intel Graphics Compute Runtime for OpenCL. Replaces Beignet for Gen8 (Broadwell) and beyond";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ gloaming ];
license = licenses.mit;
platforms = [ "x86_64-linux" "aarch64-linux" ];
maintainers = with maintainers; [ SuperSandro2000 ];
};
}