From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9B27215ACFB for ; Tue, 18 Apr 2023 20:38:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3475BE08C8; Tue, 18 Apr 2023 20:38:40 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E62D5E08C8 for ; Tue, 18 Apr 2023 20:38:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F3AA0340D65 for ; Tue, 18 Apr 2023 20:38:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1DD6AA54 for ; Tue, 18 Apr 2023 20:38:35 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1681850192.02a40cbb8641d50543cc3aaf387b827b84edf960.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/intel-compute-runtime/, dev-libs/intel-compute-runtime/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/intel-compute-runtime/files/intel-compute-runtime-23.05.25593.18-gcc13.patch dev-libs/intel-compute-runtime/intel-compute-runtime-23.05.25593.18.ebuild X-VCS-Directories: dev-libs/intel-compute-runtime/ dev-libs/intel-compute-runtime/files/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 02a40cbb8641d50543cc3aaf387b827b84edf960 X-VCS-Branch: master Date: Tue, 18 Apr 2023 20:38:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8b77da21-d0dc-48b0-a8b1-2f835d6e0185 X-Archives-Hash: 0e50bd1f6010de7a4509ceab313d9b03 commit: 02a40cbb8641d50543cc3aaf387b827b84edf960 Author: Conrad Kostecki gentoo org> AuthorDate: Tue Apr 18 20:36:32 2023 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Tue Apr 18 20:36:32 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02a40cbb dev-libs/intel-compute-runtime: fix gcc13 compilation Bug: https://bugs.gentoo.org/902469 Signed-off-by: Conrad Kostecki gentoo.org> ...ntel-compute-runtime-23.05.25593.18-gcc13.patch | 237 +++++++++++++++++++++ .../intel-compute-runtime-23.05.25593.18.ebuild | 3 +- 2 files changed, 239 insertions(+), 1 deletion(-) diff --git a/dev-libs/intel-compute-runtime/files/intel-compute-runtime-23.05.25593.18-gcc13.patch b/dev-libs/intel-compute-runtime/files/intel-compute-runtime-23.05.25593.18-gcc13.patch new file mode 100644 index 000000000000..0e4b6d1cdb47 --- /dev/null +++ b/dev-libs/intel-compute-runtime/files/intel-compute-runtime-23.05.25593.18-gcc13.patch @@ -0,0 +1,237 @@ +From beaff2b7358706badc38743f012b5a6cd7823680 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= +Date: Fri, 17 Feb 2023 17:53:57 +0100 +Subject: [PATCH] Include cstdint to fix GCC 13 build +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: FrantiĊĦek Zatloukal +--- + shared/offline_compiler/source/ocloc_concat.h | 3 ++- + shared/source/ail/ail_configuration.h | 1 + + shared/source/compiler_interface/external_functions.h | 1 + + shared/source/device_binary_format/ar/ar_encoder.h | 3 ++- + shared/source/os_interface/linux/drm_debug.h | 3 ++- + shared/source/os_interface/linux/drm_neo.h | 1 + + shared/source/os_interface/linux/pci_path.cpp | 3 ++- + shared/source/os_interface/linux/pmt_util.cpp | 5 +++-- + shared/source/os_interface/linux/pmt_util.h | 3 ++- + shared/source/os_interface/linux/print.cpp | 3 ++- + shared/source/tbx/tbx_sockets.h | 3 ++- + shared/source/tbx/tbx_sockets_imp.h | 3 ++- + 12 files changed, 22 insertions(+), 10 deletions(-) + +diff --git a/shared/offline_compiler/source/ocloc_concat.h b/shared/offline_compiler/source/ocloc_concat.h +index c53050b26bf..7a9c9ebdd4e 100644 +--- a/shared/offline_compiler/source/ocloc_concat.h ++++ b/shared/offline_compiler/source/ocloc_concat.h +@@ -10,6 +10,7 @@ + #include "shared/source/utilities/arrayref.h" + #include "shared/source/utilities/const_stringref.h" + ++#include + #include + #include + +@@ -52,4 +53,4 @@ Usage: ocloc concat ... [-out fileNamesToConcat; + std::string fatBinaryName = "concat.ar"; + }; +-} // namespace NEO +\ No newline at end of file ++} // namespace NEO +diff --git a/shared/source/ail/ail_configuration.h b/shared/source/ail/ail_configuration.h +index 95381289d2f..0d8b349b495 100644 +--- a/shared/source/ail/ail_configuration.h ++++ b/shared/source/ail/ail_configuration.h +@@ -9,6 +9,7 @@ + + #include "igfxfmid.h" + ++#include + #include + + /* +diff --git a/shared/source/compiler_interface/external_functions.h b/shared/source/compiler_interface/external_functions.h +index 1dbe54296a8..61873b466c8 100644 +--- a/shared/source/compiler_interface/external_functions.h ++++ b/shared/source/compiler_interface/external_functions.h +@@ -7,6 +7,7 @@ + + #pragma once + ++#include + #include + #include + #include +diff --git a/shared/source/device_binary_format/ar/ar_encoder.h b/shared/source/device_binary_format/ar/ar_encoder.h +index f30db2589be..5b3ec9dbb43 100644 +--- a/shared/source/device_binary_format/ar/ar_encoder.h ++++ b/shared/source/device_binary_format/ar/ar_encoder.h +@@ -1,5 +1,5 @@ + /* +- * Copyright (C) 2020-2022 Intel Corporation ++ * Copyright (C) 2020-2023 Intel Corporation + * + * SPDX-License-Identifier: MIT + * +@@ -11,6 +11,7 @@ + #include "shared/source/utilities/arrayref.h" + #include "shared/source/utilities/const_stringref.h" + ++#include + #include + + namespace NEO { +diff --git a/shared/source/os_interface/linux/drm_debug.h b/shared/source/os_interface/linux/drm_debug.h +index 8e5180cb665..a86f55f0c14 100644 +--- a/shared/source/os_interface/linux/drm_debug.h ++++ b/shared/source/os_interface/linux/drm_debug.h +@@ -1,5 +1,5 @@ + /* +- * Copyright (C) 2022 Intel Corporation ++ * Copyright (C) 2022-2023 Intel Corporation + * + * SPDX-License-Identifier: MIT + * +@@ -8,6 +8,7 @@ + #pragma once + + #include ++#include + #include + #include + +diff --git a/shared/source/os_interface/linux/drm_neo.h b/shared/source/os_interface/linux/drm_neo.h +index fd8ab8e61c8..fd9a2ab726f 100644 +--- a/shared/source/os_interface/linux/drm_neo.h ++++ b/shared/source/os_interface/linux/drm_neo.h +@@ -18,6 +18,7 @@ + #include "igfxfmid.h" + + #include ++#include + #include + #include + #include +diff --git a/shared/source/os_interface/linux/pci_path.cpp b/shared/source/os_interface/linux/pci_path.cpp +index 04ade097a71..2f7f9800111 100644 +--- a/shared/source/os_interface/linux/pci_path.cpp ++++ b/shared/source/os_interface/linux/pci_path.cpp +@@ -1,5 +1,5 @@ + /* +- * Copyright (C) 2021-2022 Intel Corporation ++ * Copyright (C) 2021-2023 Intel Corporation + * + * SPDX-License-Identifier: MIT + * +@@ -9,6 +9,7 @@ + + #include "shared/source/os_interface/linux/sys_calls.h" + ++#include + #include + #include + +diff --git a/shared/source/os_interface/linux/pmt_util.cpp b/shared/source/os_interface/linux/pmt_util.cpp +index 7b20b671be4..a8004a0ff75 100644 +--- a/shared/source/os_interface/linux/pmt_util.cpp ++++ b/shared/source/os_interface/linux/pmt_util.cpp +@@ -1,5 +1,5 @@ + /* +- * Copyright (C) 2021-2022 Intel Corporation ++ * Copyright (C) 2021-2023 Intel Corporation + * + * SPDX-License-Identifier: MIT + * +@@ -14,6 +14,7 @@ + + #include + #include ++#include + #include + #include + #include +@@ -106,4 +107,4 @@ ssize_t PmtUtil::readTelem(std::string_view telemDir, const std::size_t count, c + return bytesRead; + } + +-} // namespace NEO +\ No newline at end of file ++} // namespace NEO +diff --git a/shared/source/os_interface/linux/pmt_util.h b/shared/source/os_interface/linux/pmt_util.h +index 28ecad3f05c..374b4767185 100644 +--- a/shared/source/os_interface/linux/pmt_util.h ++++ b/shared/source/os_interface/linux/pmt_util.h +@@ -1,5 +1,5 @@ + /* +- * Copyright (C) 2021-2022 Intel Corporation ++ * Copyright (C) 2021-2023 Intel Corporation + * + * SPDX-License-Identifier: MIT + * +@@ -7,6 +7,7 @@ + + #pragma once + ++#include + #include + #include + #include +diff --git a/shared/source/os_interface/linux/print.cpp b/shared/source/os_interface/linux/print.cpp +index 9562bad72a9..1cd173560be 100644 +--- a/shared/source/os_interface/linux/print.cpp ++++ b/shared/source/os_interface/linux/print.cpp +@@ -1,5 +1,5 @@ + /* +- * Copyright (C) 2018-2022 Intel Corporation ++ * Copyright (C) 2018-2023 Intel Corporation + * + * SPDX-License-Identifier: MIT + * +@@ -7,6 +7,7 @@ + + #include "shared/source/os_interface/print.h" + ++#include + #include + #include + +diff --git a/shared/source/tbx/tbx_sockets.h b/shared/source/tbx/tbx_sockets.h +index 9b7f7863f05..c00b1847bc2 100644 +--- a/shared/source/tbx/tbx_sockets.h ++++ b/shared/source/tbx/tbx_sockets.h +@@ -1,11 +1,12 @@ + /* +- * Copyright (C) 2018-2021 Intel Corporation ++ * Copyright (C) 2018-2023 Intel Corporation + * + * SPDX-License-Identifier: MIT + * + */ + + #pragma once ++#include + #include + + namespace NEO { +diff --git a/shared/source/tbx/tbx_sockets_imp.h b/shared/source/tbx/tbx_sockets_imp.h +index 738f26175b3..c8e2ac6f0ff 100644 +--- a/shared/source/tbx/tbx_sockets_imp.h ++++ b/shared/source/tbx/tbx_sockets_imp.h +@@ -1,5 +1,5 @@ + /* +- * Copyright (C) 2018-2020 Intel Corporation ++ * Copyright (C) 2018-2023 Intel Corporation + * + * SPDX-License-Identifier: MIT + * +@@ -10,6 +10,7 @@ + + #include "os_socket.h" + ++#include + #include + + namespace NEO { diff --git a/dev-libs/intel-compute-runtime/intel-compute-runtime-23.05.25593.18.ebuild b/dev-libs/intel-compute-runtime/intel-compute-runtime-23.05.25593.18.ebuild index 745b0dcf530b..ffb2b97cbbb6 100644 --- a/dev-libs/intel-compute-runtime/intel-compute-runtime-23.05.25593.18.ebuild +++ b/dev-libs/intel-compute-runtime/intel-compute-runtime-23.05.25593.18.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="+l0 +vaapi" RDEPEND=">=media-libs/gmmlib-22.1.7:=" @@ -43,6 +43,7 @@ DOCS=( "README.md" "FAQ.md" ) PATCHES=( "${FILESDIR}/${PN}-22.24.23453-remove-fortify-sources.patch" + "${FILESDIR}/${PN}-23.05.25593.18-gcc13.patch" ) src_prepare() {