llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.24k stars 11.66k forks source link

clang-tools-extras doesn't install all built tools #24420

Open llvmbot opened 9 years ago

llvmbot commented 9 years ago
Bugzilla Link 24046
Version unspecified
OS MacOS X
Reporter LLVM Bugzilla Contributor
CC @foutrelis,@Lekensteyn

Extended Description

On x86_64-apple-darwin14, a cmake build of clang-tools-extra, when placed as clang/tools/extra, doesn't install all of the built tools. In particular, 'make' places binaries for clang-query, modularize, pp-trace and tool-template in ./bin but these aren't actually installed by 'make install'.

b94f29e5-d802-4b78-81f0-5f935d66544c commented 9 years ago

clang-query will now get installed in CMake builds:

http://reviews.llvm.org/D13206 http://llvm.org/viewvc/llvm-project?view=revision&revision=248710

Are any of the other tools useful for non-clang development?

Lekensteyn commented 9 years ago

Can confirm that some tools are missing in cmake (regression from autotools builds). For clang-query:

echo 'install(TARGETS clang-query RUNTIME DESTINATION bin)' >> tools/clang/tools/extra/clang-query/tool/CMakeLists.txt