Displaying 7 results from an estimated 7 matches for "llvm_tool_lto_build".
2016 Mar 18
2
Building with LLVM_PARALLEL_XXX_JOBS
...he response!
>>
>> That seems to work (see below).
>>
>> $ cd $BUILD_DIR
>> $ grep -i lto CMakeCache.txt | grep ^[A-Z]
>> [ OUTPUT ]
>> LLVMLTO_LIB_DEPENDS:STATIC=
>> LLVM_ENALBLE_LTO:UNINITIALIZED=ON
>> LLVM_TOOL_LLVM_LTO_BUILD:BOOL=ON
>> LLVM_TOOL_LTO_BUILD:BOOL=ON
>> LTO_LIB_DEPENDS:STATIC=general;LLVMX86CodeGen;general;LLVMX86AsmPrinter;general;LLVMX86AsmParser;general;LLVMX86Desc;general;LLVMX86Info;general;LLVMX86Disassembler;general;LLVMCore;general;LLVMLTO;general;LLVMMC;general;LLVMMCDisassembler;general;LLVMSupport;general;LLVMTarget;
&g...
2016 Mar 12
4
Building with LLVM_PARALLEL_XXX_JOBS
...# LLVM_TOOL_GOLD_BUILD:BOOL=ON
#
### TRYOUT #2: OPTLEVEL '-O3' <--- NOP
# CMAKE_ASM_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
# CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
# CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
#
### TRYOUT #3: LTO AND PGO <--- UNSURE
# LLVM_TOOL_LLVM_LTO_BUILD:BOOL=ON
# LLVM_TOOL_LTO_BUILD:BOOL=ON
# LLVM_USE_OPROFILE:BOOL=OFF
#
#### TRYOUT #4: TABLEGEN
# LLVM_OPTIMIZED_TABLEGEN:BOOL=OFF
#
##### END *** SECTION WILL BE DELETED ***
Thanks for any help and ideas.
Regards,
- Sedat -
[1] http://llvm.org/releases/3.8.0/docs/CMake.html
-------------- next part --------------
A non-text a...
2016 Mar 17
2
Building with LLVM_PARALLEL_XXX_JOBS
...t; LLVM_ENALBLE_LTO=On
>
[ v4 of my build-script attached ]
Hi Chris,
thanks for the response!
That seems to work (see below).
$ cd $BUILD_DIR
$ grep -i lto CMakeCache.txt | grep ^[A-Z]
[ OUTPUT ]
LLVMLTO_LIB_DEPENDS:STATIC=
LLVM_ENALBLE_LTO:UNINITIALIZED=ON
LLVM_TOOL_LLVM_LTO_BUILD:BOOL=ON
LLVM_TOOL_LTO_BUILD:BOOL=ON
LTO_LIB_DEPENDS:STATIC=general;LLVMX86CodeGen;general;LLVMX86AsmPrinter;general;LLVMX86AsmParser;general;LLVMX86Desc;general;LLVMX86Info;general;LLVMX86Disassembler;general;LLVMCore;general;LLVMLTO;general;LLVMMC;general;LLVMMCDisassembler;general;LLVMSupport;general;LLVMTarget;
COMPILER_RT...
2016 Mar 03
3
Building with LLVM_PARALLEL_XXX_JOBS
...KE_LINKER:FILEPATH=/usr/bin/ld
# GOLD_EXECUTABLE:FILEPATH=/usr/bin/ld.gold
# LLVM_TOOL_GOLD_BUILD:BOOL=ON
### OPTLEVEL
# CMAKE_ASM_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
# CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
# CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
### LTO
# LLVM_TOOL_LLVM_LTO_BUILD:BOOL=ON
# LLVM_TOOL_LTO_BUILD:BOOL=ON
### PGO
# LLVM_USE_OPROFILE:BOOL=OFF
#### TABLEGEN
# LLVM_OPTIMIZED_TABLEGEN:BOOL=OFF
So '-O3' is default for a RELEASE build.
Not sure which of the LTO variables are suitable, maybe both.
PGO? Is that the correct variable?
The blog-text mentioned to use optimized-tablegen.
Good...
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:
2016 Mar 03
2
Building with LLVM_PARALLEL_XXX_JOBS
> On Mar 2, 2016, at 4:22 PM, Sedat Dilek <sedat.dilek at gmail.com> wrote:
>
> I got some more inspirations on how to speedup my build and integrated
> the URLs into my scripts (attached).
>
> For example to use GOLD as linker or to use '-O3' OptLevel maybe in
> combination with LTO and PGO (using '-O3 -flto -fprofile-use').
LTO *will* slow down
2017 Feb 15
2
Asan self host problems: Failed to deallocate
...N
//Whether to build llvm-strings as part of LLVM
LLVM_TOOL_LLVM_STRINGS_BUILD:BOOL=ON
//Whether to build llvm-symbolizer as part of LLVM
LLVM_TOOL_LLVM_SYMBOLIZER_BUILD:BOOL=ON
//Whether to build llvm-xray as part of LLVM
LLVM_TOOL_LLVM_XRAY_BUILD:BOOL=ON
//Whether to build lto as part of LLVM
LLVM_TOOL_LTO_BUILD:BOOL=ON
//Whether to build msbuild as part of LLVM
LLVM_TOOL_MSBUILD_BUILD:BOOL=ON
//Whether to build obj2yaml as part of LLVM
LLVM_TOOL_OBJ2YAML_BUILD:BOOL=ON
//Whether to build opt as part of LLVM
LLVM_TOOL_OPT_BUILD:BOOL=ON
//Whether to build parallel-libs as part of LLVM
LLVM_TOOL_PARALLEL_...