search for: compilers_cmake_opt

Displaying 2 results from an estimated 2 matches for "compilers_cmake_opt".

Did you mean: compilers_cmake_opts
2016 Mar 12
4
Building with LLVM_PARALLEL_XXX_JOBS
....8.7 officially) # NOTE #2: For fast builds use recommended CMake >= v3.2 (used: v3.4.3) and Ninja (used: v1.6.0) # NOTE #3: How to check available cmake-options? # EXAMPLE #3: cd $BUILD_DIR ; cmake ../llvm -LA | egrep $CMAKE_OPTS # # CMake binary CMAKE="cmake" # CMake compiler options COMPILERS_CMAKE_OPTS="-DCMAKE_C_COMPILER=$COMPILER_CC -DCMAKE_CXX_COMPILER=$COMPILER_CXX" # NOTE-1: cmake/ninja: Use LLVM_PARALLEL_COMPILE_JOBS and LLVM_PARALLEL_LINK_JOBS options # NOTE-2: For fast builds use available (online) CPUs +1 or set values explicitly # NOTE-3: For fast and safe linking use bintils...
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 #