Skip to content
Open
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
13 changes: 12 additions & 1 deletion src/codechecker.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,18 @@ def _codechecker_impl(ctx):
# arguments = [ctx.outputs.codechecker_script.path],
mnemonic = "CodeChecker",
progress_message = "CodeChecker %s" % str(ctx.label),
# use_default_shell_env = True,
# FIXME: Ideally, this action would run
# isolated of the invoking shell environment,
# using only the binaries bazel itself acquired.
# This would be best done by converting all tools
# (CodeChecker, clang, clang-tidy) into toolchains.
# Until then, we still need to allow
# the supply of these tools from PATH.
# For instance, micromamba (which we use for testing)
# does not install to system folders like /bin,
# but uses PATH, making it impossible to configure binary version
# through it while use_default_shell_env is False.
use_default_shell_env = True,
)

# List all files required at build and run (test) time
Expand Down
Loading