Displaying 5 results from an estimated 5 matches for "clang_build_examples".
Did you mean:
dclang_build_examples
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
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
...y
Backtrace_HEADER:STRING=execinfo.h
//Path to a file.
Backtrace_INCLUDE_DIR:PATH=/usr/include
//Library providing backtrace(3), empty for default set of libraries
Backtrace_LIBRARY:FILEPATH=
//Dependencies for target
BugpointPasses_LIB_DEPENDS:STATIC=
//Build CLANG example programs by default.
CLANG_BUILD_EXAMPLES:BOOL=ON
//Build the Clang tools. If OFF, just generate build targets.
CLANG_BUILD_TOOLS:BOOL=ON
//Default C++ stdlib to use ("libstdc++" or "libc++", empty for
// platform default
CLANG_DEFAULT_CXX_STDLIB:STRING=
//Default linker to use (linker name or absolute path, empty fo...