From 0fd168be7b7c401550c99611c2bb6245104a5604 Mon Sep 17 00:00:00 2001 From: Alexander Heinecke Date: Wed, 17 Dec 2025 23:39:25 -0800 Subject: [PATCH 1/2] Added patchfile for gcc15 also for llvm16 --- .../add_missing_cstdint_include_gcc15.patch | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 external/llvm/releases/16.0.0/patches_external/add_missing_cstdint_include_gcc15.patch diff --git a/external/llvm/releases/16.0.0/patches_external/add_missing_cstdint_include_gcc15.patch b/external/llvm/releases/16.0.0/patches_external/add_missing_cstdint_include_gcc15.patch new file mode 100644 index 000000000000..077967ed4026 --- /dev/null +++ b/external/llvm/releases/16.0.0/patches_external/add_missing_cstdint_include_gcc15.patch @@ -0,0 +1,27 @@ +/*========================== begin_copyright_notice ============================ + +Copyright (C) 2025 Intel Corporation + +SPDX-License-Identifier: MIT + +============================= end_copyright_notice ===========================*/ + +/*========================== begin_copyright_notice ============================ + +Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +See https://llvm.org/LICENSE.txt for license information. +SPDX-License-Identifier: Apache-2.0 with LLVM-exception + +============================= end_copyright_notice ===========================*/ +diff --git a/llvm/include/llvm/ADT/SmallVector.h b/llvm/include/llvm/ADT/SmallVector.h +index e34702bdbb3c..08fa2765a1c2 100644 +--- a/llvm/include/llvm/ADT/SmallVector.h ++++ b/llvm/include/llvm/ADT/SmallVector.h +@@ -21,6 +21,7 @@ + #include + #include + #include ++#include + #include + #include + #include From f2a2b3840c820ad84c42969c6bd5f3214537de28 Mon Sep 17 00:00:00 2001 From: Alexander Heinecke Date: Wed, 17 Dec 2025 23:43:50 -0800 Subject: [PATCH 2/2] Create change_ciso646_to_version.patch --- .../change_ciso646_to_version.patch | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 external/llvm/releases/16.0.0/patches_external/change_ciso646_to_version.patch diff --git a/external/llvm/releases/16.0.0/patches_external/change_ciso646_to_version.patch b/external/llvm/releases/16.0.0/patches_external/change_ciso646_to_version.patch new file mode 100644 index 000000000000..b622e02775af --- /dev/null +++ b/external/llvm/releases/16.0.0/patches_external/change_ciso646_to_version.patch @@ -0,0 +1,28 @@ +/*========================== begin_copyright_notice ============================ + +Copyright (C) 2025 Intel Corporation + +SPDX-License-Identifier: MIT + +============================= end_copyright_notice ===========================*/ + +/*========================== begin_copyright_notice ============================ + +Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +See https://llvm.org/LICENSE.txt for license information. +SPDX-License-Identifier: Apache-2.0 with LLVM-exception + +============================= end_copyright_notice ===========================*/ +diff --git a/llvm/include/llvm/Support/Threading.h b/llvm/include/llvm/Support/Threading.h +index ba6c531ab4db..78aa5e7be5b5 100644 +--- a/llvm/include/llvm/Support/Threading.h ++++ b/llvm/include/llvm/Support/Threading.h +@@ -18,7 +18,7 @@ + #include "llvm/ADT/StringRef.h" + #include "llvm/Config/llvm-config.h" // for LLVM_ON_UNIX + #include "llvm/Support/Compiler.h" +-#include // So we can check the C++ standard lib macros. ++#include // So we can check the C++ standard lib macros. + #include + + #if defined(_MSC_VER)