search for: llvm_build_tools

Displaying 10 results from an estimated 10 matches for "llvm_build_tools".

2019 Mar 29
2
How to build only the necessary components with MSVC
...ed here https://gitlab.freedesktop.org/mesa/mesa/blob/master/scons/llvm.py#L103 After reading https://llvm.org/devmtg/2015-04/slides/eurollvm-2015-build.pdf and https://llvm.org/docs/CMake.html I found these options to be relevant: LLVM_DYLIB_COMPONENTS, LLVM_BUILD_LLVM_DYLIB, LLVM_LINK_LLVM_DYLIB, LLVM_BUILD_TOOLS and LLVM_INCLUDE_TOOLS. Unfortunately LLVM_DYLIB_COMPONENTS depends on LLVM_BUILD_LLVM_DYLIB which doesn't support MSVC, I can turn off LLVM_BUILD_TOOLS and LLVM_INCLUDE_TOOLS if I figure out how to filter unneeded components as I would no longer need llvm-config anymore. -------------- next p...
2010 Oct 18
2
[LLVMdev] building only libs with cmake
Hi! is it possible to build only the libs (and no executables) with cmake? I already have LLVM_BUILD_TOOLS:BOOL=OFF and CLANG_BUILD_EXAMPLES:BOOL=OFF but things like Kaledoscope are still built. -Jochen
2014 Dec 03
4
[LLVMdev] FAQ update and Question on minimum build
...../.. cd llvm/tools/clang/tools svn co http://llvm.org/svn/llvm-project/clang-tools-extra/trunk extra cd ../../../.. cd llvm/projects svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt cd ../.. mkdir build cd build export LLVM_TARGETS_TO_BUILD="ARM" export LLVM_BUILD_TOOLS==OFF export LLVM_INCLUDE_TOOLS=OFF export LLVM_BUILD_EXAMPLES=OFF export LLVM_INCLUDE_EXAMPLES=OFF export LLVM_BUILD_TESTS=OFF export LLVM_INCLUDE_TESTS=OFF I force it to build only for ARM, No test, No Examples and I ended up with In /build Clang=9MB (Crashed building Clang) lib=1.7GB...
2010 Jun 30
1
[LLVMdev] LLVM Makefile options
Hello, We are linking our llvm build with other libraries and for testing purposes we use llc (bypassing our own driver). Because our backend has forward dependencies to our driver we added #defines to cut out the dependencies on our source. When we want to compile with our own driver, we compile llvm with "libs-only" and simply link the libraries. Is there a way, on the makefile of our
2010 Oct 18
0
[LLVMdev] building only libs with cmake
Jochen Wilhelmy <j.wilhelmy at arcor.de> writes: > is it possible to build only the libs (and no executables) with cmake? > I already have LLVM_BUILD_TOOLS:BOOL=OFF > and CLANG_BUILD_EXAMPLES:BOOL=OFF but things like Kaledoscope > are still built. LLVM_BUILD_EXAMPLES=OFF http://www.llvm.org/docs/CMake.html#llvmvars
2010 Aug 15
3
[LLVMdev] Linking to the LLVM shared library
...y (libLLVM2.7.so), and the LLVM tools will link against that instead of including the static libraries, so I was wondering: Is there a way to configure LLVM the same way using CMake (so it can work on Windows)? In the other direction, is there an equivalent ./configure flag to setting CMake's LLVM_BUILD_TOOLS to "Off", like --disable-tools? And is there a way to get llvm-config to output --libs/--ldflags that will make third-party programs link dynamically instead of statically? If there isn't a way, can that be added in 2.8? It'd be useful if you're building more than one binary...
2014 Jul 18
2
[LLVMdev] Fixing LLVM's CMake interface before LLVM3.5 release
>> I am happy to start writing a patch for the documentation > > Thanks. Please Cc me for review. Will do. >> # LLVM_BUILD_* values available only from LLVM build tree. > > Those were created to simplify building Clang locally against a > LLVM build tree. Clang needs the LLVM source and build trees too, > so this gives it that information. No information is
2016 Mar 17
2
Building with LLVM_PARALLEL_XXX_JOBS
On Mon, Mar 14, 2016 at 5:30 PM, Chris Bieneman <cbieneman at apple.com> wrote: [ brutal-snip ] ... > [ TODO#S: Before doing a 2nd build (and in a 3rd run using more > optimized binaries) ] > > How do I anable LTO via CMAKE? > > > LLVM_ENALBLE_LTO=On > [ v4 of my build-script attached ] Hi Chris, thanks for the response! That seems to work (see below). $ cd
2017 Feb 11
2
Asan self host problems: Failed to deallocate
Trying to run a self host "ninja check-clang" with ASan enabled I hit a /lot/ of errors like this (strangely I hit none of these in check-llvm, only in check-clang): Any ideas? ==10525==ERROR: AddressSanitizer failed to deallocate 0x10800 (67584) bytes at address 0x631000014800 ==10525==AddressSanitizer CHECK failed:
2017 Feb 15
2
Asan self host problems: Failed to deallocate
...LVM_C_DYLIB:BOOL=OFF //Build libllvm dynamic library LLVM_BUILD_LLVM_DYLIB:BOOL=OFF //Build the LLVM runtime libraries. LLVM_BUILD_RUNTIME:BOOL=ON //Build LLVM unit tests. If OFF, just generate build targets. LLVM_BUILD_TESTS:BOOL=OFF //Build the LLVM tools. If OFF, just generate build targets. LLVM_BUILD_TOOLS:BOOL=ON //Build LLVM utility binaries. If OFF, just generate build targets. LLVM_BUILD_UTILS:BOOL=ON //Set to ON for a ccache enabled build LLVM_CCACHE_BUILD:BOOL=OFF //Default target for which LLVM will generate code. LLVM_DEFAULT_TARGET_TRIPLE:STRING=x86_64-unknown-linux-gnu //Dependency debu...