[PATCH] D114712: [libc] Bazel overlay for libc

Guillaume Chatelet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 29 08:14:40 PST 2021


gchatelet created this revision.
gchatelet added reviewers: sivachandra, michaelrj.
Herald added subscribers: ecnelises, tschuett, pengfei.
gchatelet requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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

Tested on linux x86-64 with

  shell
  cd git/llvm-project/utils/bazel
  bazelisk-linux-amd64 build --sandbox_base=/dev/shm --config=generic_clang @llvm-project//libc:all


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114712

Files:
  utils/bazel/llvm-project-overlay/libc/BUILD.bazel
  utils/bazel/llvm-project-overlay/libc/fenv_targets.bzl
  utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl
  utils/bazel/llvm-project-overlay/libc/math_targets.bzl
  utils/bazel/llvm-project-overlay/libc/stdlib_targets.bzl
  utils/bazel/llvm-project-overlay/libc/string_targets.bzl
  utils/bazel/llvm-project-overlay/libc/support_targets.bzl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114712.390372.patch
Type: text/x-patch
Size: 28938 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211129/6013900d/attachment-0001.bin>


More information about the llvm-commits mailing list