summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-onnx-runtime/gcc11.patch
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/py-onnx-runtime/gcc11.patch')
-rw-r--r--var/spack/repos/builtin/packages/py-onnx-runtime/gcc11.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/var/spack/repos/builtin/packages/py-onnx-runtime/gcc11.patch b/var/spack/repos/builtin/packages/py-onnx-runtime/gcc11.patch
deleted file mode 100644
index b53cc1dc6d..0000000000
--- a/var/spack/repos/builtin/packages/py-onnx-runtime/gcc11.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From de4089f8cbe0baffe56a363cc3a41595cc8f0809 Mon Sep 17 00:00:00 2001
-From: ankurverma85 <31362771+ankurverma85@users.noreply.github.com>
-Date: Mon, 10 May 2021 12:50:08 -0700
-Subject: [PATCH] GCC11/Libstdc++11 Compilation fixes (#7599)
-
-Authored-by: Ankur Verma <ankurv@microsoft.com>
----
- include/onnxruntime/core/graph/graph_nodes.h | 2 +-
- onnxruntime/test/providers/cpu/controlflow/loop_test.cc | 1 +
- 2 files changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/include/onnxruntime/core/graph/graph_nodes.h b/include/onnxruntime/core/graph/graph_nodes.h
-index 422fe9538ea..aec603f7942 100644
---- a/include/onnxruntime/core/graph/graph_nodes.h
-+++ b/include/onnxruntime/core/graph/graph_nodes.h
-@@ -100,7 +100,7 @@ class ValidNodes {
- using const_reference = const T&;
-
- /** Construct a NodeInterator and move to the first valid node. */
-- NodeIterator<TIterator>(const TIterator current, const TIterator end, const NodeFilterFunc& filter_fn) noexcept
-+ NodeIterator(const TIterator current, const TIterator end, const NodeFilterFunc& filter_fn) noexcept
- : current_{current}, end_{end}, apply_filter_{filter_fn != nullptr}, filter_func_{&filter_fn} {
- // skip to next valid node, stopping at end if none are found
- while (current_ < end && (*current_ == nullptr ||
-diff --git a/onnxruntime/test/providers/cpu/controlflow/loop_test.cc b/onnxruntime/test/providers/cpu/controlflow/loop_test.cc
-index b058e9a16c7..3cf147e997c 100644
---- a/onnxruntime/test/providers/cpu/controlflow/loop_test.cc
-+++ b/onnxruntime/test/providers/cpu/controlflow/loop_test.cc
-@@ -2,6 +2,7 @@
- // Licensed under the MIT License.
-
- #include <future>
-+#include <thread>
- #include "gtest/gtest.h"
- #include "gmock/gmock.h"
-