Macros for loading dependencies and registering toolchains

aspect_bazel_lib_dependencies

Load dependencies required by aspect rules

PARAMETERS

NameDescriptionDefault Value
override_local_config_platformoverride the @local_config_platform repository with one that adds stardoc support for loading constraints.bzl.

Should be set in repositories that load @aspect_bazel_lib copy actions and also generate stardoc.
False

register_copy_directory_toolchains

Registers copy_directory toolchain and repositories

PARAMETERS

NameDescriptionDefault Value
nameoverride the prefix for the generated toolchain repositories“copy_directory”
registerwhether to call through to native.register_toolchains. Should be True for WORKSPACE users, but false when used under bzlmod extensionTrue

register_copy_to_directory_toolchains

Registers copy_to_directory toolchain and repositories

PARAMETERS

NameDescriptionDefault Value
nameoverride the prefix for the generated toolchain repositories“copy_to_directory”
registerwhether to call through to native.register_toolchains. Should be True for WORKSPACE users, but false when used under bzlmod extensionTrue

register_coreutils_toolchains

Registers coreutils toolchain and repositories

PARAMETERS

NameDescriptionDefault Value
nameoverride the prefix for the generated toolchain repositories“coreutils”
versionthe version of coreutils to execute (see https://github.com/uutils/coreutils/releases)“0.0.16”
registerwhether to call through to native.register_toolchains. Should be True for WORKSPACE users, but false when used under bzlmod extensionTrue

register_expand_template_toolchains

Registers expand_template toolchain and repositories

PARAMETERS

NameDescriptionDefault Value
nameoverride the prefix for the generated toolchain repositories“expand_template”
registerwhether to call through to native.register_toolchains. Should be True for WORKSPACE users, but false when used under bzlmod extensionTrue

register_jq_toolchains

Registers jq toolchain and repositories

PARAMETERS

NameDescriptionDefault Value
nameoverride the prefix for the generated toolchain repositories“jq”
versionthe version of jq to execute (see https://github.com/stedolan/jq/releases)“1.6”
registerwhether to call through to native.register_toolchains. Should be True for WORKSPACE users, but false when used under bzlmod extensionTrue

register_tar_toolchains

Registers bsdtar toolchain and repositories

PARAMETERS

NameDescriptionDefault Value
nameoverride the prefix for the generated toolchain repositories“bsd_tar”
registerwhether to call through to native.register_toolchains. Should be True for WORKSPACE users, but false when used under bzlmod extensionTrue

register_yq_toolchains

Registers yq toolchain and repositories

PARAMETERS

NameDescriptionDefault Value
nameoverride the prefix for the generated toolchain repositories“yq”
versionthe version of yq to execute (see https://github.com/mikefarah/yq/releases)“4.25.2”
registerwhether to call through to native.register_toolchains. Should be True for WORKSPACE users, but false when used under bzlmod extensionTrue