Skip to content

Commit bc5b514

Browse files
committed
Detect analyzers not just in /bin for monolithic rule
1 parent f043a72 commit bc5b514

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

src/codechecker.bzl

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,14 @@ def _codechecker_impl(ctx):
135135
# arguments = [ctx.outputs.codechecker_script.path],
136136
mnemonic = "CodeChecker",
137137
progress_message = "CodeChecker %s" % str(ctx.label),
138-
# use_default_shell_env = True,
138+
# While this is not an ideal solution
139+
# until we have better one (in the form of a toolchain)
140+
# this is necessary to find binaries for analyzers
141+
# installed in any place other than /bin
142+
# e.g.: micromamba
143+
# /bin is an exception due to it being forcefully added
144+
# in codechecker_script.py
145+
use_default_shell_env = True,
139146
)
140147

141148
# List all files required at build and run (test) time

0 commit comments

Comments
 (0)