From 78d18f6ad7bbd3461c425d20a81d4e6adc6eb098 Mon Sep 17 00:00:00 2001 From: Alexandros Theodoridis Date: Mon, 18 Nov 2024 09:22:23 +0000 Subject: [PATCH] Revert workspace --- BUILD.bazel | 9 --------- WORKSPACE | 22 ---------------------- 2 files changed, 31 deletions(-) diff --git a/BUILD.bazel b/BUILD.bazel index 0716ace4f8bcf8..23644329d2371e 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -1,4 +1,3 @@ -load("@hedron_compile_commands//:refresh_compile_commands.bzl", "refresh_compile_commands") load("@rules_license//rules:license.bzl", "license") package( @@ -13,11 +12,3 @@ license( package_name = "xla", license_kinds = ["@rules_license//licenses/spdx:Apache-2.0"], ) - -refresh_compile_commands( - name = "refresh_compile_commands", - targets = { - "//xla/client/lib:math_test_gpu": "--config=rocm", - "//xla/tools:run_hlo_module": "--config=rocm", - }, -) diff --git a/WORKSPACE b/WORKSPACE index 9a6c2a43d5b701..9d046e22949091 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -52,25 +52,3 @@ xla_workspace1() load(":workspace0.bzl", "xla_workspace0") xla_workspace0() - -load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") - -# Hedron's Compile Commands Extractor for Bazel -# https://github.com/hedronvision/bazel-compile-commands-extractor -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/0e990032f3c5a866e72615cf67e5ce22186dcb97.tar.gz", - strip_prefix = "bazel-compile-commands-extractor-0e990032f3c5a866e72615cf67e5ce22186dcb97", - # 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 = ..." -) -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()