Skip to content

Commit e0a1a30

Browse files
Format Bazel code
1 parent b126621 commit e0a1a30

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

deps/ReactantExtra/BUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ cc_toolchain_config(
758758
"-D__TIME__=\"redacted\"",
759759
"-Wno-unused-command-line-argument",
760760
"-Wno-gnu-offsetof-extensions",
761-
"-mxsave",
761+
"-mxsave",
762762
],
763763
)
764764

@@ -1193,7 +1193,7 @@ cc_library(
11931193
],
11941194
"@xla//xla/tsl:windows": [
11951195
"@xla//xla/tsl/platform/windows:platform_port",
1196-
],
1196+
],
11971197
"//conditions:default": [
11981198
"@gloo//:transport_tcp",
11991199
"@xla//xla/backends/cpu/collectives:gloo_collectives",

deps/ReactantExtra/WORKSPACE

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ NEW_XLA_PATCHES = CUPTI_NEW + [
4040
"""
4141
sed -i.bak0 "s/Shlwapi/shlwapi/g" xla/tsl/platform/windows/load_library.cc xla/tsl/platform/windows/windows_file_system.cc xla/tsl/platform/windows/env.cc
4242
""",
43-
"""
43+
"""
4444
sed -i.bak0 "1s/^/#ifdef PLATFORM_WINDOWS\\n#include <immintrin.h>\\n#include <intrin.h>\\n#endif/g" third_party/tsl/tsl/platform/cpu_info.cc
4545
""",
46-
"""
46+
"""
4747
sed -i.bak0 "1s/^/#define _USE_MATH_DEFINES\\n/g" xla/fp_util.h xla/hlo/builder/lib/prng.cc xla/literal_comparison.cc xla/hlo/builder/lib/math.cc xla/service/spmd/fft_handler.cc xla/service/cpu/onednn_contraction_rewriter.cc xla/hlo/evaluator/hlo_evaluator.cc
4848
""",
4949
"""
@@ -138,10 +138,15 @@ LLVM_TARGETS = [
138138
# )
139139

140140
load("@enzyme_ad//third_party/jax:workspace.bzl", jax_workspace = "repo")
141+
141142
jax_workspace()
142143

143144
load("@enzyme_ad//third_party/xla:workspace.bzl", xla_workspace = "repo")
144-
xla_workspace(NEW_XLA_PATCHES, override_commit = "3db2ac3bf43c3e250ef7614eb5c8594e716ecc48")
145+
146+
xla_workspace(
147+
NEW_XLA_PATCHES,
148+
override_commit = "3db2ac3bf43c3e250ef7614eb5c8594e716ecc48",
149+
)
145150

146151
#
147152
# load("@xla//third_party/py:python_init_pip.bzl", "python_init_pip")
@@ -158,10 +163,9 @@ xla_workspace(NEW_XLA_PATCHES, override_commit = "3db2ac3bf43c3e250ef7614eb5c859
158163
#
159164
# pip_install_dependencies()
160165

161-
162166
load("@enzyme_ad//third_party/enzyme:workspace.bzl", enzyme_workspace = "repo")
163-
enzyme_workspace()
164167

168+
enzyme_workspace()
165169

166170
# http_archive(
167171
# name = "upb",

0 commit comments

Comments
 (0)