search for: llvm_include_exampl

Displaying 16 results from an estimated 16 matches for "llvm_include_exampl".

Did you mean: llvm_include_examples
2015 Jul 08
2
[LLVMdev] Excluding project builds
...everything else. > > In your LLVM build directory run > > $ cmake -DLLVM_BUILD_EXAMPLES=OFF /path/to/llvm/source > > (note if you are using the makefile build you can run ``make > edit_cache`` to do the above). > > If you are still having problems you could also set > LLVM_INCLUDE_EXAMPLES to OFF. > > If you use ccmake or cmake gui these options are easily visibile, > you'll see a whole bunch of other useful options. I'm wondering about things like clang, lldb, etc. that are checked out in llvm's projects directory. Is there a way to skip building one of them...
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
2015 Jul 07
2
[LLVMdev] Excluding project builds
I'm learning the cmake build. Is there a way to disable the build of a subdirectory in llvm/projects? I'm getting a build error on one project and don't want it to hold up the build of everything else. Thanks! -David
2014 Dec 03
4
[LLVMdev] FAQ update and Question on minimum build
...runk 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 LLVM lives including.subversion = 6...
2011 Apr 24
0
[LLVMdev] Problem with compiling the runtime libary
...ets." 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-01-01 08:00:00.000000000 +0800 +++ llvm-2.9.new/runtime/CMakeLists.txt 2011-04-24 15:41:26.915556956 +0800 @@ -0,0 +1...
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 Jun 09
9
[RFC] LLVM Directory Structure Changes (was Re: [PATCH] D20992: [CMake] Add LLVM runtimes directory)
...xt > > =================================================================== > > --- CMakeLists.txt > > +++ CMakeLists.txt > > @@ -720,6 +720,8 @@ > > add_subdirectory(tools) > > endif() > > > > +add_subdirectory(runtimes) > > + > > if( LLVM_INCLUDE_EXAMPLES ) > > add_subdirectory(examples) > > endif() > > @@ -730,7 +732,8 @@ > > llvm_ExternalProject_Add(test-suite ${LLVM_MAIN_SRC_DIR}/projects/test-suite > > USE_TOOLCHAIN > > EXCLUDE_FROM_ALL > > - NO_INSTALL) > > + NO_...
2016 Jun 09
2
[RFC] LLVM Directory Structure Changes (was Re: [PATCH] D20992: [CMake] Add LLVM runtimes directory)
...======== >>> > --- CMakeLists.txt >>> > +++ CMakeLists.txt >>> > @@ -720,6 +720,8 @@ >>> > add_subdirectory(tools) >>> > endif() >>> > >>> > +add_subdirectory(runtimes) >>> > + >>> > if( LLVM_INCLUDE_EXAMPLES ) >>> > add_subdirectory(examples) >>> > endif() >>> > @@ -730,7 +732,8 @@ >>> > llvm_ExternalProject_Add(test-suite ${LLVM_MAIN_SRC_DIR}/projects/test-suite >>> > USE_TOOLCHAIN >>> > EXCLUDE_FROM_ALL &...
2016 Jun 10
4
[RFC] LLVM Directory Structure Changes (was Re: [PATCH] D20992: [CMake] Add LLVM runtimes directory)
...t; > +++ CMakeLists.txt >>>>> > @@ -720,6 +720,8 @@ >>>>> > add_subdirectory(tools) >>>>> > endif() >>>>> > >>>>> > +add_subdirectory(runtimes) >>>>> > + >>>>> > if( LLVM_INCLUDE_EXAMPLES ) >>>>> > add_subdirectory(examples) >>>>> > endif() >>>>> > @@ -730,7 +732,8 @@ >>>>> > llvm_ExternalProject_Add(test-suite ${LLVM_MAIN_SRC_DIR}/projects/test-suite >>>>> > USE_TOOLCHAIN &gt...
2017 Nov 25
2
PSA: debuginfo-tests workflow changing slightly
...x;libcxxabi;lldb;compiler-rt;lld;polly,debuginfo-tests") set(LLVM_ENABLE_PROJECTS "" CACHE STRING "Semicolon-separated list of projects to build (${LLVM_ALL_PROJECTS}), or \"all\".") if( LLVM_ENABLE_PROJECTS STREQUAL "all" ) @@ -885,13 +885,16 @@ if( LLVM_INCLUDE_EXAMPLES ) endif() if( LLVM_INCLUDE_TESTS ) - if(EXISTS ${LLVM_MAIN_SRC_DIR}/projects/test-suite AND TARGET clang) - include(LLVMExternalProjectUtils) - llvm_ExternalProject_Add(test-suite ${LLVM_MAIN_SRC_DIR}/projects/test-suite - USE_TOOLCHAIN - EXCLUDE_FROM_ALL - NO_INSTALL -...
2017 Dec 06
3
PSA: debuginfo-tests workflow changing slightly
...ly,debuginfo-tests") >> set(LLVM_ENABLE_PROJECTS "" CACHE STRING >> "Semicolon-separated list of projects to build (${LLVM_ALL_PROJECTS}), or \"all\".") >> if( LLVM_ENABLE_PROJECTS STREQUAL "all" ) >> @@ -885,13 +885,16 @@ if( LLVM_INCLUDE_EXAMPLES ) >> endif() >> >> if( LLVM_INCLUDE_TESTS ) >> - if(EXISTS ${LLVM_MAIN_SRC_DIR}/projects/test-suite AND TARGET clang) >> - include(LLVMExternalProjectUtils) >> - llvm_ExternalProject_Add(test-suite ${LLVM_MAIN_SRC_DIR}/projects/test-suite >> -...
2017 Dec 06
2
PSA: debuginfo-tests workflow changing slightly
...piler-rt;lld;polly,debuginfo-tests") > set(LLVM_ENABLE_PROJECTS "" CACHE STRING > "Semicolon-separated list of projects to build (${LLVM_ALL_PROJECTS}), or \"all\".") > if( LLVM_ENABLE_PROJECTS STREQUAL "all" ) > @@ -885,13 +885,16 @@ if( LLVM_INCLUDE_EXAMPLES ) > endif() > > if( LLVM_INCLUDE_TESTS ) > - if(EXISTS ${LLVM_MAIN_SRC_DIR}/projects/test-suite AND TARGET clang) > - include(LLVMExternalProjectUtils) > - llvm_ExternalProject_Add(test-suite ${LLVM_MAIN_SRC_DIR}/projects/test-suite > - USE_TOOLCHAIN > -...
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 Nov 22
2
PSA: debuginfo-tests workflow changing slightly
I sorta enjoy debugging stuff like this, so if you don't mind, I'll dig into it once I get a chance -- traveling so, my access is a bit sketchy right now. I'll see if I can grab the logs and let you know if I find anything interesting. On Tue, Nov 21, 2017 at 7:04 PM, Zachary Turner <zturner at google.com> wrote: > That change was added specifically to workaround a failure
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
...e using an old, unsupported host toolchain. LLVM_FORCE_USE_OLD_HOST_TOOLCHAIN:BOOL=OFF //Host on which LLVM binaries will run LLVM_HOST_TRIPLE:STRING=x86_64-unknown-linux-gnu //Generate build targets for llvm documentation. LLVM_INCLUDE_DOCS:BOOL=ON //Generate build targets for the LLVM examples LLVM_INCLUDE_EXAMPLES:BOOL=ON //Include the Go bindings tests in test build targets. LLVM_INCLUDE_GO_TESTS:BOOL=OFF //Generate build targets for the LLVM unit tests. LLVM_INCLUDE_TESTS:BOOL=ON //Generate build targets for the LLVM tools. LLVM_INCLUDE_TOOLS:BOOL=ON //Generate build targets for the LLVM utils. LLVM_...