diff --git a/pkgs/by-name/in/intel-compute-runtime-legacy1/add-cstdint-include-gcc15.patch b/pkgs/by-name/in/intel-compute-runtime-legacy1/add-cstdint-include-gcc15.patch new file mode 100644 index 000000000000..52dca486e95d --- /dev/null +++ b/pkgs/by-name/in/intel-compute-runtime-legacy1/add-cstdint-include-gcc15.patch @@ -0,0 +1,25 @@ +From 38fdd9d36c5e8a471f38d3f131c2fdf6720e2577 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Dele=C5=84kec?= +Date: Wed, 31 Dec 2025 16:32:36 +0100 +Subject: [PATCH] fix: Add another missing include for GCC 15 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Charlotte Deleńkec +--- + shared/source/os_interface/linux/local/dg1/drm_tip_helper.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/shared/source/os_interface/linux/local/dg1/drm_tip_helper.cpp b/shared/source/os_interface/linux/local/dg1/drm_tip_helper.cpp +index 99f771c98457e..e78c638c35532 100644 +--- a/shared/source/os_interface/linux/local/dg1/drm_tip_helper.cpp ++++ b/shared/source/os_interface/linux/local/dg1/drm_tip_helper.cpp +@@ -7,6 +7,7 @@ + + #include "shared/source/os_interface/linux/i915.h" + ++#include + #include + #include + diff --git a/pkgs/by-name/in/intel-compute-runtime-legacy1/package.nix b/pkgs/by-name/in/intel-compute-runtime-legacy1/package.nix index 0b9069dd744e..83cb41bdc1a3 100644 --- a/pkgs/by-name/in/intel-compute-runtime-legacy1/package.nix +++ b/pkgs/by-name/in/intel-compute-runtime-legacy1/package.nix @@ -17,13 +17,13 @@ in stdenv.mkDerivation rec { # https://github.com/intel/compute-runtime/blob/master/LEGACY_PLATFORMS.md pname = "intel-compute-runtime-legacy1"; - version = "24.35.30872.32"; # 24.35.30872.x is the last series to support Gen8, Gen9 and Gen11 GPU support + version = "24.35.30872.41"; # 24.35.30872.x is the last series to support Gen8, Gen9 and Gen11 GPU support src = fetchFromGitHub { owner = "intel"; repo = "compute-runtime"; rev = version; - hash = "sha256-POImMopbrhVXuSx2MQ9mwPNKQx7BljyikKhu6M4hZME="; + hash = "sha256-CnMIOAPnVhKVQxAcOZAuV5M4HJ2qftzEm9YdCuvkFbI="; }; nativeBuildInputs = [ @@ -38,6 +38,11 @@ stdenv.mkDerivation rec { level-zero ]; + patches = [ + # https://github.com/intel/compute-runtime/pull/879 + ./add-cstdint-include-gcc15.patch + ]; + cmakeFlags = [ "-DSKIP_UNIT_TESTS=1" "-DIGC_DIR=${intel-graphics-compiler}"