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
5 changes: 5 additions & 0 deletions tools/bisect/bisect_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ def build_cppcheck(bisect_path):
print('patching cli/cppcheckexecutor.cpp')
subprocess.check_call(['sed', '-i', 's/SIGSTKSZ/32768/g', os.path.join(bisect_repo_dir, 'cli', 'cppcheckexecutor.cpp')])

pmPath = os.path.join(bisect_repo_dir, 'lib', 'programmemory.cpp')
if os.path.isfile(pmPath):
print('patching lib/programmemory.cpp')
subprocess.check_call(['sed', '-i', '1i #include <limits>', pmPath])

# TODO: older versions do not build because of include changes in libstdc++ - check compiler version and try to use an earlier one
# TODO: make jobs configurable
# TODO: use "make install"?
Expand Down
Loading