From 8f1f9b9fc26cd9add2b8681ffbc7c53e2c7bcfa0 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Fri, 19 Mar 2021 01:00:26 -0700 Subject: [PATCH] Remove unused bits from our WORKSPACE. (#402) Originally, I experimented with special rules for C++ builds of LLVM but we ended up with a native build of it instead. Loading and using this was completely unnecessary now and would have needed an update. Just remove it. Fixes #400 --- WORKSPACE | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 6d0470d09cee..f8d26a6691f8 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -6,14 +6,6 @@ workspace(name = "carbon") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") -# We want to use LLVM via an external CMake build, so pull in the Bazel -# infrastructure that provides direct CMake interfacing support. -http_archive( - name = "rules_foreign_cc", - strip_prefix = "rules_foreign_cc-main", - url = "https://github.com/bazelbuild/rules_foreign_cc/archive/main.zip", -) - # Add Bazel's python rules. http_archive( name = "rules_python", @@ -21,11 +13,6 @@ http_archive( url = "https://github.com/bazelbuild/rules_python/releases/download/0.1.0/rules_python-0.1.0.tar.gz", ) -# Set up necessary dependencies for working with the foreign C++ rules. -load("@rules_foreign_cc//:workspace_definitions.bzl", "rules_foreign_cc_dependencies") - -rules_foreign_cc_dependencies() - # Bootstrap a Clang and LLVM toolchain. load("//bazel/cc_toolchains:clang_bootstrap.bzl", "bootstrap_clang_toolchain")