diff --git a/deps/ReactantExtra/WORKSPACE b/deps/ReactantExtra/WORKSPACE index 71b28081b..b7fc309e9 100644 --- a/deps/ReactantExtra/WORKSPACE +++ b/deps/ReactantExtra/WORKSPACE @@ -1,20 +1,5 @@ workspace(name = "Reactant") -load("//third_party/hedron_compile_commands:workspace.bzl", hedron_compile_commands_workspace = "repo") -hedron_compile_commands_workspace() - -load("@hedron_compile_commands//:workspace_setup.bzl", "hedron_compile_commands_setup") -hedron_compile_commands_setup() - -load("@hedron_compile_commands//:workspace_setup_transitive.bzl", "hedron_compile_commands_setup_transitive") -hedron_compile_commands_setup_transitive() - -load("@hedron_compile_commands//:workspace_setup_transitive_transitive.bzl", "hedron_compile_commands_setup_transitive_transitive") -hedron_compile_commands_setup_transitive_transitive() - -load("@hedron_compile_commands//:workspace_setup_transitive_transitive_transitive.bzl", "hedron_compile_commands_setup_transitive_transitive_transitive") -hedron_compile_commands_setup_transitive_transitive_transitive() - load("//third_party/nsync:workspace.bzl", nsync_workspace = "repo") nsync_workspace() @@ -152,3 +137,18 @@ load( "nccl_configure", ) nccl_configure(name = "local_config_nccl") + +load("@enzyme_ad//third_party/hedron_compile_commands:workspace.bzl", hedron_compile_commands_workspace = "repo") +hedron_compile_commands_workspace() + +load("@hedron_compile_commands//:workspace_setup.bzl", "hedron_compile_commands_setup") +hedron_compile_commands_setup() + +load("@hedron_compile_commands//:workspace_setup_transitive.bzl", "hedron_compile_commands_setup_transitive") +hedron_compile_commands_setup_transitive() + +load("@hedron_compile_commands//:workspace_setup_transitive_transitive.bzl", "hedron_compile_commands_setup_transitive_transitive") +hedron_compile_commands_setup_transitive_transitive() + +load("@hedron_compile_commands//:workspace_setup_transitive_transitive_transitive.bzl", "hedron_compile_commands_setup_transitive_transitive_transitive") +hedron_compile_commands_setup_transitive_transitive_transitive() diff --git a/deps/ReactantExtra/third_party/enzyme_ad/workspace.bzl b/deps/ReactantExtra/third_party/enzyme_ad/workspace.bzl index c2565b507..e0e52fd75 100644 --- a/deps/ReactantExtra/third_party/enzyme_ad/workspace.bzl +++ b/deps/ReactantExtra/third_party/enzyme_ad/workspace.bzl @@ -2,7 +2,7 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") -ENZYMEXLA_COMMIT = "f6587e37ff7298f2a1a273b08c24d69fca7ff30f" +ENZYMEXLA_COMMIT = "52e14543628df5e3f806dce096243c4603d3e103" ENZYMEXLA_SHA256 = "" def repo(): diff --git a/deps/ReactantExtra/third_party/hedron_compile_commands/BUILD b/deps/ReactantExtra/third_party/hedron_compile_commands/BUILD deleted file mode 100644 index e69de29bb..000000000 diff --git a/deps/ReactantExtra/third_party/hedron_compile_commands/workspace.bzl b/deps/ReactantExtra/third_party/hedron_compile_commands/workspace.bzl deleted file mode 100644 index bbb25a029..000000000 --- a/deps/ReactantExtra/third_party/hedron_compile_commands/workspace.bzl +++ /dev/null @@ -1,15 +0,0 @@ -"""Loads Hedron's Compile Commands Extractor for Bazel.""" -# https://github.com/hedronvision/bazel-compile-commands-extractor - -load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") - -def repo(): - http_archive( - name = "hedron_compile_commands", - - # Replace the commit hash (0e990032f3c5a866e72615cf67e5ce22186dcb97) in both places (below) with the latest (https://github.com/hedronvision/bazel-compile-commands-extractor/commits/main), rather than using the stale one here. - # Even better, set up Renovate and let it do the work for you (see "Suggestion: Updates" in the README). - url = "https://github.com/hedronvision/bazel-compile-commands-extractor/archive/4f28899228fb3ad0126897876f147ca15026151e.tar.gz", - strip_prefix = "bazel-compile-commands-extractor-4f28899228fb3ad0126897876f147ca15026151e", - # When you first run this tool, it'll recommend a sha256 hash to put here with a message like: "DEBUG: Rule 'hedron_compile_commands' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = ..." - )