Skip to content

Commit 2b6c603

Browse files
Format Bazel code (#1542)
Co-authored-by: enzyme-ci-bot[bot] <78882869+enzyme-ci-bot[bot]@users.noreply.github.com>
1 parent e1bc1fe commit 2b6c603

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
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: 5 additions & 4 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,9 +138,11 @@ 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")
145+
144146
xla_workspace(NEW_XLA_PATCHES)
145147

146148
#
@@ -158,10 +160,9 @@ xla_workspace(NEW_XLA_PATCHES)
158160
#
159161
# pip_install_dependencies()
160162

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

165+
enzyme_workspace()
165166

166167
# http_archive(
167168
# name = "upb",

0 commit comments

Comments
 (0)