clang-tidy not part of base
- Reply: Dimitry Andric : "Re: clang-tidy not part of base"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 08 Jul 2023 12:38:17 UTC
Hello all, Recently deskutils/treesheets upstream introduced clang-tidy to cmake: --- set(CMAKE_CXX_CLANG_TIDY clang-tidy -checks=cppcoreguidelines-*,clang-analyzer-*,readability-*,performance-*,portability-*,concurrency-*,modernize-*) --- https://github.com/aardappel/treesheets/blob/9131048804169c448ba61900935ff04acfb1e279/CMakeLists.txt#L63C13-L63C13 This causing build to fail because clang-tidy is not found. What I found is that 13 and 14 doesn't ship this program but it is available as clang-tidy{13,15} from llvm ports. As workaround I comment it out. Any sugestions on what to do, what to say to upstream? Should this be a cmake debug option? Thanks, -- Nuno Teixeira FreeBSD Committer (ports)