search for: llvm_build_examples

Displaying 13 results from an estimated 13 matches for "llvm_build_examples".

Did you mean: dllvm_build_examples
2010 Oct 18
3
[LLVMdev] building only libs with cmake
Now I have -DLLVM_INCLUDE_EXAMPLES:BOOL=OFF but Kaleidoscope is still there and selected for build (-G "Visual Studio 9 2008") -Jochen
2010 Oct 18
0
[LLVMdev] building only libs with cmake
>> Now I'm using LLVM_BUILD_EXAMPLES=OFF and I have >> >> //Build LLVM example programs. >> LLVM_BUILD_EXAMPLES:BOOL=OFF >> >> in the cmakecache.txt file but it also does not seem to >> work. >> > > What that means? LLVM_BUILD_EXAMPLES shall create build targets for the > exampl...
2019 Oct 25
2
RFC: Adding IR Transformation examples/tutorial code to llvm-project
...t; really make everything, including examples. This >> would make the overall configure process slower even when not >> interested in the tutorials. > > > The suggested approach does not introduce any new options/variables, it just adds an additional definition, if the existing LLVM_BUILD_EXAMPLES=On. So this should not interfere with reducing the overall options. Whatever solution will be applied to all examples should also work for the IR pass examples. I think he would like to remove LLVM_BUILD_EXAMPLES altogether. That is, any "cmake" will execute any CMakeLists.txt, "mak...
2019 Oct 24
7
RFC: Adding IR Transformation examples/tutorial code to llvm-project
...ep them from bit-rotting and make it very easy to build them. I’d suggest adding new IR pass examples to llvm/examples/IRTransforms. The passes in that directory will be built as an ExamplesIRTransforms library, which exposes initializeExampleIRTransforms to initialise the passes. Additionally, if LLVM_BUILD_EXAMPLES=On, we add a -DBUILD_EXAMPLES define, which is then used in opt to make the example passes available if LLVM_BUILD_EXAMPLES=On. I think that allows for relatively friction-less integration of the example passes into `opt`. I’ve put up a patch doing exactly that: https://reviews.llvm.org/D69416 an...
2019 Oct 25
2
RFC: Adding IR Transformation examples/tutorial code to llvm-project
On Fri, Oct 25, 2019 at 2:43 PM Michael Kruse via llvm-dev < llvm-dev at lists.llvm.org> wrote: > I like the idea and already discussed it with Kit Barton. > > Two concerns that I had: > > 1. Keeping them in-tree requires them to be up-to-date, a potential > additional maintenance burden. This might be what we want, but I get > less enthusiastic when thinking about
2014 Dec 03
4
[LLVMdev] FAQ update and Question on minimum build
...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 Bin=2.5GB Main /llvm=531MB In the directory where all LLV...
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
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
2011 Apr 24
0
[LLVMdev] Problem with compiling the runtime libary
...ectory(tools) endif() +option(LLVM_BUILD_RUNTIME + " Build the LLVM runtime. If OFF, just generate build targets." OFF) +option(LLVM_INCLUDE_RUNTIME "Generate build targets for the LLVM examples" ON) +if( LLVM_INCLUDE_RUNTIME ) + add_subdirectory(runtime) +endif() + option(LLVM_BUILD_EXAMPLES "Build the LLVM example programs. If OFF, just generate build targets." OFF) option(LLVM_INCLUDE_EXAMPLES "Generate build targets for the LLVM examples" ON) diff -ruN llvm-2.9/runtime/CMakeLists.txt llvm-2.9.new/runtime/CMakeLists.txt --- llvm-2.9/runtime/CMakeLists.txt 1970...
2011 Apr 24
2
[LLVMdev] Problem with compiling the runtime libary
Hi Nick Thanks for you reply. CMAKE is very new to me. I complied using GNU WIN32 and got those errors. Is it possible to compile it using GNU WIN 32 and anything need to be modified? I managed to compile the run time library on a mac machine. Yafan On Fri, Apr 22, 2011 at 5:04 PM, Nick Lewycky <nicholas at mxc.ca> wrote: > yafan zhao wrote: > >> Hi All >> Thanks for
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
.../PATH to binutils/include containing plugin-api.h for gold plugin. LLVM_BINUTILS_INCDIR:PATH= //Build 32 bits executables and libraries. LLVM_BUILD_32_BITS:BOOL=OFF //Build the llvm documentation. LLVM_BUILD_DOCS:BOOL=OFF //Build the LLVM example programs. If OFF, just generate build // targets. LLVM_BUILD_EXAMPLES:BOOL=ON //Build compiler-rt as an external project. LLVM_BUILD_EXTERNAL_COMPILER_RT:BOOL=OFF //Experimental: Build GlobalISel LLVM_BUILD_GLOBAL_ISEL:BOOL=ON //Build LLVM and tools with PGO instrumentation (experimental) LLVM_BUILD_INSTRUMENTED:BOOL=OFF //Build LLVM and tools with Code Coverage...