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

Neil Nelson via cfe-dev cfe-dev at lists.llvm.org
Mon Jun 15 19:26:30 PDT 2020


Leave off step 5.

If you send the ninja (step 4) output to a file, the following will be 
seen in that file.

     [3084/3512] Linking CXX executable bin/clang-tidy

clang-tidy is in

     llvm-project/build/bin

Neil Nelson

On 6/15/20 3:30 PM, Gousemoodhin Nadaf via cfe-dev 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/44a0957c/attachment.html>


More information about the cfe-dev mailing list