| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- # Part of the Carbon Language project, under the Apache License v2.0 with LLVM
- # Exceptions. See /LICENSE for license information.
- # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
- # This file is symlinked into a configured Clang toolchain repository as the
- # root `BUILD` file for that repository.
- load("@rules_cc//cc:defs.bzl", "cc_library", "cc_toolchain", "cc_toolchain_suite")
- load(":cc_toolchain_config.bzl", "cc_toolchain_config")
- cc_library(
- name = "malloc",
- )
- filegroup(
- name = "empty",
- srcs = [],
- )
- cc_toolchain_suite(
- name = "bazel_cc_toolchain",
- toolchains = {
- "k8": ":cc-compiler-k8",
- },
- )
- cc_toolchain(
- name = "cc-compiler-k8",
- all_files = ":empty",
- ar_files = ":empty",
- as_files = ":empty",
- compiler_files = ":empty",
- dwp_files = ":empty",
- linker_files = ":empty",
- objcopy_files = ":empty",
- strip_files = ":empty",
- supports_param_files = 1,
- toolchain_config = ":local",
- toolchain_identifier = "local",
- )
- cc_toolchain_config(
- name = "local",
- )
|