[cfe-dev] Some llvm/clang tools are not getting installed

Sean Silva chisophugis at gmail.com
Tue Jun 2 13:43:45 PDT 2015


On Tue, Jun 2, 2015 at 8:04 AM, Jonathan Roelofs <jonathan at codesourcery.com>
wrote:

>
>
> On 6/2/15 5:05 AM, Oza, Hiral wrote:
>
>> Greetings!
>>
>> I am building from scratch llvm/clang 3.6.0 and 3.6.1 using “cmake”.
>>
>> Build and installation completes successfully however when observing
>> ‘llvm-build/bin’ directory– I am seeing following files are missing in
>> final installation.
>>
>> < arcmt-test
>>
>> < BrainF
>>
>> < c-arcmt-test
>>
>> < c-index-test
>>
>> < clang-query
>>
>> < clang-tblgen
>>
>> < count
>>
>> < diagtool
>>
>> < ExceptionDemo
>>
>> < Fibonacci
>>
>> < FileCheck
>>
>> < HowToUseJIT
>>
>> < Kaleidoscope-Ch2
>>
>> < Kaleidoscope-Ch3
>>
>> < Kaleidoscope-Ch4
>>
>> < Kaleidoscope-Ch5
>>
>> < Kaleidoscope-Ch6
>>
>> < Kaleidoscope-Ch7
>>
>> < Kaleidoscope-Ch8
>>
>> < lli-child-target
>>
>> < llvm-lit
>>
>> < llvm-PerfectShuffle
>>
>> < modularize
>>
>> < ModuleMaker
>>
>> < module-map-checker
>>
>> < not
>>
>> < ParallelJIT
>>
>> < pp-trace
>>
>> < remove-cstr-calls
>>
>> < tool-template
>>
>> < yaml-bench
>>
>
> Those are all developer tools (for people working on llvm/clang), and it
> is intentional that they are not installed.
>


Not all. clang-query, modularize, remove-cstr-calls (folded into clang-tidy
yet?), and module-map-checker (folded into modularize in ToT) are
user-facing.

-- Sean Silva


>
>
>> I am using following CMake options…
>>
>> <cmake_options>
>>
>>      cmake ../$ROOTDIR -G "Unix Makefiles" \
>>
>>          -DCMAKE_INSTALL_PREFIX=$PREFIX_DIR \
>>
>>          -DCMAKE_C_COMPILER=$GCC_ROOT/bin/gcc \
>>
>>          -DCMAKE_CXX_COMPILER=$GCC_ROOT/bin/g++ \
>>
>>          -DGCC_INSTALL_PREFIX=$GCC_ROOT \
>>
>>          -DCMAKE_CXX_LINK_FLAGS="$LDFLAGS" \
>>
>>          -DLLVM_ENABLE_ASSERTIONS=ON \
>>
>>          -DLLVM_BINUTILS_INCDIR=${DESTROOT}/include \
>>
>>          -DLLVM_ENABLE_FFI=ON \
>>
>>          -DFFI_LIBRARY_DIR=$DESTROOT/lib \
>>
>>          -DFFI_INCLUDE_DIR=$DESTROOT/lib/libffi-3.0.11/include \
>>
>>          -DBUILD_SHARED_LIBS=ON \
>>
>>          -DLLVM_ENABLE_LIBCXX=ON \
>>
>>          -DCMAKE_SYSTEM_INCLUDE_PATH=$imp_inc_path \
>>
>>          -DCMAKE_SYSTEM_LIBRARY_PATH=$imp_lib_path \
>>
>>          -DCMAKE_BUILD_TYPE="Release" \
>>
>>          -DLLVM_TARGETS_TO_BUILD=X86 \
>>
>>          -DLLVM_OPTIMIZED_TABLEGEN=ON \
>>
>>          -DLLVM_INCLUDE_UTILS=ON \
>>
>>          -DLLVM_INCLUDE_EXAMPLES=ON \
>>
>>          -DLLVM_BUILD_EXAMPLES=ON \
>>
>>          -DCMAKE_SKIP_INSTALL_RPATH=OFF -DCMAKE_SKIP_RPATH=OFF
>>
>> </cmake_options>
>>
>> Let me know if I am missing any configuration option or step.
>>
>> Thank you.
>>
>> -Hiral
>>
>>
>>
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>>
>>
> --
> Jon Roelofs
> jonathan at codesourcery.com
> CodeSourcery / Mentor Embedded
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150602/f24ec7f3/attachment.html>


More information about the cfe-dev mailing list