From 412e11b8a9743f8b796c9b0b163ab993abfa86ff Mon Sep 17 00:00:00 2001 From: Alexander Heinecke Date: Sat, 31 May 2025 10:25:56 -0700 Subject: [PATCH 1/3] Create fix_missing_cstdint_dev_gcc15.patch --- .../fix_missing_cstdint_dev_gcc15.patch | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 external/llvm/releases/15.0.0/patches_external/fix_missing_cstdint_dev_gcc15.patch diff --git a/external/llvm/releases/15.0.0/patches_external/fix_missing_cstdint_dev_gcc15.patch b/external/llvm/releases/15.0.0/patches_external/fix_missing_cstdint_dev_gcc15.patch new file mode 100644 index 000000000000..077967ed4026 --- /dev/null +++ b/external/llvm/releases/15.0.0/patches_external/fix_missing_cstdint_dev_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 18ba19396445e1953582f2bdb60cf1bd64af63ec Mon Sep 17 00:00:00 2001 From: Alexander Heinecke Date: Sat, 31 May 2025 10:27:47 -0700 Subject: [PATCH 2/3] Create add_missing_cstdint_include_gcc15.patch --- .../add_missing_cstdint_include_gcc15.patch | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 external/llvm/releases/15.0.0/patches_external/add_missing_cstdint_include_gcc15.patch diff --git a/external/llvm/releases/15.0.0/patches_external/add_missing_cstdint_include_gcc15.patch b/external/llvm/releases/15.0.0/patches_external/add_missing_cstdint_include_gcc15.patch new file mode 100644 index 000000000000..077967ed4026 --- /dev/null +++ b/external/llvm/releases/15.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 db892f29d5c3cdb8a9293af57f3e885c973ec7b5 Mon Sep 17 00:00:00 2001 From: Alexander Heinecke Date: Sat, 31 May 2025 10:28:06 -0700 Subject: [PATCH 3/3] Delete external/llvm/releases/15.0.0/patches_external/fix_missing_cstdint_dev_gcc15.patch --- .../fix_missing_cstdint_dev_gcc15.patch | 27 ------------------- 1 file changed, 27 deletions(-) delete mode 100644 external/llvm/releases/15.0.0/patches_external/fix_missing_cstdint_dev_gcc15.patch diff --git a/external/llvm/releases/15.0.0/patches_external/fix_missing_cstdint_dev_gcc15.patch b/external/llvm/releases/15.0.0/patches_external/fix_missing_cstdint_dev_gcc15.patch deleted file mode 100644 index 077967ed4026..000000000000 --- a/external/llvm/releases/15.0.0/patches_external/fix_missing_cstdint_dev_gcc15.patch +++ /dev/null @@ -1,27 +0,0 @@ -/*========================== 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