[cfe-dev] Ninja Build Problem - clang-tidy

Jonathan Coe via cfe-dev cfe-dev at lists.llvm.org
Mon Jun 15 15:59:48 PDT 2020


I think step 5 should be

ninja clang-tidy



> On 15 Jun 2020, at 22:31, Gousemoodhin Nadaf via cfe-dev <cfe-dev at lists.llvm.org> wrote:
> 
> 
> Hello Team,
> I am not able to compile clang-tidy. Could you please help in building and compiling steps
> 
> Steps I used
> 1) git clone <llvm-project>
> 2) mkdir build & cd build
> 3) cmake -DCMAKE_BUILD_TYPE=Release -G Ninja DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra" ../llvm
> 4) ninja
> 5) ninja  clang-tools-extra   --> this is not working
> 
> Error:
> ninja: error: unknown target 'clang-tools-extra'
> 
> Regards,
> Nadaf.
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200615/9116bac9/attachment-0001.html>


More information about the cfe-dev mailing list