<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 2, 2015 at 8:04 AM, Jonathan Roelofs <span dir="ltr"><<a href="mailto:jonathan@codesourcery.com" target="_blank">jonathan@codesourcery.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><div class="h5"><br>
<br>
On 6/2/15 5:05 AM, Oza, Hiral wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Greetings!<br>
<br>
I am building from scratch llvm/clang 3.6.0 and 3.6.1 using “cmake”.<br>
<br>
Build and installation completes successfully however when observing<br>
‘llvm-build/bin’ directory– I am seeing following files are missing in<br>
final installation.<br>
<br>
< arcmt-test<br>
<br>
< BrainF<br>
<br>
< c-arcmt-test<br>
<br>
< c-index-test<br>
<br>
< clang-query<br>
<br>
< clang-tblgen<br>
<br>
< count<br>
<br>
< diagtool<br>
<br>
< ExceptionDemo<br>
<br>
< Fibonacci<br>
<br>
< FileCheck<br>
<br>
< HowToUseJIT<br>
<br>
< Kaleidoscope-Ch2<br>
<br>
< Kaleidoscope-Ch3<br>
<br>
< Kaleidoscope-Ch4<br>
<br>
< Kaleidoscope-Ch5<br>
<br>
< Kaleidoscope-Ch6<br>
<br>
< Kaleidoscope-Ch7<br>
<br>
< Kaleidoscope-Ch8<br>
<br>
< lli-child-target<br>
<br>
< llvm-lit<br>
<br>
< llvm-PerfectShuffle<br>
<br>
< modularize<br>
<br>
< ModuleMaker<br>
<br>
< module-map-checker<br>
<br>
< not<br>
<br>
< ParallelJIT<br>
<br>
< pp-trace<br>
<br>
< remove-cstr-calls<br>
<br>
< tool-template<br>
<br>
< yaml-bench<br>
</blockquote>
<br></div></div>
Those are all developer tools (for people working on llvm/clang), and it is intentional that they are not installed.<br></blockquote><div><br></div><div><br></div><div>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.</div><div><br></div><div>-- Sean Silva</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5">
<br>
I am using following CMake options…<br>
<br>
<cmake_options><br>
<br>
cmake ../$ROOTDIR -G "Unix Makefiles" \<br>
<br>
-DCMAKE_INSTALL_PREFIX=$PREFIX_DIR \<br>
<br>
-DCMAKE_C_COMPILER=$GCC_ROOT/bin/gcc \<br>
<br>
-DCMAKE_CXX_COMPILER=$GCC_ROOT/bin/g++ \<br>
<br>
-DGCC_INSTALL_PREFIX=$GCC_ROOT \<br>
<br>
-DCMAKE_CXX_LINK_FLAGS="$LDFLAGS" \<br>
<br>
-DLLVM_ENABLE_ASSERTIONS=ON \<br>
<br>
-DLLVM_BINUTILS_INCDIR=${DESTROOT}/include \<br>
<br>
-DLLVM_ENABLE_FFI=ON \<br>
<br>
-DFFI_LIBRARY_DIR=$DESTROOT/lib \<br>
<br>
-DFFI_INCLUDE_DIR=$DESTROOT/lib/libffi-3.0.11/include \<br>
<br>
-DBUILD_SHARED_LIBS=ON \<br>
<br>
-DLLVM_ENABLE_LIBCXX=ON \<br>
<br>
-DCMAKE_SYSTEM_INCLUDE_PATH=$imp_inc_path \<br>
<br>
-DCMAKE_SYSTEM_LIBRARY_PATH=$imp_lib_path \<br>
<br>
-DCMAKE_BUILD_TYPE="Release" \<br>
<br>
-DLLVM_TARGETS_TO_BUILD=X86 \<br>
<br>
-DLLVM_OPTIMIZED_TABLEGEN=ON \<br>
<br>
-DLLVM_INCLUDE_UTILS=ON \<br>
<br>
-DLLVM_INCLUDE_EXAMPLES=ON \<br>
<br>
-DLLVM_BUILD_EXAMPLES=ON \<br>
<br>
-DCMAKE_SKIP_INSTALL_RPATH=OFF -DCMAKE_SKIP_RPATH=OFF<br>
<br>
</cmake_options><br>
<br>
Let me know if I am missing any configuration option or step.<br>
<br>
Thank you.<br>
<br>
-Hiral<br>
<br>
<br>
<br></div></div>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br><span class=""><font color="#888888">
</font></span></blockquote><span class=""><font color="#888888">
<br>
-- <br>
Jon Roelofs<br>
<a href="mailto:jonathan@codesourcery.com" target="_blank">jonathan@codesourcery.com</a><br>
CodeSourcery / Mentor Embedded<br>
<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</font></span></blockquote></div><br></div></div>