Skip to content

Commit 4a26828

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

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
@@ -767,6 +767,10 @@ def _fast_float():
767767
def _highway():
768768
external_http_archive(
769769
name = "highway",
770+
patches = [
771+
"@envoy//bazel:highway-ppc64le.patch",
772+
],
773+
patch_args = ["-p1"],
770774
)
771775

772776
def _dragonbox():

0 commit comments

Comments
 (0)