From 53c995ea8b95adddb53f65b0f5e50c58c742c1fb 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:48:00 +0100 Subject: [PATCH] =?UTF-8?q?intel-compute-runtime-legacy1:=2024.35.30872.32?= =?UTF-8?q?=20=E2=86=92=2024.35.30872.41?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit And add patch for gcc 15 compatibility, submitted as: https://github.com/intel/compute-runtime/pull/879 - See: #475479 --- .../add-cstdint-include-gcc15.patch | 25 +++++++++++++++++++ .../intel-compute-runtime-legacy1/package.nix | 9 +++++-- 2 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 pkgs/by-name/in/intel-compute-runtime-legacy1/add-cstdint-include-gcc15.patch 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}"