rules_foreign_cc
Build rules for interfacing with "foreign" (non-Bazel) build systems (CMake, configure-make, GNU Make, boost, ninja, Meson) (by bazelbuild)
bazel-central-registry
The central registry of Bazel modules for the Bzlmod external dependency system. (by bazelbuild)
Our great sponsors
rules_foreign_cc | bazel-central-registry | |
---|---|---|
3 | 2 | |
638 | 219 | |
0.9% | 8.7% | |
8.1 | 9.9 | |
8 days ago | 1 day ago | |
Starlark | Starlark | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rules_foreign_cc
Posts with mentions or reviews of rules_foreign_cc.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-09.
-
Using Bazel and Conan for external dependencies
Hello, readline or ncurses can be built using bazel rules foreign cc. Just in case…
-
Listing available 'Make' Variables in Genrule?
To actually answer your question, I searched for "TemplateVariableInfo" in the rules_foreign_cc project (since TemplateVariableInfo is the provider that declares template variables), and there's only one location: toolchains/toolchains.bzl. Reading this, the `toolchains.data.env` variable that's set is coming after a call to `expand_locations_and_make_variables` (from foreign_cc/private/framework.bzl), so without running a debugger I have no idea what's there. It's possible that the rules themselves are confused about this.
- Use bazel rules_foreign_cc with these essential patches
bazel-central-registry
Posts with mentions or reviews of bazel-central-registry.
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
The main change here is that Bazel now has a package repository that people can pull/push external dependencies to: https://registry.bazel.build/
This is a huge change as external dependencies used to be one of the big pain points with the Bazel pipeline.
-
Using Bazel and Conan for external dependencies
I'm very new to Bazel and as far as I understand the new bzlmod feature and its central registry will eventually make it very easy to depend on any external project, and most importantly, it will handle versions properly.
What are some alternatives?
When comparing rules_foreign_cc and bazel-central-registry you can also consider the following projects:
examples - Examples for Bazel
bazel_conan_pkg_config
distroless - 🥑 Language focused docker images, minus the operating system.
bazel_pkg_config - Bazel rules for pkg-config tools.
bazel-compilation-database - Tool to generate compile_commands.json from the Bazel build system
Bazel - a fast, scalable, multi-language and extensible build system
rules_docker - Rules for building and handling Docker images with Bazel
rules_cc - C++ Rules for Bazel
bazel_static_dynamic_c_demo - Internet Points
rules_hugo - Bazel build rules for hugo static website generator
rules_foreign_cc vs examples
bazel-central-registry vs bazel_conan_pkg_config
rules_foreign_cc vs distroless
bazel-central-registry vs bazel_pkg_config
rules_foreign_cc vs bazel-compilation-database
bazel-central-registry vs Bazel
rules_foreign_cc vs rules_docker
bazel-central-registry vs rules_cc
rules_foreign_cc vs bazel_conan_pkg_config
bazel-central-registry vs bazel_static_dynamic_c_demo
rules_foreign_cc vs bazel_pkg_config
rules_foreign_cc vs rules_hugo