Skip to content

Commit 190f659

Browse files
committed
fix
1 parent ecddbbb commit 190f659

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

patches/jax.patch

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
diff --git a/jaxlib/mosaic/BUILD b/jaxlib/mosaic/BUILD
2-
index 088411939..598118390 100644
2+
index 088411939..ee6d632b6 100644
33
--- a/jaxlib/mosaic/BUILD
44
+++ b/jaxlib/mosaic/BUILD
5-
@@ -54,7 +54,15 @@ cc_library(
6-
"dialect/tpu/tpu_dialect.h",
7-
"dialect/tpu/util.h",
8-
"dialect/tpu/vreg_util.h",
5+
@@ -48,13 +48,11 @@ cc_library(
6+
"dialect/tpu/util.cc",
7+
"dialect/tpu/vreg_util.cc",
8+
],
9+
- hdrs = [
10+
- "dialect/tpu/array_util.h",
11+
- "dialect/tpu/layout.h",
12+
- "dialect/tpu/tpu_dialect.h",
13+
- "dialect/tpu/util.h",
14+
- "dialect/tpu/vreg_util.h",
915
- ],
10-
+ ] + glob(
16+
+ hdrs = glob(
1117
+ [
12-
+ "dialect/tpu/transforms/*.h",
13-
+ ],
14-
+ exclude = [
15-
+ "dialect/tpu/transforms/serde.h",
16-
+ "dialect/tpu/transforms/linalg_vectorization.h",
18+
+ "dialect/tpu/**/*.h",
1719
+ ])
1820
+ ,
1921
# compatible with libtpu

0 commit comments

Comments
 (0)