summaryrefslogtreecommitdiff
path: root/sci-libs/caffe2/files/caffe2-2.0.0-gcc13.patch
blob: acbcebad0a5d944af50984b8c4583c84c5815241 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
--- a/c10/util/Registry.h   2023-03-09 17:42:00.000000000 -0500
+++ b/c10/util/Registry.h       2023-04-09 20:38:33.108135511 -0400
@@ -16,6 +16,7 @@
 #include <memory>
 #include <mutex>
 #include <string>
+#include <stdexcept>
 #include <unordered_map>
 #include <vector>
 
--- a/torch/csrc/jit/passes/quantization/quantization_type.h    2023-03-09 17:42:00.000000000 -0500
+++ b/torch/csrc/jit/passes/quantization/quantization_type.h    2023-04-09 20:43:43.124806308 -0400
@@ -1,5 +1,6 @@
 #pragma once
 #include <ostream>
+#include <cstdint>
 
 namespace torch {
 namespace jit {

--- a/torch/csrc/jit/runtime/logging.cpp    2023-03-09 17:42:00.000000000 -0500
+++ b/torch/csrc/jit/runtime/logging.cpp    2023-04-09 20:47:49.758142941 -0400
@@ -1,6 +1,7 @@
 #include <torch/csrc/jit/runtime/logging.h>
 
 #include <atomic>
+#include <stdexcept>
 #include <mutex>
 #include <unordered_map>
 

--- a/torch/csrc/lazy/core/multi_wait.cpp   2023-03-09 17:42:00.000000000 -0500
+++ b/torch/csrc/lazy/core/multi_wait.cpp   2023-04-09 20:50:36.608145172 -0400
@@ -1,6 +1,7 @@
 #include <torch/csrc/lazy/core/multi_wait.h>
 
 #include <chrono>
+#include <stdexcept>
 #include <exception>
 
 namespace torch {