Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion toolchain/internal/system_module_map.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def _system_module_map(ctx):
if len(sysroot_files) == 1:
template_dict.add("%sysroot%", umbrella_submodule_closure(sysroot_files[0]))
else:
if sysroot_files:
if sysroot_files and bazel_features.rules.merkle_cache_v2:
# buildifier: disable=print
print("WARNING: Sysroot {} resolved to {} files. Consider using the `sysroot` repository rule in @toolchains_llvm//toolchain:sysroot.bzl which provides a single-file (directory) sysroot for more efficient builds.".format(
ctx.attr.sysroot_files.label,
Expand Down