[all-commits] [llvm/llvm-project] 4aeb2e: Introduce a Bazel build configuration

Geoffrey Martin-Noble via All-commits all-commits at lists.llvm.org
Tue Jun 22 12:48:00 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4aeb2e60df98a07e6a2a3cc16fc9ad1c1001d563
      https://github.com/llvm/llvm-project/commit/4aeb2e60df98a07e6a2a3cc16fc9ad1c1001d563
  Author: Geoffrey Martin-Noble <gcmn at google.com>
  Date:   2021-06-22 (Tue, 22 Jun 2021)

  Changed paths:
    A utils/bazel/.bazelignore
    A utils/bazel/.bazelrc
    A utils/bazel/.bazelversion
    A utils/bazel/.gitignore
    A utils/bazel/BUILD.bazel
    A utils/bazel/README.md
    A utils/bazel/WORKSPACE
    A utils/bazel/configure.bzl
    A utils/bazel/deps_impl/BUILD.bazel
    A utils/bazel/deps_impl/terminfo_disable.BUILD
    A utils/bazel/deps_impl/terminfo_system.BUILD
    A utils/bazel/deps_impl/terminfo_test.c
    A utils/bazel/deps_impl/zlib_disable.BUILD
    A utils/bazel/deps_impl/zlib_external.BUILD
    A utils/bazel/deps_impl/zlib_system.BUILD
    A utils/bazel/llvm-project-overlay/.bazelignore
    A utils/bazel/llvm-project-overlay/clang/BUILD.bazel
    A utils/bazel/llvm-project-overlay/clang/include/clang/Config/config.h
    A utils/bazel/llvm-project-overlay/clang/unittests/BUILD.bazel
    A utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
    A utils/bazel/llvm-project-overlay/llvm/binary_alias.bzl
    A utils/bazel/llvm-project-overlay/llvm/cc_plugin_library.bzl
    A utils/bazel/llvm-project-overlay/llvm/config.bzl
    A utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/config.h
    A utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/llvm-config.h
    A utils/bazel/llvm-project-overlay/llvm/tblgen.bzl
    A utils/bazel/llvm-project-overlay/llvm/template_rule.bzl
    A utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
    A utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
    A utils/bazel/llvm-project-overlay/mlir/build_defs.bzl
    A utils/bazel/llvm-project-overlay/mlir/linalggen.bzl
    A utils/bazel/llvm-project-overlay/mlir/tblgen.bzl
    A utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
    A utils/bazel/llvm_configs/BUILD.bazel
    A utils/bazel/llvm_configs/abi-breaking.h.cmake
    A utils/bazel/llvm_configs/config.h.cmake
    A utils/bazel/llvm_configs/llvm-config.h.cmake
    A utils/bazel/overlay_directories.py
    A utils/bazel/terminfo.bzl
    A utils/bazel/third_party_build/BUILD
    A utils/bazel/third_party_build/vulkan_headers.BUILD
    A utils/bazel/third_party_build/zlib.BUILD
    A utils/bazel/vulkan_sdk.bzl
    A utils/bazel/zlib.bzl

  Log Message:
  -----------
  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




More information about the All-commits mailing list