search for: llvm_enable_lto

Displaying 5 results from an estimated 5 matches for "llvm_enable_lto".

Did you mean: dllvm_enable_lto
2016 Mar 18
2
Building with LLVM_PARALLEL_XXX_JOBS
...;. >> I have seen LLVM_ENALBLE_LTO=On in some older docs. >> Bring it back? >> AFAICS, "cmake -LA | grep -i $pattern" die not show me this, but I >> might be wrong. >> ( Some weeks ago, I dealt with LTO/PGO. ) >> > > OK, I got a typo, nevertheless LLVM_ENABLE_LTO does not work! > > [ ... ] > -- Configuring done > -- Generating done > CMake Warning: > Manually-specified variables were not used by the project: > > LLVM_ENABLE_LTO > > > -- Build files have been written to: > /home/wearefam/src/llvm-toolchain/llvm-build...
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
2016 Mar 03
3
Building with LLVM_PARALLEL_XXX_JOBS
I had only a quick view on the blog-texts. It might be that a CLANG generated with LTO/PGO speeds up the build. Can you confirm this? Can you confirm binutils-gold speed up the build? Has LLVM an own linker? Can be used? Speedup the build? Yesterday night I loooked through available CMAKE/LLVM variables... ### GOLD # CMAKE_LINKER:FILEPATH=/usr/bin/ld #
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
...libedit if available. LLVM_ENABLE_LIBEDIT:BOOL=ON //Use lld as C and C++ linker. LLVM_ENABLE_LLD:BOOL=OFF //Compile with -fmodules-local-submodule-visibility. LLVM_ENABLE_LOCAL_SUBMODULE_VISIBILITY:BOOL=ON //Build LLVM with LTO. May be specified as Thin or Full to use // a particular kind of LTO LLVM_ENABLE_LTO:STRING=OFF //Compile with C++ modules enabled. LLVM_ENABLE_MODULES:BOOL=OFF //Compile with -gmodules. LLVM_ENABLE_MODULE_DEBUGGING:BOOL=OFF //Build OCaml bindings documentation. LLVM_ENABLE_OCAMLDOC:BOOL=ON //Compile with pedantic enabled. LLVM_ENABLE_PEDANTIC:BOOL=ON //Build Position-Independ...