rules_cc

C++ Rules for Bazel (by bazelbuild)

Rules_cc Alternatives

Similar projects and alternatives to rules_cc

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better rules_cc alternative or higher similarity.

rules_cc reviews and mentions

Posts with mentions or reviews of rules_cc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-19.
  • What's New in Bazel 6.0
    4 projects | news.ycombinator.com | 19 Dec 2022
    Not that I'd recommend it, but if you symlink your system library into the bazel build area, as long as your sandboxing setup don't hose you (or you just turn it off), bazel will track system tools/library in the same way as everything else.

    Bazel's rules_cc even has a system_library.bzl you can import a `system_library` from that automates this for you. https://github.com/bazelbuild/rules_cc/blob/main/cc/system_l...

    I'd still recommend building everything from scratch (and understanding the relationships and graph of your dependencies), but if your build isn't that complicated and you want to role the dice on UB, this isn't that hard.

    As an aside, the most galling part of bazel's cache key calculations has to be that it's up to the individual rules to implement this how they see fit. The rules native to bazel written in java vary wildly compared to starlark-written rules. On thing you (or someone in your org) end up becoming pretty comfortable with while using bazel in anger is RTFC.

  • [Windows] Resource .rc file compilation?
    2 projects | /r/bazel | 16 Sep 2022
    I found several associated issues and a closed PR that supposedly solved this issue. However, it seems that cc_rules has undergone several changes and this PR likely wouldn't function.

Stats

Basic rules_cc repo stats
2
158
6.7
6 days ago

bazelbuild/rules_cc is an open source project licensed under Apache License 2.0 which is an OSI approved license.

The primary programming language of rules_cc is Starlark.

The modern API for authentication & user identity.
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com