diff options
author | Jay Wang <jay.wang2@arm.com> | 2024-07-12 12:53:56 +0000 |
---|---|---|
committer | Jay Wang <jay.wang2@arm.com> | 2024-07-12 12:53:56 +0000 |
commit | 7b7bc045f83d0094aa927bfd44d1ac157005a34c (patch) | |
tree | a5e3b0ee3b106ee7d94fc06be71e2332330c2cf7 /test/test_nat66.py | |
parent | e69ec9c101883a7bc90fdac6d28ddf8e9429b466 (diff) |
build: overwrite clang-format version on Ubuntu 24.04
clang-format-11 is used by default in checkstyle.sh while it can be
overridden to higher clang-format version. On Ubuntu 24.04, the minimum
version of clang-format is version 14. Set the environment variable
explicitly in Makefile to overwrite the clang-format version.
Before:
$ make checkstyle
extras/scripts/checkstyle.sh: line 41: --version: command not found
make: *** [Makefile:775: checkstyle] Error 127
After:
$ make checkstyle
Ubuntu clang-format version 14.0.6
*******************************************************************
* CHECKSTYLE SUCCESSFULLY COMPLETED
*******************************************************************
Type: fix
Change-Id: Iba3e4739c9376701577b2f37e070d199b195e7d0
Signed-off-by: Jay Wang <jay.wang2@arm.com>
Diffstat (limited to 'test/test_nat66.py')
0 files changed, 0 insertions, 0 deletions