search for: llvm_tool_llvm_lto_build

Displaying 7 results from an estimated 7 matches for "llvm_tool_llvm_lto_build".

2016 Mar 18
2
Building with LLVM_PARALLEL_XXX_JOBS
...; 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;gener...
2016 Mar 12
4
Building with LLVM_PARALLEL_XXX_JOBS
...ECUTABLE:FILEPATH=/usr/bin/ld.gold # 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 pa...
2016 Mar 17
2
Building with LLVM_PARALLEL_XXX_JOBS
...nable 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 $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;gen...
2016 Mar 03
3
Building with LLVM_PARALLEL_XXX_JOBS
...E/LLVM variables... ### GOLD # CMAKE_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 t...
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
...//Whether to build LLVM_JITLISTENER as part of LLVM LLVM_TOOL_LLVM_JITLISTENER_BUILD:BOOL=ON //Whether to build llvm-link as part of LLVM LLVM_TOOL_LLVM_LINK_BUILD:BOOL=ON //Whether to build llvm-lto2 as part of LLVM LLVM_TOOL_LLVM_LTO2_BUILD:BOOL=ON //Whether to build llvm-lto as part of LLVM LLVM_TOOL_LLVM_LTO_BUILD:BOOL=ON //Whether to build llvm-mcmarkup as part of LLVM LLVM_TOOL_LLVM_MCMARKUP_BUILD:BOOL=ON //Whether to build llvm-mc as part of LLVM LLVM_TOOL_LLVM_MC_BUILD:BOOL=ON //Whether to build llvm-mc-fuzzer as part of LLVM LLVM_TOOL_LLVM_MC_FUZZER_BUILD:BOOL=ON //Whether to build llvm-modextract a...