Skip to content

[libc] Bazel Builds not Working Properly #147879

Open
@bassiounix

Description

@bassiounix

There's a problem with mpfr and libgmp builds with bazel in libc, I could only compile libc by disabling mpfr, which in turn causes many tests to have NO STATUS or just fail.

The issue is known on Fedora Linux and Mac, reported to work on Debian and it was ok with mpfr=system. These are the tested platform so far.

How to get it to work is by:

bazel build --features=layering_check --config=generic_clang --@llvm-project//libc:mpfr=disable  @llvm-project//libc/...

inside llvm-project/utils/bazel/.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bazel"Peripheral" support tier build system: utils/bazellibc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions