Parcourir la source

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
Chandler Carruth il y a 5 ans
Parent
commit
8f1f9b9fc2
1 fichiers modifiés avec 0 ajouts et 13 suppressions
  1. 0 13
      WORKSPACE

+ 0 - 13
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")