[all-commits] [llvm/llvm-project] 8ed70d: [libc] Bazel overlay for libc

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Mon Dec 13 11:14:39 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ed70d0189ba21fa25066e49d6c1ed04359abf4b
      https://github.com/llvm/llvm-project/commit/8ed70d0189ba21fa25066e49d6c1ed04359abf4b
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2021-12-13 (Mon, 13 Dec 2021)

  Changed paths:
    A utils/bazel/llvm-project-overlay/libc/BUILD.bazel
    A utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl
    A utils/bazel/llvm-project-overlay/libc/platforms.bzl

  Log Message:
  -----------
  [libc] Bazel overlay for libc

This patch provides a draft overlay to support compilation of llvm libc with Bazel.

Tested on linux x86-64 with
```
cd git/llvm-project/utils/bazel
bazelisk-linux-amd64 build --sandbox_base=/dev/shm --config=generic_clang @llvm-project//libc:all
```

Differential Revision: https://reviews.llvm.org/D114712




More information about the All-commits mailing list