|
|
@@ -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")
|
|
|
|