Line 0
Link Here
|
|
|
1 |
diff --git a/third_party/ruy/commit-3c93cda.patch b/third_party/ruy/commit-3c93cda.patch |
2 |
new file mode 100644 |
3 |
index 00000000000..e530a842717 |
4 |
--- /dev/null |
5 |
+++ b/third_party/ruy/commit-3c93cda.patch |
6 |
@@ -0,0 +1,21 @@ |
7 |
+From 3c93cda8211efa01128d48950f0d6ee5233c5b9b Mon Sep 17 00:00:00 2001 |
8 |
+From: stha09 <51720730+stha09@users.noreply.github.com> |
9 |
+Date: Thu, 6 May 2021 18:31:30 +0200 |
10 |
+Subject: [PATCH] IWYU: include limits for std::numeric_limits (#253) |
11 |
+ |
12 |
+--- |
13 |
+ ruy/block_map.cc | 1 + |
14 |
+ 1 file changed, 1 insertion(+) |
15 |
+ |
16 |
+diff --git a/ruy/block_map.cc b/ruy/block_map.cc |
17 |
+index 6c01e52a02..e04e7aff4a 100644 |
18 |
+--- a/ruy/block_map.cc |
19 |
++++ b/ruy/block_map.cc |
20 |
+@@ -17,6 +17,7 @@ limitations under the License. |
21 |
+ |
22 |
+ #include <algorithm> |
23 |
+ #include <cstdint> |
24 |
++#include <limits> |
25 |
+ |
26 |
+ #ifdef RUY_MAKEBLOCKMAP_DEBUG |
27 |
+ #include <cstdio> |
28 |
diff --git a/third_party/ruy/workspace.bzl b/third_party/ruy/workspace.bzl |
29 |
index 50769621770..7e91d640469 100644 |
30 |
--- a/third_party/ruy/workspace.bzl |
31 |
+++ b/third_party/ruy/workspace.bzl |
32 |
@@ -12,4 +12,5 @@ def repo(): |
33 |
"https://github.com/google/ruy/archive/54774a7a2cf85963777289193629d4bd42de4a59.zip", |
34 |
], |
35 |
build_file = "//third_party/ruy:BUILD", |
36 |
+ patch_file = "//third_party/ruy:commit-3c93cda.patch" |
37 |
) |