Skip to content

Your one stop shop for hermetic c/c++ toolchains in bazel

Notifications You must be signed in to change notification settings

reutermj/toolchains_cc

Repository files navigation

toolchains_cc

Your one stop shop for default, hermetic c/c++ toolchains in Bazel!

This package:

  • is easy to configure,
  • supports linux, macos, and windows bazel builds,
  • supports clang, gcc, and msvc compiler toolchains,
  • supports x86_64 and arm64,
  • has low overhead on CI runs, and
  • enables remote caching to further speed up your development and CI.

Show me the code

Add two lines to your MODULE.bazel and it just works:

bazel_dep(name = "toolchains_cc", dev_dependency = True)
register_toolchains("@toolchains_cc", dev_dependency = True)

Check out the full example here.

About

Your one stop shop for hermetic c/c++ toolchains in bazel

Resources

Stars

Watchers

Forks

Packages

No packages published