diff options
| author | Sergei Trofimovich <slyich@gmail.com> | 2024-09-21 21:16:26 +0100 |
|---|---|---|
| committer | Sergei Trofimovich <slyich@gmail.com> | 2024-09-21 21:19:44 +0100 |
| commit | e233ccb7a0f6455104730eca306fb8a59f23afa0 (patch) | |
| tree | ff2d99cfba1e7dee78dcfb2266ca0bafe97e916b /pkgs/development/python-modules/rangehttpserver | |
| parent | 3c8525a3b7ed2cf91c78e19bd633a2ec8f4cd02e (diff) | |
cvise: explicitly point to `clang-format`
Without the cnage `cvise` fails to normalize sources with
`clang-format` and produces less than ideal intermediate sources to
lines-based pass. That affects reduction speed among other things.
Before the change `cvise` complained as:
$ cvise --command 'grep foo a.c' a.c
00:00:00 INFO Using temporary interestingness test: /tmp/tmp4a_4wut0.sh
00:00:00 ERROR cannot find external program clang-format
00:00:00 ERROR Prereqs not found for pass IndentPass::regular
After the change `clang-format` is found:
$ result/bin/cvise --command 'grep foo a.c' a.c
00:00:00 INFO Using temporary interestingness test: /tmp/tmpudipespb.sh
00:00:00 INFO ===< 1539388 >===
While at it used `--replace-fail`.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
