Postsync update gentoo

This commit is contained in:
fabolous005 2025-08-10 20:00:24 +02:00
parent 5d9c50fddc
commit a23056d1b2
7 changed files with 318 additions and 1 deletions

View File

@ -0,0 +1 @@
DIST intel-compute-runtime-25.31.34666.3.tar.gz 8030033 BLAKE2B e80bd3ca184b17b5243a6d84b68c5ae76dec6d3d1108e4e0de395db82f28facf20c352289cf3ffd7565929b934f04ef6309f336c7c67d1182c91e43507f60f17 SHA512 1ca6f411e17f18912a0137babdc5322e2d9c97da96ce302de9e78b652c3e40b98f9ed85785bcb68d305bd7f25e37f0c2a34391ed62202d4b08161e569c7b4eea

View File

@ -0,0 +1,198 @@
From e0362a7c39ba7a3ead3cbb74146cb961176a1734 Mon Sep 17 00:00:00 2001
From: Daniel Bermond <dbermond@archlinux.org>
Date: Sat, 10 May 2025 13:04:47 -0300
Subject: [PATCH] build: add missing headers for GCC 15
For using fixed width integer types[1], the `<cstdint>`[2]
C++ header needs to be explicitly included with GCC 15 due
to changes[3] in libstdc++.
For details, see the documentation[4] about porting to GCC 15.
[1] https://en.cppreference.com/w/cpp/types/integer
[2] https://en.cppreference.com/w/cpp/header/cstdint
[3] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=3a817a4a5a6d94da9127af3be9f84
[4] https://gcc.gnu.org/gcc-15/porting_to.html#cxx
Signed-off-by: Daniel Bermond <dbermond@archlinux.org>
---
shared/generate_cpp_array/source/generate_cpp_array.cpp | 3 ++-
shared/offline_compiler/source/decoder/iga_wrapper.h | 1 +
shared/offline_compiler/source/ocloc_arg_helper.h | 3 ++-
shared/source/debugger/debugger.h | 3 ++-
shared/source/gmm_helper/gmm_helper.h | 1 +
shared/source/os_interface/device_factory.h | 3 ++-
shared/source/os_interface/os_memory.h | 3 ++-
shared/source/os_interface/os_time.h | 3 ++-
shared/source/program/program_info.h | 1 +
shared/source/utilities/software_tags.h | 1 +
10 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/shared/generate_cpp_array/source/generate_cpp_array.cpp b/shared/generate_cpp_array/source/generate_cpp_array.cpp
index a1dcde7d26ebd..8c08b32759dc7 100644
--- a/shared/generate_cpp_array/source/generate_cpp_array.cpp
+++ b/shared/generate_cpp_array/source/generate_cpp_array.cpp
@@ -1,10 +1,11 @@
/*
- * Copyright (C) 2020-2024 Intel Corporation
+ * Copyright (C) 2020-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
+#include <cstdint>
#include <fstream>
#include <iomanip>
#include <iostream>
diff --git a/shared/offline_compiler/source/decoder/iga_wrapper.h b/shared/offline_compiler/source/decoder/iga_wrapper.h
index 82697e32cf6d4..e42bebca91b98 100644
--- a/shared/offline_compiler/source/decoder/iga_wrapper.h
+++ b/shared/offline_compiler/source/decoder/iga_wrapper.h
@@ -11,6 +11,7 @@
#include "igfxfmid.h"
+#include <cstdint>
#include <memory>
#include <string>
diff --git a/shared/offline_compiler/source/ocloc_arg_helper.h b/shared/offline_compiler/source/ocloc_arg_helper.h
index 3aca7258b03e0..b46ad5340b879 100644
--- a/shared/offline_compiler/source/ocloc_arg_helper.h
+++ b/shared/offline_compiler/source/ocloc_arg_helper.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2020-2024 Intel Corporation
+ * Copyright (C) 2020-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -11,6 +11,7 @@
#include "shared/source/utilities/const_stringref.h"
#include <algorithm>
+#include <cstdint>
#include <fstream>
#include <map>
#include <memory>
diff --git a/shared/source/debugger/debugger.h b/shared/source/debugger/debugger.h
index cfc1865808134..14f094cba6823 100644
--- a/shared/source/debugger/debugger.h
+++ b/shared/source/debugger/debugger.h
@@ -1,11 +1,12 @@
/*
- * Copyright (C) 2020-2023 Intel Corporation
+ * Copyright (C) 2020-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
+#include <cstdint>
#include <memory>
namespace NEO {
struct HardwareInfo;
diff --git a/shared/source/gmm_helper/gmm_helper.h b/shared/source/gmm_helper/gmm_helper.h
index 63a28e1148447..f1c2a6f194b93 100644
--- a/shared/source/gmm_helper/gmm_helper.h
+++ b/shared/source/gmm_helper/gmm_helper.h
@@ -6,6 +6,7 @@
*/
#pragma once
+#include <cstdint>
#include <memory>
namespace NEO {
diff --git a/shared/source/os_interface/device_factory.h b/shared/source/os_interface/device_factory.h
index 75dd491704224..02bac68e8fc36 100644
--- a/shared/source/os_interface/device_factory.h
+++ b/shared/source/os_interface/device_factory.h
@@ -1,11 +1,12 @@
/*
- * Copyright (C) 2018-2023 Intel Corporation
+ * Copyright (C) 2018-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
+#include <cstdint>
#include <memory>
#include <string>
#include <vector>
diff --git a/shared/source/os_interface/os_memory.h b/shared/source/os_interface/os_memory.h
index 7c521b004d834..24ed117b6fb96 100644
--- a/shared/source/os_interface/os_memory.h
+++ b/shared/source/os_interface/os_memory.h
@@ -1,11 +1,12 @@
/*
- * Copyright (C) 2019-2022 Intel Corporation
+ * Copyright (C) 2019-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
+#include <cstdint>
#include <memory>
#include <vector>
diff --git a/shared/source/os_interface/os_time.h b/shared/source/os_interface/os_time.h
index 9c838823fc9bc..bae7e5d435745 100644
--- a/shared/source/os_interface/os_time.h
+++ b/shared/source/os_interface/os_time.h
@@ -1,11 +1,12 @@
/*
- * Copyright (C) 2018-2024 Intel Corporation
+ * Copyright (C) 2018-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
+#include <cstdint>
#include <memory>
#include <optional>
diff --git a/shared/source/program/program_info.h b/shared/source/program/program_info.h
index e3569a16bc1f0..b27cab27ecd97 100644
--- a/shared/source/program/program_info.h
+++ b/shared/source/program/program_info.h
@@ -10,6 +10,7 @@
#include "shared/source/utilities/arrayref.h"
#include <cstddef>
+#include <cstdint>
#include <memory>
#include <string>
#include <unordered_map>
diff --git a/shared/source/utilities/software_tags.h b/shared/source/utilities/software_tags.h
index 30406bbaafe1d..29a27c47fbedb 100644
--- a/shared/source/utilities/software_tags.h
+++ b/shared/source/utilities/software_tags.h
@@ -8,6 +8,7 @@
#pragma once
#include "shared/source/helpers/string.h"
+#include <cstdint>
#include <string>
namespace NEO {
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
===================================================================
--- 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 <cstdint>
#include <memory>
#include <vector>

View File

@ -0,0 +1,87 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CMAKE_BUILD_TYPE="Release"
MY_PN="${PN/intel-/}"
MY_P="${MY_PN}-${PV}"
inherit cmake flag-o-matic
DESCRIPTION="Intel Graphics Compute Runtime for oneAPI Level Zero and OpenCL Driver"
HOMEPAGE="https://github.com/intel/compute-runtime"
SRC_URI="https://github.com/intel/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0/1.6.$(ver_cut 3)"
KEYWORDS="~amd64"
IUSE="disable-mitigations +l0 +vaapi"
RDEPEND="
!dev-libs/intel-compute-runtime:legacy
>=dev-util/intel-graphics-compiler-2.16.0:0
!dev-util/intel-graphics-compiler:legacy
>=media-libs/gmmlib-22.7.1:=
"
DEPEND="
${RDEPEND}
dev-libs/intel-metrics-discovery:=
>=dev-libs/intel-metrics-library-1.0.198:=
dev-libs/libnl:3
dev-libs/libxml2:2
>=dev-util/intel-graphics-system-controller-0.9.6:=
media-libs/mesa
>=virtual/opencl-3
l0? ( >=dev-libs/level-zero-1.24.1:= )
vaapi? (
x11-libs/libdrm[video_cards_intel]
media-libs/libva
)
"
BDEPEND="virtual/pkgconfig"
DOCS=( "README.md" "FAQ.md" )
src_prepare() {
# Remove '-Werror' from default
sed -e '/Werror/d' -i CMakeLists.txt || die
cmake_src_prepare
}
src_configure() {
# Filtered for two reasons:
# 1) https://github.com/intel/compute-runtime/issues/528
# 2) bug #930199
filter-lto
local mycmakeargs=(
-DCCACHE_ALLOWED="OFF"
-DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
-DCMAKE_INSTALL_LIBDIR="$(get_libdir)"
-DBUILD_WITH_L0="$(usex l0)"
-DDISABLE_LIBVA="$(usex !vaapi)"
-DNEO_ALLOW_LEGACY_PLATFORMS_SUPPORT="ON"
-DNEO_DISABLE_LTO="ON"
-DNEO_DISABLE_MITIGATIONS="$(usex disable-mitigations)"
-DNEO__METRICS_LIBRARY_INCLUDE_DIR="${ESYSROOT}/usr/include"
-DKHRONOS_GL_HEADERS_DIR="${ESYSROOT}/usr/include"
-DOCL_ICD_VENDORDIR="${EPREFIX}/etc/OpenCL/vendors"
-DSUPPORT_DG1="ON"
-Wno-dev
# See https://github.com/intel/intel-graphics-compiler/issues/204
-DNEO_DISABLE_BUILTINS_COMPILATION="ON"
# If enabled, tests are automatically run during
# the compile phase and we cannot run them because
# they require permissions to access the hardware.
-DSKIP_UNIT_TESTS="1"
)
cmake_src_configure
}

View File

@ -0,0 +1,15 @@
BDEPEND=virtual/pkgconfig app-alternatives/ninja >=dev-build/cmake-3.20.5
DEFINED_PHASES=compile configure install prepare test
DEPEND=!dev-libs/intel-compute-runtime:legacy >=dev-util/intel-graphics-compiler-2.16.0:0 !dev-util/intel-graphics-compiler:legacy >=media-libs/gmmlib-22.7.1:= dev-libs/intel-metrics-discovery:= >=dev-libs/intel-metrics-library-1.0.198:= dev-libs/libnl:3 dev-libs/libxml2:2 >=dev-util/intel-graphics-system-controller-0.9.6:= media-libs/mesa >=virtual/opencl-3 l0? ( >=dev-libs/level-zero-1.24.1:= ) vaapi? ( x11-libs/libdrm[video_cards_intel] media-libs/libva )
DESCRIPTION=Intel Graphics Compute Runtime for oneAPI Level Zero and OpenCL Driver
EAPI=8
HOMEPAGE=https://github.com/intel/compute-runtime
INHERIT=cmake flag-o-matic
IUSE=disable-mitigations +l0 +vaapi
KEYWORDS=~amd64
LICENSE=MIT
RDEPEND=!dev-libs/intel-compute-runtime:legacy >=dev-util/intel-graphics-compiler-2.16.0:0 !dev-util/intel-graphics-compiler:legacy >=media-libs/gmmlib-22.7.1:=
SLOT=0/1.6.34666
SRC_URI=https://github.com/intel/compute-runtime/archive/refs/tags/25.31.34666.3.tar.gz -> intel-compute-runtime-25.31.34666.3.tar.gz
_eclasses_=toolchain-funcs a0b29008c671a362b505f96fa80ce9c0 flag-o-matic a7afe42e95fb46ce9691605acfb24672 multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 xdg-utils 42869b3c8d86a70ef3cf75165a395e09 cmake 460729dc36f68cf03b044bc1d367e34a
_md5_=5827924874d7ce1bc7bcfc7750cc61f7

View File

@ -0,0 +1,16 @@
BDEPEND=dev-lang/perl virtual/pkgconfig wayland? ( dev-libs/wayland-protocols ) virtual/pkgconfig
DEFINED_PHASES=compile configure install prepare
DEPEND=dev-libs/glib:2 sys-apps/dbus x11-libs/cairo[X?,glib] x11-libs/gdk-pixbuf:2 x11-libs/pango[X?] dunstify? ( x11-libs/libnotify ) wayland? ( dev-libs/wayland ) X? ( x11-libs/libX11 x11-libs/libXext x11-libs/libXScrnSaver x11-libs/libXinerama x11-libs/libXrandr ) xdg? ( x11-misc/xdg-utils )
DESCRIPTION=Lightweight replacement for common notification daemons
EAPI=8
HOMEPAGE=https://dunst-project.org/ https://github.com/dunst-project/dunst
INHERIT=systemd toolchain-funcs
IUSE=+completions +dunstify wayland +X +xdg
KEYWORDS=~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86
LICENSE=BSD
RDEPEND=dev-libs/glib:2 sys-apps/dbus x11-libs/cairo[X?,glib] x11-libs/gdk-pixbuf:2 x11-libs/pango[X?] dunstify? ( x11-libs/libnotify ) wayland? ( dev-libs/wayland ) X? ( x11-libs/libX11 x11-libs/libXext x11-libs/libXScrnSaver x11-libs/libXinerama x11-libs/libXrandr ) xdg? ( x11-misc/xdg-utils )
REQUIRED_USE=|| ( wayland X )
SLOT=0
SRC_URI=https://github.com/dunst-project/dunst/archive/v1.13.0.tar.gz -> dunst-1.13.0.tar.gz
_eclasses_=toolchain-funcs a0b29008c671a362b505f96fa80ce9c0 systemd a964c0cbe818b5729da1dbfcee5be861
_md5_=a653828ab7deacd5e3b589c52267215d

View File

@ -1 +1 @@
DIST dunst-1.12.2.tar.gz 4657260 BLAKE2B 1d102ea2dc1d50009c45dc8923a12572b14d4bf142916febd3d5f853ba5cd9e1a5b7ddbcf5cb55f02b0bbea919ce040b1f627eefceccccfa62b333667052daf6 SHA512 f4fabcc5e260cf2dbd16eecd29129df24125ff1444d724202b835415242ed92b9857d42b23ad1e03c6cadd98de7b7ebd5ce20a0e41162baf55b15a71cb90b768
DIST dunst-1.13.0.tar.gz 4664717 BLAKE2B e8e593af830d1f3e168e8c3bdea7fd66a0cb612885d591de53b2281e6089636963eca8e8354ee620797d3992da47cff4a359ceeb6e39c336b7a4cc483b10900f SHA512 c869b1314bdfd4125bbf31102a271af12774242ff56eb2d2c0a2900fdb6b495ec0ff9adad111a32d4c52c342f510592cbaaa413b166bd3fe6cf820ae4ff16d01