Skip to content

Commit e1afeb5

Browse files
authored
Refer to the correct path for including ppc_vsx-inl.h (#41598)
Signed-off-by: Md.afsan Hossain <[email protected]> Signed-off-by: Jonh Wendell <[email protected]>
1 parent b864c2b commit e1afeb5

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

bazel/highway-ppc64le.patch

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/BUILD b/BUILD
2+
index c825050b..7dd168db 100644
3+
--- a/BUILD
4+
+++ b/BUILD
5+
@@ -198,6 +198,7 @@ cc_library(
6+
"hwy/ops/x86_128-inl.h",
7+
"hwy/ops/x86_256-inl.h",
8+
"hwy/ops/x86_512-inl.h",
9+
+ "hwy/ops/ppc_vsx-inl.h",
10+
# Select avoids recompiling native arch if only non-native changed
11+
] + select({
12+
":compiler_emscripten": [

bazel/repositories.bzl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -744,6 +744,10 @@ def _fast_float():
744744
def _highway():
745745
external_http_archive(
746746
name = "highway",
747+
patches = [
748+
"@envoy//bazel:highway-ppc64le.patch",
749+
],
750+
patch_args = ["-p1"],
747751
)
748752

749753
def _dragonbox():

0 commit comments

Comments
 (0)