Skip to content

Commit 55ce2cd

Browse files
authored
Bump dependencies (#143)
1 parent 59d31c6 commit 55ce2cd

File tree

3 files changed

+10
-15
lines changed

3 files changed

+10
-15
lines changed

deps/ReactantExtra/BUILD

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,8 @@ cc_library(
342342

343343
"@xla//xla/service/cpu:cpu_transfer_manager",
344344
"@xla//xla/pjrt/gpu:se_gpu_pjrt_client",
345-
346-
"@tsl//tsl/protobuf:protos_all_cc_impl",
345+
346+
"@xla//xla/tsl/protobuf:protos_all_cc_impl",
347347
"@xla//xla/tsl/framework:allocator_registry_impl",
348348

349349
"@xla//xla/pjrt:status_casters",
@@ -352,9 +352,9 @@ cc_library(
352352
"@xla//xla/python/ifrt/hlo:hlo_program",
353353
"@xla//xla/ffi:call_frame",
354354
"@com_google_protobuf//:protobuf",
355-
"@tsl//tsl/profiler/backends/cpu:annotation_stack_impl",
356-
"@tsl//tsl/profiler/backends/cpu:traceme_recorder_impl",
357-
"@tsl//tsl/profiler/utils:time_utils_impl",
355+
"@xla//xla/tsl/profiler/backends/cpu:annotation_stack_impl",
356+
"@xla//xla/tsl/profiler/backends/cpu:traceme_recorder_impl",
357+
"@xla//xla/tsl/profiler/utils:time_utils_impl",
358358
"@tsl//tsl/platform:env_impl",
359359
"@xla//xla/stream_executor:stream_executor_impl",
360360
"@xla//xla/mlir/utils:type_util",

deps/ReactantExtra/WORKSPACE

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ http_archive(
99
urls = ["https://github.com/wsmoses/nsync/archive/{commit}.tar.gz".format(commit = NSYNC_COMMIT)],
1010
)
1111

12-
ENZYMEXLA_COMMIT = "27ccd5e6ace279781ad437ddd551e8a1b9a3de9e"
12+
ENZYMEXLA_COMMIT = "c81918c2e1625b3ed74dca4e123b2b65ab4aaf3a"
1313
ENZYMEXLA_SHA256 = ""
1414

1515
http_archive(
@@ -91,12 +91,11 @@ http_archive(
9191
patches = ["@enzyme_ad//:patches/jax.patch"],
9292
)
9393

94-
# load("@jax//third_party/xla:workspace.bzl", "XLA_COMMIT", "XLA_SHA256")
95-
XLA_COMMIT = "7d4f8d1e8a91e67a713ac69796a22f343d292327"
94+
load("@jax//third_party/xla:workspace.bzl", "XLA_COMMIT", "XLA_SHA256")
9695

9796
http_archive(
9897
name = "xla",
99-
# sha256 = XLA_SHA256,
98+
sha256 = XLA_SHA256,
10099
strip_prefix = "xla-" + XLA_COMMIT,
101100
urls = ["https://github.com/wsmoses/xla/archive/{commit}.tar.gz".format(commit = XLA_COMMIT)],
102101
patch_cmds = XLA_PATCHES

deps/ReactantExtra/tblgen/jl-generators.cc

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ namespace
118118
return description;
119119
}
120120

121-
std::string getDialectName(llvm::ArrayRef<llvm::Record*> op_defs) {
121+
std::string getDialectName(llvm::ArrayRef<const llvm::Record*> op_defs) {
122122
mlir::tblgen::Operator any_op(op_defs.front());
123123
assert(
124124
std::all_of(op_defs.begin(), op_defs.end(), [&any_op](llvm::Record* op) {
@@ -163,11 +163,7 @@ extern bool disableModuleWrap;
163163
bool emitOpTableDefs(const llvm::RecordKeeper &recordKeeper,
164164
llvm::raw_ostream &os)
165165
{
166-
#if LLVM_VERSION_MAJOR >= 16
167-
std::vector<llvm::Record *> opdefs = recordKeeper.getAllDerivedDefinitionsIfDefined("Op");
168-
#else
169-
std::vector<llvm::Record *> opdefs = recordKeeper.getAllDerivedDefinitions("Op");
170-
#endif
166+
llvm::ArrayRef<const llvm::Record*> opdefs = recordKeeper.getAllDerivedDefinitionsIfDefined("Op");
171167

172168
const char *moduleTemplate;
173169
if (disableModuleWrap)

0 commit comments

Comments
 (0)