Introduce a Bazel build configuration
authorGeoffrey Martin-Noble <gcmn@google.com>
Tue, 18 May 2021 22:42:25 +0000 (15:42 -0700)
committerGeoffrey Martin-Noble <gcmn@google.com>
Tue, 22 Jun 2021 19:47:43 +0000 (12:47 -0700)
commit4aeb2e60df98a07e6a2a3cc16fc9ad1c1001d563
tree0eedd8a4c846fcbf626738364e5c367467988cd6
parent64cf5eba06bd4f81954253b1e7a10be6fe92403e
Introduce a Bazel build configuration

This patch introduces configuration for a Bazel BUILD in a side
directory in the monorepo.

This is following the approval of
https://github.com/llvm/llvm-www/blob/main/proposals/LP0002-BazelBuildConfiguration.md

As detailed in the README, the Bazel BUILD is not supported
by the community in general, and is maintained only by interested
parties. It follows the requirements of the LLVM peripheral tier:
https://llvm.org/docs/SupportPolicy.html#peripheral-tier.

This is largely copied from https://github.com/google/llvm-bazel,
with a few filepath tweaks and the addition of the README.

Reviewed By: echristo, keith, dblaikie, kuhar

Differential Revision: https://reviews.llvm.org/D90352
44 files changed:
utils/bazel/.bazelignore [new file with mode: 0644]
utils/bazel/.bazelrc [new file with mode: 0644]
utils/bazel/.bazelversion [new file with mode: 0644]
utils/bazel/.gitignore [new file with mode: 0644]
utils/bazel/BUILD.bazel [new file with mode: 0644]
utils/bazel/README.md [new file with mode: 0644]
utils/bazel/WORKSPACE [new file with mode: 0644]
utils/bazel/configure.bzl [new file with mode: 0644]
utils/bazel/deps_impl/BUILD.bazel [new file with mode: 0644]
utils/bazel/deps_impl/terminfo_disable.BUILD [new file with mode: 0644]
utils/bazel/deps_impl/terminfo_system.BUILD [new file with mode: 0644]
utils/bazel/deps_impl/terminfo_test.c [new file with mode: 0644]
utils/bazel/deps_impl/zlib_disable.BUILD [new file with mode: 0644]
utils/bazel/deps_impl/zlib_external.BUILD [new file with mode: 0644]
utils/bazel/deps_impl/zlib_system.BUILD [new file with mode: 0644]
utils/bazel/llvm-project-overlay/.bazelignore [new file with mode: 0644]
utils/bazel/llvm-project-overlay/clang/BUILD.bazel [new file with mode: 0644]
utils/bazel/llvm-project-overlay/clang/include/clang/Config/config.h [new file with mode: 0644]
utils/bazel/llvm-project-overlay/clang/unittests/BUILD.bazel [new file with mode: 0644]
utils/bazel/llvm-project-overlay/llvm/BUILD.bazel [new file with mode: 0644]
utils/bazel/llvm-project-overlay/llvm/binary_alias.bzl [new file with mode: 0644]
utils/bazel/llvm-project-overlay/llvm/cc_plugin_library.bzl [new file with mode: 0644]
utils/bazel/llvm-project-overlay/llvm/config.bzl [new file with mode: 0644]
utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/config.h [new file with mode: 0644]
utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/llvm-config.h [new file with mode: 0644]
utils/bazel/llvm-project-overlay/llvm/tblgen.bzl [new file with mode: 0644]
utils/bazel/llvm-project-overlay/llvm/template_rule.bzl [new file with mode: 0644]
utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel [new file with mode: 0644]
utils/bazel/llvm-project-overlay/mlir/BUILD.bazel [new file with mode: 0644]
utils/bazel/llvm-project-overlay/mlir/build_defs.bzl [new file with mode: 0644]
utils/bazel/llvm-project-overlay/mlir/linalggen.bzl [new file with mode: 0644]
utils/bazel/llvm-project-overlay/mlir/tblgen.bzl [new file with mode: 0644]
utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel [new file with mode: 0644]
utils/bazel/llvm_configs/BUILD.bazel [new file with mode: 0644]
utils/bazel/llvm_configs/abi-breaking.h.cmake [new file with mode: 0644]
utils/bazel/llvm_configs/config.h.cmake [new file with mode: 0644]
utils/bazel/llvm_configs/llvm-config.h.cmake [new file with mode: 0644]
utils/bazel/overlay_directories.py [new file with mode: 0755]
utils/bazel/terminfo.bzl [new file with mode: 0644]
utils/bazel/third_party_build/BUILD [new file with mode: 0644]
utils/bazel/third_party_build/vulkan_headers.BUILD [new file with mode: 0644]
utils/bazel/third_party_build/zlib.BUILD [new file with mode: 0644]
utils/bazel/vulkan_sdk.bzl [new file with mode: 0644]
utils/bazel/zlib.bzl [new file with mode: 0644]