Sedat Dilek via llvm-dev
2016-Mar-17 09:05 UTC
[llvm-dev] 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 $BUILD_DIR $ grep -i lto CMakeCache.txt | grep ^[A-Z] [ OUTPUT ] LLVMLTO_LIB_DEPENDS:STATICLLVM_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_HAS_FNO_LTO_FLAG:INTERNAL=1 LLVM_TOOL_LLVM_LTO_BUILD-ADVANCED:INTERNAL=1 LLVM_TOOL_LTO_BUILD-ADVANCED:INTERNAL=1 [ /OUTPUT ] But is no more documented in <http://llvm.org/releases/3.8.0/docs/CMake.html> or <http://llvm.org/docs/CMake.html>. 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. )> How do I enable PGO via CMAKE? > > > I’m actually in the middle of writing some documentation on this right now > because I recently made this process a lot easier. Let me give you the high > level overview. > > The way PGO works is that you build an instrumented compiler, then you run > the instrumented compiler against sample source files. While the > instrumented compiler runs it will output a bunch of files containing > performance counters (.profraw files). After generating all the profraw > files you use llvm-profdata to merge the files into a single profdata file > that you can feed into the LLVM_PROFDATA_FILE option. > > Alas, there is an easier way to generate the profdata file! > > If you look in the clang repo at <clang>/cmake/caches/README.txt you’ll see > an explanation of how to use the PGO CMake cache file. The basic idea is you > run: > > $ cmake -G <generator> -C <path_to_clang>/cmake/caches/PGO.cmake <source > dir> > $ <build tool> stage2-instrumented-generate-profdata > > If you let that run for a few hours or so, it will place a profdata file in > your build directory. This takes a really long time because it builds clang > twice, and you *must* have compiler-rt in your build tree. > > This process uses any source files under the perf-training directory as > training data as long as the source files are marked up with LIT-style RUN > lines. > > After it finishes you can use “find . -name clang.profdata” to find it, but > it should be at a path something like: > > <build > dir>/tools/clang/stage2-instrumented-bins/utils/perf-training/clang.profdata > > You can feed that file into the LLVM_PROFDATA_FILE option when you build > your optimized compiler. >Uuuugh, that sounds a bit complicated or at least for me :-). I am not that familiar with CMake and the llvm-toolchain build-system. I need something simple like... PGO_CMAKE_OPTS="..." CONFIGURE_CMAKE_OPTS="$CONFIGURE_CMAKE_OPTS $PGO_CMAKE_OPTS" ...in my build-script. Thanks. - Sedat -> -Chris >-------------- next part -------------- A non-text attachment was scrubbed... Name: build_llvm-toolchain_clang-cmake-ninja-gold_v4.sh Type: application/x-sh Size: 5026 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160317/dbf87127/attachment.sh>
Sedat Dilek via llvm-dev
2016-Mar-17 10:45 UTC
[llvm-dev] Building with LLVM_PARALLEL_XXX_JOBS
On Thu, Mar 17, 2016 at 10:05 AM, Sedat Dilek <sedat.dilek at gmail.com> wrote:> 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 $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_HAS_FNO_LTO_FLAG:INTERNAL=1 > LLVM_TOOL_LLVM_LTO_BUILD-ADVANCED:INTERNAL=1 > LLVM_TOOL_LTO_BUILD-ADVANCED:INTERNAL=1 > [ /OUTPUT ] > > But is no more documented in > <http://llvm.org/releases/3.8.0/docs/CMake.html> or > <http://llvm.org/docs/CMake.html>. > 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 Do you need more input? Thanks! - Sedat - -------------- next part -------------- # This is the CMakeCache file. # For build in directory: /home/wearefam/src/llvm-toolchain/llvm-build # It was generated by CMake: /opt/cmake-3.4.3-ninja-1.6.0/bin/cmake # You can edit this file to change values found and used by cmake. # If you do not want to change any of the values, simply exit the editor. # If you do want to change a value, simply edit, save, and exit the editor. # The syntax for the file is as follows: # KEY:TYPE=VALUE # KEY is the name of a variable in the cache. # TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. # VALUE is the current value for the KEY. ######################## # EXTERNAL cache entries ######################## //Default URL where bug reports are to be submitted. BUG_REPORT_URL:STRING=http://llvm.org/bugs/ //Build clang-format VS plugin BUILD_CLANG_FORMAT_VS_PLUGIN:BOOL=OFF //Build all libraries as shared libraries instead of static BUILD_SHARED_LIBS:BOOL=OFF //Dependencies for target BugpointPasses_LIB_DEPENDS:STATIC //Build CLANG example programs by default. CLANG_BUILD_EXAMPLES:BOOL=OFF //Default OpenMP runtime used by -fopenmp. CLANG_DEFAULT_OPENMP_RUNTIME:STRING=libomp //Build ARCMT. CLANG_ENABLE_ARCMT:BOOL=ON //Build static analyzer. CLANG_ENABLE_STATIC_ANALYZER:BOOL=ON //Version number that will be placed into the clang executable, // in the form XX.YY CLANG_EXECUTABLE_VERSION:STRING=3.8 //Generate build targets for the Clang docs. CLANG_INCLUDE_DOCS:BOOL=ON //Generate build targets for the Clang unit tests. CLANG_INCLUDE_TESTS:BOOL=ON //Install the scan-build tool CLANG_INSTALL_SCANBUILD:BOOL=ON //Install the scan-view tool CLANG_INSTALL_SCANVIEW:BOOL=ON //Order file to use when compiling clang in order to improve startup // time. CLANG_ORDER_FILE:FILEPATH //Build clang with plugin support CLANG_PLUGIN_SUPPORT:BOOL=ON //Vendor-specific text for showing the repository the source is // taken from. CLANG_REPOSITORY_STRING:STRING //Relative directory from the Clang binary to its resource files. CLANG_RESOURCE_DIR:STRING //Native TableGen executable. Saves building one when cross-compiling. CLANG_TABLEGEN:STRING=clang-tblgen //Run Clang tests under Valgrind CLANG_TEST_USE_VG:BOOL=OFF //Whether to build arcmt-test as part of CLANG CLANG_TOOL_ARCMT_TEST_BUILD:BOOL=ON //Whether to build clang-check as part of CLANG CLANG_TOOL_CLANG_CHECK_BUILD:BOOL=ON //Whether to build clang-format as part of CLANG CLANG_TOOL_CLANG_FORMAT_BUILD:BOOL=ON //Whether to build clang-format-vs as part of CLANG CLANG_TOOL_CLANG_FORMAT_VS_BUILD:BOOL=ON //Whether to build clang-fuzzer as part of CLANG CLANG_TOOL_CLANG_FUZZER_BUILD:BOOL=ON //Whether to build c-arcmt-test as part of CLANG CLANG_TOOL_C_ARCMT_TEST_BUILD:BOOL=ON //Whether to build c-index-test as part of CLANG CLANG_TOOL_C_INDEX_TEST_BUILD:BOOL=ON //Whether to build diagtool as part of CLANG CLANG_TOOL_DIAGTOOL_BUILD:BOOL=ON //Whether to build driver as part of CLANG CLANG_TOOL_DRIVER_BUILD:BOOL=ON //Whether to build libclang as part of CLANG CLANG_TOOL_LIBCLANG_BUILD:BOOL=ON //Whether to build scan-build as part of CLANG CLANG_TOOL_SCAN_BUILD_BUILD:BOOL=ON //Whether to build scan-view as part of CLANG CLANG_TOOL_SCAN_VIEW_BUILD:BOOL=ON //Vendor-specific text for showing with version information. CLANG_VENDOR:STRING //Vendor-specific uti. CLANG_VENDOR_UTI:STRING=org.llvm.clang //Path to a program. CMAKE_AR:FILEPATH=/usr/bin/ar //The ASM compiler CMAKE_ASM_COMPILER:FILEPATH=/opt/llvm/bin/clang-3.8 //Flags used by the assembler during all build types. CMAKE_ASM_FLAGS:STRING //Flags used by the assembler during debug builds. CMAKE_ASM_FLAGS_DEBUG:STRING=-g //Flags used by the assembler during release minsize builds. CMAKE_ASM_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG //Flags used by the assembler during release builds. CMAKE_ASM_FLAGS_RELEASE:STRING=-O3 -DNDEBUG //Flags used by the assembler during Release with Debug Info builds. CMAKE_ASM_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG //Choose the type of build, options are: None(CMAKE_CXX_FLAGS or // CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel. CMAKE_BUILD_TYPE:STRING=RELEASE //CXX compiler CMAKE_CXX_COMPILER:STRING=/opt/llvm/bin/clang++-3.8 //Flags used by the compiler during all build types. CMAKE_CXX_FLAGS:STRING //Flags used by the compiler during debug builds. CMAKE_CXX_FLAGS_DEBUG:STRING=-g //Flags used by the compiler during release builds for minimum // size. CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG //Flags used by the compiler during release builds. CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG //Flags used by the compiler during release builds with debug info. CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG //C compiler CMAKE_C_COMPILER:STRING=/opt/llvm/bin/clang-3.8 //Flags used by the compiler during all build types. CMAKE_C_FLAGS:STRING //Flags used by the compiler during debug builds. CMAKE_C_FLAGS_DEBUG:STRING=-g //Flags used by the compiler during release builds for minimum // size. CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG //Flags used by the compiler during release builds. CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG //Flags used by the compiler during release builds with debug info. CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG //Flags used by the linker. CMAKE_EXE_LINKER_FLAGS:STRING //Flags used by the linker during debug builds. CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING //Flags used by the linker during release minsize builds. CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING //Flags used by the linker during release builds. CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING //Flags used by the linker during Release with Debug Info builds. CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING //Enable/Disable output of compile commands during generation. CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF //user executables (bin) CMAKE_INSTALL_BINDIR:PATH=bin //read-only architecture-independent data (DATAROOTDIR) CMAKE_INSTALL_DATADIR:PATH //read-only architecture-independent data root (share) CMAKE_INSTALL_DATAROOTDIR:PATH=share //documentation root (DATAROOTDIR/doc/PROJECT_NAME) CMAKE_INSTALL_DOCDIR:PATH //C header files (include) CMAKE_INSTALL_INCLUDEDIR:PATH=include //info documentation (DATAROOTDIR/info) CMAKE_INSTALL_INFODIR:PATH //object code libraries (lib) CMAKE_INSTALL_LIBDIR:PATH=lib //program executables (libexec) CMAKE_INSTALL_LIBEXECDIR:PATH=libexec //locale-dependent data (DATAROOTDIR/locale) CMAKE_INSTALL_LOCALEDIR:PATH //modifiable single-machine data (var) CMAKE_INSTALL_LOCALSTATEDIR:PATH=var //man documentation (DATAROOTDIR/man) CMAKE_INSTALL_MANDIR:PATH //C header files for non-gcc (/usr/include) CMAKE_INSTALL_OLDINCLUDEDIR:PATH=/usr/include //Install path prefix, prepended onto install directories. CMAKE_INSTALL_PREFIX:PATH=/opt/llvm-toolchain-3.8.0 //system admin executables (sbin) CMAKE_INSTALL_SBINDIR:PATH=sbin //modifiable architecture-independent data (com) CMAKE_INSTALL_SHAREDSTATEDIR:PATH=com //read-only single-machine data (etc) CMAKE_INSTALL_SYSCONFDIR:PATH=etc //Path to a program. CMAKE_LINKER:FILEPATH=/usr/bin/ld.gold //Program used to build from build.ninja files. CMAKE_MAKE_PROGRAM:FILEPATH=/opt/cmake/bin/ninja //Flags used by the linker during the creation of modules. CMAKE_MODULE_LINKER_FLAGS:STRING //Flags used by the linker during debug builds. CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING //Flags used by the linker during release minsize builds. CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING //Flags used by the linker during release builds. CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING //Flags used by the linker during Release with Debug Info builds. CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING //Path to a program. CMAKE_NM:FILEPATH=/usr/bin/nm //Path to a program. CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy //Path to a program. CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump //Value Computed by CMake CMAKE_PROJECT_NAME:STATIC=LLVM //Path to a program. CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib //Flags used by the linker during the creation of dll's. CMAKE_SHARED_LINKER_FLAGS:STRING //Flags used by the linker during debug builds. CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING //Flags used by the linker during release minsize builds. CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING //Flags used by the linker during release builds. CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING //Flags used by the linker during Release with Debug Info builds. CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING //If set, runtime paths are not added when installing shared libraries, // but are added when building. CMAKE_SKIP_INSTALL_RPATH:BOOL=NO //If set, runtime paths are not added when using shared libraries. CMAKE_SKIP_RPATH:BOOL=NO //Flags used by the linker during the creation of static libraries. CMAKE_STATIC_LINKER_FLAGS:STRING //Flags used by the linker during debug builds. CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING //Flags used by the linker during release minsize builds. CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING //Flags used by the linker during release builds. CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING //Flags used by the linker during Release with Debug Info builds. CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING //Path to a program. CMAKE_STRIP:FILEPATH=/usr/bin/strip //If this value is on, makefiles will be generated without the // .SILENT directive, and all commands will be echoed to the console // during the make. This is useful for debugging only. With Visual // Studio IDE projects all commands are done without /nologo. CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE //Build builtins COMPILER_RT_BUILD_BUILTINS:BOOL=ON //Build sanitizers COMPILER_RT_BUILD_SANITIZERS:BOOL=ON //Can we execute instrumented tests COMPILER_RT_CAN_EXECUTE_TESTS:BOOL=ON //Build runtimes with full debug info COMPILER_RT_DEBUG:BOOL=OFF //Default triple for which compiler-rt runtimes will be built. COMPILER_RT_DEFAULT_TARGET_TRIPLE:STRING=x86_64-unknown-linux-gnu //Fail and stop if warning is triggered COMPILER_RT_ENABLE_WERROR:BOOL=OFF //Generate dSYM files and strip executables and libraries (Darwin // Only) COMPILER_RT_EXTERNALIZE_DEBUGINFO:BOOL=OFF //Generate and build compiler-rt unit tests. COMPILER_RT_INCLUDE_TESTS:BOOL=ON //Enable to build Debian packages CPACK_BINARY_DEB:BOOL=OFF //Enable to build IFW packages CPACK_BINARY_IFW:BOOL=OFF //Enable to build NSIS packages CPACK_BINARY_NSIS:BOOL=OFF //Enable to build RPM packages CPACK_BINARY_RPM:BOOL=OFF //Enable to build STGZ packages CPACK_BINARY_STGZ:BOOL=ON //Enable to build TBZ2 packages CPACK_BINARY_TBZ2:BOOL=OFF //Enable to build TGZ packages CPACK_BINARY_TGZ:BOOL=ON //Enable to build TXZ packages CPACK_BINARY_TXZ:BOOL=OFF //Enable to build TZ packages CPACK_BINARY_TZ:BOOL=ON //Enable to build TBZ2 source packages CPACK_SOURCE_TBZ2:BOOL=ON //Enable to build TGZ source packages CPACK_SOURCE_TGZ:BOOL=ON //Enable to build TXZ source packages CPACK_SOURCE_TXZ:BOOL=ON //Enable to build TZ source packages CPACK_SOURCE_TZ:BOOL=ON //Enable to build ZIP source packages CPACK_SOURCE_ZIP:BOOL=OFF //Colon separated list of directories clang will search for headers. C_INCLUDE_DIRS:STRING //Default <path> to all compiler invocations for --sysroot=<path>. DEFAULT_SYSROOT:PATH //Path to a library. DL_LIBRARY_PATH:FILEPATH=/usr/lib/x86_64-linux-gnu/libdl.so //Additional directory, where CMake should search for ffi.h or // ffi/ffi.h FFI_INCLUDE_DIR:PATH //Additional directory, where CMake should search for libffi.so FFI_LIBRARY_DIR:PATH //Directory where gcc is installed. GCC_INSTALL_PREFIX:PATH //The gold linker GOLD_EXECUTABLE:FILEPATH=/usr/bin/ld.gold //go executable GO_EXECUTABLE:FILEPATH=GO_EXECUTABLE-NOTFOUND //Build libclang as a static library (in addition to a shared one) LIBCLANG_BUILD_STATIC:BOOL=OFF //Version number that will be placed into the libclang library // , in the form XX.YY LIBCLANG_LIBRARY_VERSION:STRING=3.8 //Path to a file. LIBXML2_INCLUDE_DIR:PATH=LIBXML2_INCLUDE_DIR-NOTFOUND //Path to a library. LIBXML2_LIBRARIES:FILEPATH=LIBXML2_LIBRARIES-NOTFOUND //Path to a program. LIBXML2_XMLLINT_EXECUTABLE:FILEPATH=/usr/bin/xmllint //Static link Polly into tools LINK_POLLY_INTO_TOOLS:BOOL=OFF //Dependencies for target LLVMAnalysis_LIB_DEPENDS:STATIC //Dependencies for target LLVMAsmParser_LIB_DEPENDS:STATIC //Dependencies for target LLVMAsmPrinter_LIB_DEPENDS:STATIC //Dependencies for target LLVMBitReader_LIB_DEPENDS:STATIC //Dependencies for target LLVMBitWriter_LIB_DEPENDS:STATIC //Dependencies for target LLVMCodeGen_LIB_DEPENDS:STATIC //Dependencies for target LLVMCore_LIB_DEPENDS:STATIC //Dependencies for target LLVMDebugInfoCodeView_LIB_DEPENDS:STATIC //Dependencies for target LLVMDebugInfoDWARF_LIB_DEPENDS:STATIC //Dependencies for target LLVMDebugInfoPDB_LIB_DEPENDS:STATIC //Dependencies for target LLVMExecutionEngine_LIB_DEPENDS:STATIC //Dependencies for target LLVMHello_LIB_DEPENDS:STATIC //Dependencies for target LLVMIRReader_LIB_DEPENDS:STATIC //Dependencies for target LLVMInstCombine_LIB_DEPENDS:STATIC //Dependencies for target LLVMInstrumentation_LIB_DEPENDS:STATIC //Dependencies for target LLVMInterpreter_LIB_DEPENDS:STATIC //Dependencies for target LLVMLTO_LIB_DEPENDS:STATIC //Dependencies for target LLVMLibDriver_LIB_DEPENDS:STATIC //Dependencies for target LLVMLineEditor_LIB_DEPENDS:STATIC //Dependencies for target LLVMLinker_LIB_DEPENDS:STATIC //Dependencies for target LLVMMCDisassembler_LIB_DEPENDS:STATIC //Dependencies for target LLVMMCJIT_LIB_DEPENDS:STATIC //Dependencies for target LLVMMCParser_LIB_DEPENDS:STATIC //Dependencies for target LLVMMC_LIB_DEPENDS:STATIC //Dependencies for target LLVMMIRParser_LIB_DEPENDS:STATIC //Dependencies for target LLVMObjCARCOpts_LIB_DEPENDS:STATIC //Dependencies for target LLVMObject_LIB_DEPENDS:STATIC //Dependencies for target LLVMOption_LIB_DEPENDS:STATIC //Dependencies for target LLVMOrcJIT_LIB_DEPENDS:STATIC //Dependencies for target LLVMPasses_LIB_DEPENDS:STATIC //Dependencies for target LLVMProfileData_LIB_DEPENDS:STATIC //Dependencies for target LLVMRuntimeDyld_LIB_DEPENDS:STATIC //Dependencies for target LLVMScalarOpts_LIB_DEPENDS:STATIC //Dependencies for target LLVMSelectionDAG_LIB_DEPENDS:STATIC //Dependencies for target LLVMSupport_LIB_DEPENDS:STATIC //Dependencies for target LLVMSymbolize_LIB_DEPENDS:STATIC //Dependencies for target LLVMTableGen_LIB_DEPENDS:STATIC //Dependencies for target LLVMTarget_LIB_DEPENDS:STATIC //Dependencies for target LLVMTransformUtils_LIB_DEPENDS:STATIC //Dependencies for target LLVMVectorize_LIB_DEPENDS:STATIC //Dependencies for target LLVMX86AsmParser_LIB_DEPENDS:STATIC //Dependencies for target LLVMX86AsmPrinter_LIB_DEPENDS:STATIC //Dependencies for target LLVMX86CodeGen_LIB_DEPENDS:STATIC //Dependencies for target LLVMX86Desc_LIB_DEPENDS:STATIC //Dependencies for target LLVMX86Disassembler_LIB_DEPENDS:STATIC //Dependencies for target LLVMX86Info_LIB_DEPENDS:STATIC //Dependencies for target LLVMX86Utils_LIB_DEPENDS:STATIC //Enable abi-breaking checks. Can be WITH_ASSERTS, FORCE_ON or // FORCE_OFF. LLVM_ABI_BREAKING_CHECKS:STRING=WITH_ASSERTS //Append the version control system revision id to LLVM version LLVM_APPEND_VC_REV:BOOL=OFF //Value Computed by CMake LLVM_BINARY_DIR:STATIC=/home/wearefam/src/llvm-toolchain/llvm-build //PATH to binutils/include containing plugin-api.h for gold plugin. LLVM_BINUTILS_INCDIR:PATH //Build 32 bits executables and libraries. LLVM_BUILD_32_BITS:BOOL=OFF //Build the llvm documentation. LLVM_BUILD_DOCS:BOOL=OFF //Build the LLVM example programs. If OFF, just generate build // targets. LLVM_BUILD_EXAMPLES:BOOL=OFF //Build compiler-rt as an external project. LLVM_BUILD_EXTERNAL_COMPILER_RT:BOOL=OFF //Build LLVM and tools with PGO instrumentation (experimental) LLVM_BUILD_INSTRUMENTED:BOOL=OFF //Build libllvm-c re-export library (Darwin Only) LLVM_BUILD_LLVM_C_DYLIB:BOOL=OFF //Build libllvm dynamic library LLVM_BUILD_LLVM_DYLIB:BOOL=OFF //Build the LLVM runtime libraries. LLVM_BUILD_RUNTIME:BOOL=ON //Build LLVM unit tests. If OFF, just generate build targets. LLVM_BUILD_TESTS:BOOL=OFF //Build the LLVM tools. If OFF, just generate build targets. LLVM_BUILD_TOOLS:BOOL=ON //Default target for which LLVM will generate code. LLVM_DEFAULT_TARGET_TRIPLE:STRING=x86_64-unknown-linux-gnu //Disable llvm-shlib's atexit destructors. LLVM_DISABLE_LLVM_DYLIB_ATEXIT:BOOL=ON //Semicolon-separated list of components to include in libLLVM, // or "all". LLVM_DYLIB_COMPONENTS:STRING=all //Enable assertions LLVM_ENABLE_ASSERTIONS:BOOL=ON //Enable embedding backtraces on crash. LLVM_ENABLE_BACKTRACES:BOOL=ON //Enable crash overrides. LLVM_ENABLE_CRASH_OVERRIDES:BOOL=ON //Compile with C++1y enabled. LLVM_ENABLE_CXX1Y:BOOL=OFF //Use doxygen to generate llvm API documentation. LLVM_ENABLE_DOXYGEN:BOOL=OFF //Enable Exception handling LLVM_ENABLE_EH:BOOL=OFF //Use libffi to call external functions from the interpreter LLVM_ENABLE_FFI:BOOL=OFF //Use libc++ if available. LLVM_ENABLE_LIBCXX:BOOL=OFF //Use libc++abi when using libc++. LLVM_ENABLE_LIBCXXABI:BOOL=OFF //No help, variable specified on the command line. LLVM_ENABLE_LTO:UNINITIALIZED=ON //Compile with C++ modules enabled. LLVM_ENABLE_MODULES:BOOL=OFF //Compile with pedantic enabled. LLVM_ENABLE_PEDANTIC:BOOL=ON //Build Position-Independent Code LLVM_ENABLE_PIC:BOOL=ON //Enable run time type information LLVM_ENABLE_RTTI:BOOL=OFF //Use Sphinx to generate llvm documentation. LLVM_ENABLE_SPHINX:BOOL=OFF //Use terminfo database if available. LLVM_ENABLE_TERMINFO:BOOL=ON //Use threads if available. LLVM_ENABLE_THREADS:BOOL=ON //Enable embedding timestamp information in build LLVM_ENABLE_TIMESTAMPS:BOOL=ON //Enable compiler warnings. LLVM_ENABLE_WARNINGS:BOOL=ON //Fail and stop if a warning is triggered. LLVM_ENABLE_WERROR:BOOL=OFF //Use zlib for compression/decompression if available. LLVM_ENABLE_ZLIB:BOOL=ON //Semicolon-separated list of experimental targets to build. LLVM_EXPERIMENTAL_TARGETS_TO_BUILD:STRING //Generate dSYM files and strip executables and libraries (Darwin // Only) LLVM_EXTERNALIZE_DEBUGINFO:BOOL=OFF //Path to clang-tools-extra source directory LLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR:PATH //Path to dragonegg source directory LLVM_EXTERNAL_DRAGONEGG_SOURCE_DIR:PATH //Path to libcxxabi source directory LLVM_EXTERNAL_LIBCXXABI_SOURCE_DIR:PATH //Path to libcxx source directory LLVM_EXTERNAL_LIBCXX_SOURCE_DIR:PATH //Path to libunwind source directory LLVM_EXTERNAL_LIBUNWIND_SOURCE_DIR:PATH //Path to lldb source directory LLVM_EXTERNAL_LLDB_SOURCE_DIR:PATH //Path to lld source directory LLVM_EXTERNAL_LLD_SOURCE_DIR:PATH //Path to llgo source directory LLVM_EXTERNAL_LLGO_SOURCE_DIR:PATH //Set to ON to force using an old, unsupported host toolchain. LLVM_FORCE_USE_OLD_HOST_TOOLCHAIN:BOOL=OFF //Host on which LLVM binaries will run LLVM_HOST_TRIPLE:STRING=x86_64-unknown-linux-gnu //Generate build targets for llvm documentation. LLVM_INCLUDE_DOCS:BOOL=ON //Generate build targets for the LLVM examples LLVM_INCLUDE_EXAMPLES:BOOL=ON //Include the Go bindings tests in test build targets. LLVM_INCLUDE_GO_TESTS:BOOL=ON //Generate build targets for the LLVM unit tests. LLVM_INCLUDE_TESTS:BOOL=ON //Generate build targets for the LLVM tools. LLVM_INCLUDE_TOOLS:BOOL=ON //Generate build targets for the LLVM utils. LLVM_INCLUDE_UTILS:BOOL=ON //Only include toolchain files in the 'install' target. LLVM_INSTALL_TOOLCHAIN_ONLY:BOOL=OFF //Include utility binaries in the 'install' target. LLVM_INSTALL_UTILS:BOOL=OFF //Define suffix of library directory name (32/64) LLVM_LIBDIR_SUFFIX:STRING //Link tools against the libllvm dynamic library LLVM_LINK_LLVM_DYLIB:BOOL=OFF //Default options for lit LLVM_LIT_ARGS:STRING=-sv //Force TableGen to be built with optimization LLVM_OPTIMIZED_TABLEGEN:BOOL=OFF //Define the maximum number of concurrent compilation jobs. LLVM_PARALLEL_COMPILE_JOBS:STRING=2 //Define the maximum number of concurrent link jobs. LLVM_PARALLEL_LINK_JOBS:STRING=1 //Profiling data file to use when compiling in order to improve // runtime performance. LLVM_PROFDATA_FILE:FILEPATH //Value Computed by CMake LLVM_SOURCE_DIR:STATIC=/home/wearefam/src/llvm-toolchain/llvm //Native TableGen executable. Saves building one when cross-compiling. LLVM_TABLEGEN:STRING=llvm-tblgen //Semicolon-separated list of targets to build, or "all". LLVM_TARGETS_TO_BUILD:STRING=X86 //Set target to use for LLVM JIT or use "host" for automatic detection. LLVM_TARGET_ARCH:STRING=host //Whether to build bugpoint as part of LLVM LLVM_TOOL_BUGPOINT_BUILD:BOOL=ON //Whether to build bugpoint-passes as part of LLVM LLVM_TOOL_BUGPOINT_PASSES_BUILD:BOOL=ON //Whether to build clang as part of LLVM LLVM_TOOL_CLANG_BUILD:BOOL=ON //Whether to build clang-tools-extra as part of LLVM LLVM_TOOL_CLANG_TOOLS_EXTRA_BUILD:BOOL=OFF //Whether to build compiler-rt as part of LLVM LLVM_TOOL_COMPILER_RT_BUILD:BOOL=ON //Whether to build dragonegg as part of LLVM LLVM_TOOL_DRAGONEGG_BUILD:BOOL=OFF //Whether to build dsymutil as part of LLVM LLVM_TOOL_DSYMUTIL_BUILD:BOOL=ON //Whether to build gold as part of LLVM LLVM_TOOL_GOLD_BUILD:BOOL=ON //Whether to build libcxxabi as part of LLVM LLVM_TOOL_LIBCXXABI_BUILD:BOOL=OFF //Whether to build libcxx as part of LLVM LLVM_TOOL_LIBCXX_BUILD:BOOL=OFF //Whether to build libunwind as part of LLVM LLVM_TOOL_LIBUNWIND_BUILD:BOOL=OFF //Whether to build llc as part of LLVM LLVM_TOOL_LLC_BUILD:BOOL=ON //Whether to build lldb as part of LLVM LLVM_TOOL_LLDB_BUILD:BOOL=OFF //Whether to build lld as part of LLVM LLVM_TOOL_LLD_BUILD:BOOL=OFF //Whether to build llgo as part of LLVM LLVM_TOOL_LLGO_BUILD:BOOL=OFF //Whether to build lli as part of LLVM LLVM_TOOL_LLI_BUILD:BOOL=ON //Whether to build llvm-ar as part of LLVM LLVM_TOOL_LLVM_AR_BUILD:BOOL=ON //Whether to build llvm-as as part of LLVM LLVM_TOOL_LLVM_AS_BUILD:BOOL=ON //Whether to build llvm-as-fuzzer as part of LLVM LLVM_TOOL_LLVM_AS_FUZZER_BUILD:BOOL=ON //Whether to build llvm-bcanalyzer as part of LLVM LLVM_TOOL_LLVM_BCANALYZER_BUILD:BOOL=ON //Whether to build llvm-config as part of LLVM LLVM_TOOL_LLVM_CONFIG_BUILD:BOOL=ON //Whether to build llvm-cov as part of LLVM LLVM_TOOL_LLVM_COV_BUILD:BOOL=ON //Whether to build llvm-cxxdump as part of LLVM LLVM_TOOL_LLVM_CXXDUMP_BUILD:BOOL=ON //Whether to build llvm-c-test as part of LLVM LLVM_TOOL_LLVM_C_TEST_BUILD:BOOL=ON //Whether to build llvm-diff as part of LLVM LLVM_TOOL_LLVM_DIFF_BUILD:BOOL=ON //Whether to build llvm-dis as part of LLVM LLVM_TOOL_LLVM_DIS_BUILD:BOOL=ON //Whether to build llvm-dwarfdump as part of LLVM LLVM_TOOL_LLVM_DWARFDUMP_BUILD:BOOL=ON //Whether to build llvm-dwp as part of LLVM LLVM_TOOL_LLVM_DWP_BUILD:BOOL=ON //Whether to build llvm-extract as part of LLVM LLVM_TOOL_LLVM_EXTRACT_BUILD:BOOL=ON //Whether to build llvm-go as part of LLVM LLVM_TOOL_LLVM_GO_BUILD:BOOL=ON //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-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-nm as part of LLVM LLVM_TOOL_LLVM_NM_BUILD:BOOL=ON //Whether to build llvm-objdump as part of LLVM LLVM_TOOL_LLVM_OBJDUMP_BUILD:BOOL=ON //Whether to build llvm-pdbdump as part of LLVM LLVM_TOOL_LLVM_PDBDUMP_BUILD:BOOL=ON //Whether to build llvm-profdata as part of LLVM LLVM_TOOL_LLVM_PROFDATA_BUILD:BOOL=ON //Whether to build llvm-readobj as part of LLVM LLVM_TOOL_LLVM_READOBJ_BUILD:BOOL=ON //Whether to build llvm-rtdyld as part of LLVM LLVM_TOOL_LLVM_RTDYLD_BUILD:BOOL=ON //Whether to build LLVM_SHLIB as part of LLVM LLVM_TOOL_LLVM_SHLIB_BUILD:BOOL=ON //Whether to build llvm-size as part of LLVM LLVM_TOOL_LLVM_SIZE_BUILD:BOOL=ON //Whether to build llvm-split as part of LLVM LLVM_TOOL_LLVM_SPLIT_BUILD:BOOL=ON //Whether to build llvm-stress as part of LLVM LLVM_TOOL_LLVM_STRESS_BUILD:BOOL=ON //Whether to build llvm-symbolizer as part of LLVM LLVM_TOOL_LLVM_SYMBOLIZER_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 sancov as part of LLVM LLVM_TOOL_SANCOV_BUILD:BOOL=ON //Whether to build verify-uselistorder as part of LLVM LLVM_TOOL_VERIFY_USELISTORDER_BUILD:BOOL=ON //Whether to build xcode-toolchain as part of LLVM LLVM_TOOL_XCODE_TOOLCHAIN_BUILD:BOOL=ON //Whether to build yaml2obj as part of LLVM LLVM_TOOL_YAML2OBJ_BUILD:BOOL=ON //Enable solution folders in Visual Studio. Disable for Express // versions. LLVM_USE_FOLDERS:BOOL=ON //Use Intel JIT API to inform Intel(R) VTune(TM) Amplifier XE 2011 // about JIT code LLVM_USE_INTEL_JITEVENTS:BOOL=OFF //Use opagent JIT interface to inform OProfile about JIT code LLVM_USE_OPROFILE:BOOL=OFF //Define the sanitizer used to build binaries and tests. LLVM_USE_SANITIZER:STRING //Use -gsplit-dwarf when compiling llvm. LLVM_USE_SPLIT_DWARF:BOOL=OFF //Dependencies for target LLVMipo_LIB_DEPENDS:STATIC //Dependencies for the target 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; //Path to a program. OCAMLFIND:FILEPATH=OCAMLFIND-NOTFOUND //pkg-config executable PKG_CONFIG_EXECUTABLE:FILEPATH=/usr/bin/pkg-config //Path to a library. PTHREAD_LIBRARY_PATH:FILEPATH=/usr/lib/x86_64-linux-gnu/libpthread.so //Path to a program. PYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2.7 //Dependencies for target PrintFunctionNames_LIB_DEPENDS:STATIC //Dependencies for target RTAsanTest.x86_64-inline_LIB_DEPENDS:STATIC //Dependencies for target RTAsanTest.x86_64-with-calls_LIB_DEPENDS:STATIC //Dependencies for target RTSanitizerCommon.test.nolibc.x86_64_LIB_DEPENDS:STATIC //Dependencies for target RTSanitizerCommon.test.x86_64_LIB_DEPENDS:STATIC //Dependencies for target SampleAnalyzerPlugin_LIB_DEPENDS:STATIC //Plist name TOOL_INFO_PLIST:STRING=Info.plist //Build LLVM with Polly WITH_POLLY:BOOL=ON //Dependencies for target clangARCMigrate_LIB_DEPENDS:STATIC //Dependencies for target clangASTMatchers_LIB_DEPENDS:STATIC //Dependencies for target clangAST_LIB_DEPENDS:STATIC //Dependencies for target clangAnalysis_LIB_DEPENDS:STATIC //Dependencies for target clangBasic_LIB_DEPENDS:STATIC //Dependencies for target clangCodeGen_LIB_DEPENDS:STATIC //Dependencies for target clangDriver_LIB_DEPENDS:STATIC //Dependencies for target clangDynamicASTMatchers_LIB_DEPENDS:STATIC //Dependencies for target clangEdit_LIB_DEPENDS:STATIC //Dependencies for target clangFormat_LIB_DEPENDS:STATIC //Dependencies for target clangFrontendTool_LIB_DEPENDS:STATIC //Dependencies for target clangFrontend_LIB_DEPENDS:STATIC //Dependencies for target clangIndex_LIB_DEPENDS:STATIC //Dependencies for target clangLex_LIB_DEPENDS:STATIC //Dependencies for target clangParse_LIB_DEPENDS:STATIC //Dependencies for target clangRewriteFrontend_LIB_DEPENDS:STATIC //Dependencies for target clangRewrite_LIB_DEPENDS:STATIC //Dependencies for target clangSema_LIB_DEPENDS:STATIC //Dependencies for target clangSerialization_LIB_DEPENDS:STATIC //Dependencies for target clangStaticAnalyzerCheckers_LIB_DEPENDS:STATIC //Dependencies for target clangStaticAnalyzerCore_LIB_DEPENDS:STATIC //Dependencies for target clangStaticAnalyzerFrontend_LIB_DEPENDS:STATIC //Dependencies for target clangToolingCore_LIB_DEPENDS:STATIC //Dependencies for target clangTooling_LIB_DEPENDS:STATIC //Dependencies for the target clang_rt.asan-dynamic-x86_64_LIB_DEPENDS:STATIC=general;c;general;dl;general;rt;general;m;general;pthread;general;stdc++; //Dependencies for target clang_rt.asan-preinit-x86_64_LIB_DEPENDS:STATIC //Dependencies for target clang_rt.asan-x86_64_LIB_DEPENDS:STATIC //Dependencies for target clang_rt.asan_cxx-x86_64_LIB_DEPENDS:STATIC //Dependencies for target clang_rt.builtins-x86_64_LIB_DEPENDS:STATIC //Dependencies for target clang_rt.cfi-x86_64_LIB_DEPENDS:STATIC //Dependencies for target clang_rt.cfi_diag-x86_64_LIB_DEPENDS:STATIC //Dependencies for target clang_rt.dd-x86_64_LIB_DEPENDS:STATIC //Dependencies for target clang_rt.dfsan-x86_64_LIB_DEPENDS:STATIC //Dependencies for the target clang_rt.dyndd-dynamic-x86_64_LIB_DEPENDS:STATIC=general;dl;general;rt;general;pthread; //Dependencies for target clang_rt.lsan-x86_64_LIB_DEPENDS:STATIC //Dependencies for target clang_rt.msan-x86_64_LIB_DEPENDS:STATIC //Dependencies for target clang_rt.msan_cxx-x86_64_LIB_DEPENDS:STATIC //Dependencies for target clang_rt.profile-x86_64_LIB_DEPENDS:STATIC //Dependencies for target clang_rt.safestack-x86_64_LIB_DEPENDS:STATIC //Dependencies for target clang_rt.tsan-x86_64_LIB_DEPENDS:STATIC //Dependencies for target clang_rt.tsan_cxx-x86_64_LIB_DEPENDS:STATIC //Dependencies for target clang_rt.ubsan_standalone-x86_64_LIB_DEPENDS:STATIC //Dependencies for target clang_rt.ubsan_standalone_cxx-x86_64_LIB_DEPENDS:STATIC //Dependencies for target gtest_LIB_DEPENDS:STATIC //Dependencies for target gtest_main_LIB_DEPENDS:STATIC //Dependencies for the target libclang_LIB_DEPENDS:STATIC=general;clangAST;general;clangBasic;general;clangFrontend;general;clangIndex;general;clangLex;general;clangSema;general;clangTooling;general;clangARCMigrate;general;dl;general;LLVMX86CodeGen;general;LLVMX86AsmPrinter;general;LLVMX86AsmParser;general;LLVMX86Desc;general;LLVMX86Info;general;LLVMX86Disassembler;general;LLVMCore;general;LLVMSupport; ######################## # INTERNAL cache entries ######################## //Result of TRY_COMPILE CAN_TARGET_i386:INTERNAL=FALSE //Result of TRY_COMPILE CAN_TARGET_x86_64:INTERNAL=TRUE //ADVANCED property for variable: CLANG_EXECUTABLE_VERSION CLANG_EXECUTABLE_VERSION-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CLANG_TOOL_ARCMT_TEST_BUILD CLANG_TOOL_ARCMT_TEST_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CLANG_TOOL_CLANG_CHECK_BUILD CLANG_TOOL_CLANG_CHECK_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CLANG_TOOL_CLANG_FORMAT_BUILD CLANG_TOOL_CLANG_FORMAT_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CLANG_TOOL_CLANG_FORMAT_VS_BUILD CLANG_TOOL_CLANG_FORMAT_VS_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CLANG_TOOL_CLANG_FUZZER_BUILD CLANG_TOOL_CLANG_FUZZER_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CLANG_TOOL_C_ARCMT_TEST_BUILD CLANG_TOOL_C_ARCMT_TEST_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CLANG_TOOL_C_INDEX_TEST_BUILD CLANG_TOOL_C_INDEX_TEST_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CLANG_TOOL_DIAGTOOL_BUILD CLANG_TOOL_DIAGTOOL_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CLANG_TOOL_DRIVER_BUILD CLANG_TOOL_DRIVER_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CLANG_TOOL_LIBCLANG_BUILD CLANG_TOOL_LIBCLANG_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CLANG_TOOL_SCAN_BUILD_BUILD CLANG_TOOL_SCAN_BUILD_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CLANG_TOOL_SCAN_VIEW_BUILD CLANG_TOOL_SCAN_VIEW_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_AR CMAKE_AR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_ASM_COMPILER CMAKE_ASM_COMPILER-ADVANCED:INTERNAL=1 CMAKE_ASM_COMPILER_WORKS:INTERNAL=1 //ADVANCED property for variable: CMAKE_ASM_FLAGS CMAKE_ASM_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_ASM_FLAGS_DEBUG CMAKE_ASM_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_ASM_FLAGS_MINSIZEREL CMAKE_ASM_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_ASM_FLAGS_RELEASE CMAKE_ASM_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_ASM_FLAGS_RELWITHDEBINFO CMAKE_ASM_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //This is the directory where this CMakeCache.txt was created CMAKE_CACHEFILE_DIR:INTERNAL=/home/wearefam/src/llvm-toolchain/llvm-build //Major version of cmake used to create the current loaded cache CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 //Minor version of cmake used to create the current loaded cache CMAKE_CACHE_MINOR_VERSION:INTERNAL=4 //Patch version of cmake used to create the current loaded cache CMAKE_CACHE_PATCH_VERSION:INTERNAL=3 //Path to CMake executable. CMAKE_COMMAND:INTERNAL=/opt/cmake-3.4.3-ninja-1.6.0/bin/cmake //Path to cpack program executable. CMAKE_CPACK_COMMAND:INTERNAL=/opt/cmake-3.4.3-ninja-1.6.0/bin/cpack //Path to ctest program executable. CMAKE_CTEST_COMMAND:INTERNAL=/opt/cmake-3.4.3-ninja-1.6.0/bin/ctest //ADVANCED property for variable: CMAKE_CXX_COMPILER CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_COMPILER CMAKE_C_COMPILER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS CMAKE_C_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //Executable file format CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1 //Name of external makefile project generator. CMAKE_EXTRA_GENERATOR:INTERNAL//Name of generator. CMAKE_GENERATOR:INTERNAL=Ninja //Name of generator platform. CMAKE_GENERATOR_PLATFORM:INTERNAL//Name of generator toolset. CMAKE_GENERATOR_TOOLSET:INTERNAL//Source directory with the top level CMakeLists.txt file for this // project CMAKE_HOME_DIRECTORY:INTERNAL=/home/wearefam/src/llvm-toolchain/llvm //ADVANCED property for variable: CMAKE_INSTALL_BINDIR CMAKE_INSTALL_BINDIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_INSTALL_DATADIR CMAKE_INSTALL_DATADIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_INSTALL_DATAROOTDIR CMAKE_INSTALL_DATAROOTDIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_INSTALL_DOCDIR CMAKE_INSTALL_DOCDIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_INCLUDEDIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_INSTALL_INFODIR CMAKE_INSTALL_INFODIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBDIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_LIBEXECDIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_INSTALL_LOCALEDIR CMAKE_INSTALL_LOCALEDIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_INSTALL_LOCALSTATEDIR CMAKE_INSTALL_LOCALSTATEDIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_INSTALL_MANDIR CMAKE_INSTALL_MANDIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_OLDINCLUDEDIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_INSTALL_SBINDIR CMAKE_INSTALL_SBINDIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_INSTALL_SHAREDSTATEDIR CMAKE_INSTALL_SHAREDSTATEDIR-ADVANCED:INTERNAL=1 //Install .so files without execute permission. CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1 //ADVANCED property for variable: CMAKE_INSTALL_SYSCONFDIR CMAKE_INSTALL_SYSCONFDIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_LINKER CMAKE_LINKER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MAKE_PROGRAM CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_NM CMAKE_NM-ADVANCED:INTERNAL=1 //number of local generators CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=263 //ADVANCED property for variable: CMAKE_OBJCOPY CMAKE_OBJCOPY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_OBJDUMP CMAKE_OBJDUMP-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RANLIB CMAKE_RANLIB-ADVANCED:INTERNAL=1 //Path to CMake installation. CMAKE_ROOT:INTERNAL=/opt/cmake-3.4.3-ninja-1.6.0/share/cmake-3.4 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SKIP_RPATH CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STRIP CMAKE_STRIP-ADVANCED:INTERNAL=1 //uname command CMAKE_UNAME:INTERNAL=/bin/uname //ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: COMPILER_RT_BUILD_BUILTINS COMPILER_RT_BUILD_BUILTINS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: COMPILER_RT_BUILD_SANITIZERS COMPILER_RT_BUILD_SANITIZERS-ADVANCED:INTERNAL=1 //Test COMPILER_RT_HAS_FFREESTANDING_FLAG COMPILER_RT_HAS_FFREESTANDING_FLAG:INTERNAL//Test COMPILER_RT_HAS_FNO_BUILTIN_FLAG COMPILER_RT_HAS_FNO_BUILTIN_FLAG:INTERNAL=1 //Test COMPILER_RT_HAS_FNO_EXCEPTIONS_FLAG COMPILER_RT_HAS_FNO_EXCEPTIONS_FLAG:INTERNAL=1 //Test COMPILER_RT_HAS_FNO_FUNCTION_SECTIONS_FLAG COMPILER_RT_HAS_FNO_FUNCTION_SECTIONS_FLAG:INTERNAL=1 //Test COMPILER_RT_HAS_FNO_LTO_FLAG COMPILER_RT_HAS_FNO_LTO_FLAG:INTERNAL=1 //Test COMPILER_RT_HAS_FNO_RTTI_FLAG COMPILER_RT_HAS_FNO_RTTI_FLAG:INTERNAL=1 //Test COMPILER_RT_HAS_FNO_SANITIZE_SAFE_STACK_FLAG COMPILER_RT_HAS_FNO_SANITIZE_SAFE_STACK_FLAG:INTERNAL=1 //Test COMPILER_RT_HAS_FNO_STACK_PROTECTOR_FLAG COMPILER_RT_HAS_FNO_STACK_PROTECTOR_FLAG:INTERNAL=1 //Test COMPILER_RT_HAS_FOMIT_FRAME_POINTER_FLAG COMPILER_RT_HAS_FOMIT_FRAME_POINTER_FLAG:INTERNAL=1 //Test COMPILER_RT_HAS_FPIC_FLAG COMPILER_RT_HAS_FPIC_FLAG:INTERNAL=1 //Test COMPILER_RT_HAS_FPIE_FLAG COMPILER_RT_HAS_FPIE_FLAG:INTERNAL=1 //Test COMPILER_RT_HAS_FTLS_MODEL_INITIAL_EXEC COMPILER_RT_HAS_FTLS_MODEL_INITIAL_EXEC:INTERNAL=1 //Have symbol __func__ COMPILER_RT_HAS_FUNC_SYMBOL:INTERNAL=1 //Test COMPILER_RT_HAS_FUNWIND_TABLES_FLAG COMPILER_RT_HAS_FUNWIND_TABLES_FLAG:INTERNAL=1 //Test COMPILER_RT_HAS_FVISIBILITY_HIDDEN_FLAG COMPILER_RT_HAS_FVISIBILITY_HIDDEN_FLAG:INTERNAL=1 //Test COMPILER_RT_HAS_FVISIBILITY_INLINES_HIDDEN_FLAG COMPILER_RT_HAS_FVISIBILITY_INLINES_HIDDEN_FLAG:INTERNAL=1 //Test COMPILER_RT_HAS_GLINE_TABLES_ONLY_FLAG COMPILER_RT_HAS_GLINE_TABLES_ONLY_FLAG:INTERNAL=1 //Test COMPILER_RT_HAS_GR_FLAG COMPILER_RT_HAS_GR_FLAG:INTERNAL//Test COMPILER_RT_HAS_GS_FLAG COMPILER_RT_HAS_GS_FLAG:INTERNAL//Test COMPILER_RT_HAS_G_FLAG COMPILER_RT_HAS_G_FLAG:INTERNAL=1 //Have library c COMPILER_RT_HAS_LIBC:INTERNAL=1 //Have library dl COMPILER_RT_HAS_LIBDL:INTERNAL=1 //Have library m COMPILER_RT_HAS_LIBM:INTERNAL=1 //Have library pthread COMPILER_RT_HAS_LIBPTHREAD:INTERNAL=1 //Have library rt COMPILER_RT_HAS_LIBRT:INTERNAL=1 //Have library stdc++ COMPILER_RT_HAS_LIBSTDCXX:INTERNAL=1 //Test COMPILER_RT_HAS_MSSE3_FLAG COMPILER_RT_HAS_MSSE3_FLAG:INTERNAL=1 //Test COMPILER_RT_HAS_MT_FLAG COMPILER_RT_HAS_MT_FLAG:INTERNAL//Test COMPILER_RT_HAS_Oy_FLAG COMPILER_RT_HAS_Oy_FLAG:INTERNAL//Test COMPILER_RT_HAS_STD_C99_FLAG COMPILER_RT_HAS_STD_C99_FLAG:INTERNAL//Test COMPILER_RT_HAS_STD_CXX11_FLAG COMPILER_RT_HAS_STD_CXX11_FLAG:INTERNAL=1 //Test COMPILER_RT_HAS_SYSROOT_FLAG COMPILER_RT_HAS_SYSROOT_FLAG:INTERNAL=1 //Test COMPILER_RT_HAS_W3_FLAG COMPILER_RT_HAS_W3_FLAG:INTERNAL//Test COMPILER_RT_HAS_WALL_FLAG COMPILER_RT_HAS_WALL_FLAG:INTERNAL=1 //Test COMPILER_RT_HAS_WC99_EXTENSIONS_FLAG COMPILER_RT_HAS_WC99_EXTENSIONS_FLAG:INTERNAL=1 //Test COMPILER_RT_HAS_WD4146_FLAG COMPILER_RT_HAS_WD4146_FLAG:INTERNAL//Test COMPILER_RT_HAS_WD4291_FLAG COMPILER_RT_HAS_WD4291_FLAG:INTERNAL//Test COMPILER_RT_HAS_WD4391_FLAG COMPILER_RT_HAS_WD4391_FLAG:INTERNAL//Test COMPILER_RT_HAS_WD4722_FLAG COMPILER_RT_HAS_WD4722_FLAG:INTERNAL//Test COMPILER_RT_HAS_WD4800_FLAG COMPILER_RT_HAS_WD4800_FLAG:INTERNAL//Test COMPILER_RT_HAS_WERROR_FLAG COMPILER_RT_HAS_WERROR_FLAG:INTERNAL=1 //Test COMPILER_RT_HAS_WFRAME_LARGER_THAN_FLAG COMPILER_RT_HAS_WFRAME_LARGER_THAN_FLAG:INTERNAL=1 //Test COMPILER_RT_HAS_WGLOBAL_CONSTRUCTORS_FLAG COMPILER_RT_HAS_WGLOBAL_CONSTRUCTORS_FLAG:INTERNAL=1 //Test COMPILER_RT_HAS_WGNU_FLAG COMPILER_RT_HAS_WGNU_FLAG:INTERNAL=1 //Test COMPILER_RT_HAS_WNON_VIRTUAL_DTOR_FLAG COMPILER_RT_HAS_WNON_VIRTUAL_DTOR_FLAG:INTERNAL=1 //Test COMPILER_RT_HAS_WVARIADIC_MACROS_FLAG COMPILER_RT_HAS_WVARIADIC_MACROS_FLAG:INTERNAL=1 //Test COMPILER_RT_HAS_WX_FLAG COMPILER_RT_HAS_WX_FLAG:INTERNAL//Test COMPILER_RT_HAS_Zi_FLAG COMPILER_RT_HAS_Zi_FLAG:INTERNAL//Test COMPILER_RT_TARGET_HAS_ATOMICS COMPILER_RT_TARGET_HAS_ATOMICS:INTERNAL=1 //ADVANCED property for variable: CPACK_BINARY_DEB CPACK_BINARY_DEB-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CPACK_BINARY_IFW CPACK_BINARY_IFW-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CPACK_BINARY_NSIS CPACK_BINARY_NSIS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CPACK_BINARY_RPM CPACK_BINARY_RPM-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CPACK_BINARY_STGZ CPACK_BINARY_STGZ-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CPACK_BINARY_TBZ2 CPACK_BINARY_TBZ2-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CPACK_BINARY_TGZ CPACK_BINARY_TGZ-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CPACK_BINARY_TXZ CPACK_BINARY_TXZ-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CPACK_BINARY_TZ CPACK_BINARY_TZ-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CPACK_SOURCE_TBZ2 CPACK_SOURCE_TBZ2-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CPACK_SOURCE_TGZ CPACK_SOURCE_TGZ-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CPACK_SOURCE_TXZ CPACK_SOURCE_TXZ-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CPACK_SOURCE_TZ CPACK_SOURCE_TZ-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CPACK_SOURCE_ZIP CPACK_SOURCE_ZIP-ADVANCED:INTERNAL=1 //Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG:INTERNAL=1 //Test CXX_SUPPORTS_CXX11 CXX_SUPPORTS_CXX11:INTERNAL=1 //Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG:INTERNAL=1 //Test CXX_SUPPORTS_FDATA_SECTIONS CXX_SUPPORTS_FDATA_SECTIONS:INTERNAL=1 //Test CXX_SUPPORTS_FFUNCTION_SECTIONS CXX_SUPPORTS_FFUNCTION_SECTIONS:INTERNAL=1 //Test CXX_SUPPORTS_FPIC CXX_SUPPORTS_FPIC:INTERNAL=1 //Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG:INTERNAL=1 //Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG:INTERNAL=1 //Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR:INTERNAL=1 //Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG:INTERNAL=1 //Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG:INTERNAL=1 //Test C_SUPPORTS_FDATA_SECTIONS C_SUPPORTS_FDATA_SECTIONS:INTERNAL=1 //Test C_SUPPORTS_FFUNCTION_SECTIONS C_SUPPORTS_FFUNCTION_SECTIONS:INTERNAL=1 //Test C_SUPPORTS_FNO_FUNCTION_SECTIONS C_SUPPORTS_FNO_FUNCTION_SECTIONS:INTERNAL=1 //Test C_SUPPORTS_FPIC C_SUPPORTS_FPIC:INTERNAL=1 //Test C_WCOMMENT_ALLOWS_LINE_WRAP C_WCOMMENT_ALLOWS_LINE_WRAP:INTERNAL=1 //Details about finding PythonInterp FIND_PACKAGE_MESSAGE_DETAILS_PythonInterp:INTERNAL=[/usr/bin/python2.7][v2.7.3()] //Have symbol __i386__ HAS_i386_DEF:INTERNAL=1 //Have symbol __i686__ HAS_i686_DEF:INTERNAL//Have symbol backtrace HAVE_BACKTRACE:INTERNAL=1 //Have symbol closedir HAVE_CLOSEDIR:INTERNAL=1 //Test HAVE_CXXABI_H HAVE_CXXABI_H:INTERNAL=1 //Test HAVE_CXX_ATOMICS_WITHOUT_LIB HAVE_CXX_ATOMICS_WITHOUT_LIB:INTERNAL=1 //Have symbol arc4random HAVE_DECL_ARC4RANDOM:INTERNAL//Have symbol FE_ALL_EXCEPT HAVE_DECL_FE_ALL_EXCEPT:INTERNAL=1 //Have symbol FE_INEXACT HAVE_DECL_FE_INEXACT:INTERNAL=1 //Have symbol strerror_s HAVE_DECL_STRERROR_S:INTERNAL//Have include dirent.h HAVE_DIRENT_H:INTERNAL=1 //Have symbol dlerror HAVE_DLERROR:INTERNAL=1 //Have include dlfcn.h HAVE_DLFCN_H:INTERNAL=1 //Have symbol dlopen HAVE_DLOPEN:INTERNAL=1 //Have include errno.h HAVE_ERRNO_H:INTERNAL=1 //Have include execinfo.h HAVE_EXECINFO_H:INTERNAL=1 //Have include fcntl.h HAVE_FCNTL_H:INTERNAL=1 //Have include fenv.h HAVE_FENV_H:INTERNAL=1 //Have symbol futimens HAVE_FUTIMENS:INTERNAL=1 //Have symbol futimes HAVE_FUTIMES:INTERNAL=1 //Have symbol getcwd HAVE_GETCWD:INTERNAL=1 //Have symbol getpagesize HAVE_GETPAGESIZE:INTERNAL=1 //Have symbol getrlimit HAVE_GETRLIMIT:INTERNAL=1 //Have symbol getrusage HAVE_GETRUSAGE:INTERNAL=1 //Have symbol gettimeofday HAVE_GETTIMEOFDAY:INTERNAL=1 //Have include histedit.h HAVE_HISTEDIT_H:INTERNAL=1 //Test HAVE_INT64_T HAVE_INT64_T:INTERNAL=1 //Have include inttypes.h HAVE_INTTYPES_H:INTERNAL=1 //Have symbol isatty HAVE_ISATTY:INTERNAL=1 //Have library dl HAVE_LIBDL:INTERNAL=1 //Have library edit HAVE_LIBEDIT:INTERNAL=1 //Have library pthread HAVE_LIBPTHREAD:INTERNAL=1 //Have library rt HAVE_LIBRT:INTERNAL=1 //Have library z HAVE_LIBZ:INTERNAL=1 //Have include limits.h HAVE_LIMITS_H:INTERNAL=1 //Have include link.h HAVE_LINK_H:INTERNAL=1 //Have include mach/mach.h HAVE_MACH_MACH_H:INTERNAL//Have include mach-o/dyld.h HAVE_MACH_O_DYLD_H:INTERNAL//Have symbol mallctl HAVE_MALLCTL:INTERNAL//Have symbol mallinfo HAVE_MALLINFO:INTERNAL=1 //Have include malloc.h HAVE_MALLOC_H:INTERNAL=1 //Have include malloc/malloc.h HAVE_MALLOC_MALLOC_H:INTERNAL//Have symbol malloc_zone_statistics HAVE_MALLOC_ZONE_STATISTICS:INTERNAL//Have symbol mkdtemp HAVE_MKDTEMP:INTERNAL=1 //Have symbol mkstemp HAVE_MKSTEMP:INTERNAL=1 //Have symbol mktemp HAVE_MKTEMP:INTERNAL=1 //Have include ndir.h HAVE_NDIR_H:INTERNAL//Have symbol opendir HAVE_OPENDIR:INTERNAL=1 //Have symbol posix_spawn HAVE_POSIX_SPAWN:INTERNAL=1 //Have symbol pread HAVE_PREAD:INTERNAL=1 //Have library pthread HAVE_PTHREAD_GETSPECIFIC:INTERNAL=1 //Have include pthread.h HAVE_PTHREAD_H:INTERNAL=1 //Have library pthread HAVE_PTHREAD_MUTEX_LOCK:INTERNAL=1 //Have library pthread HAVE_PTHREAD_RWLOCK_INIT:INTERNAL=1 //are srand48/lrand48/drand48 available? HAVE_RAND48:INTERNAL=1 //Have symbol drand48 HAVE_RAND48_DRAND48:INTERNAL=1 //Have symbol lrand48 HAVE_RAND48_LRAND48:INTERNAL=1 //Have symbol srand48 HAVE_RAND48_SRAND48:INTERNAL=1 //Have symbol readdir HAVE_READDIR:INTERNAL=1 //Have symbol realpath HAVE_REALPATH:INTERNAL=1 //Have include rpc/xdr.h HAVE_RPC_XDR_H:INTERNAL=1 //Have symbol sbrk HAVE_SBRK:INTERNAL=1 //Have symbol setenv HAVE_SETENV:INTERNAL=1 //Have symbol setrlimit HAVE_SETRLIMIT:INTERNAL=1 //Have include signal.h HAVE_SIGNAL_H:INTERNAL=1 //Have include stdint.h HAVE_STDINT_H:INTERNAL=1 //Have symbol strerror HAVE_STRERROR:INTERNAL=1 //Have symbol strerror_r HAVE_STRERROR_R:INTERNAL=1 //Have symbol strtoll HAVE_STRTOLL:INTERNAL=1 //Have symbol strtoq HAVE_STRTOQ:INTERNAL=1 //Have include sys/dir.h HAVE_SYS_DIR_H:INTERNAL=1 //Have include sys/ioctl.h HAVE_SYS_IOCTL_H:INTERNAL=1 //Have include sys/mman.h HAVE_SYS_MMAN_H:INTERNAL=1 //Have include sys/ndir.h HAVE_SYS_NDIR_H:INTERNAL//Have include sys/param.h HAVE_SYS_PARAM_H:INTERNAL=1 //Have include sys/resource.h HAVE_SYS_RESOURCE_H:INTERNAL=1 //Have include sys/stat.h HAVE_SYS_STAT_H:INTERNAL=1 //Have include sys/time.h HAVE_SYS_TIME_H:INTERNAL=1 //Have include sys/uio.h HAVE_SYS_UIO_H:INTERNAL=1 //Have library tinfo HAVE_TERMINFO_TINFO:INTERNAL=1 //Have include termios.h HAVE_TERMIOS_H:INTERNAL=1 //Have include tirpc/rpc/xdr.h HAVE_TIRPC_RPC_XDR_H:INTERNAL//Test HAVE_UINT64_T HAVE_UINT64_T:INTERNAL=1 //Have include unistd.h HAVE_UNISTD_H:INTERNAL=1 //Have include unwind.h HAVE_UNWIND_H:INTERNAL=1 //Have include utime.h HAVE_UTIME_H:INTERNAL=1 //Test HAVE_U_INT64_T HAVE_U_INT64_T:INTERNAL=1 //Have include valgrind/valgrind.h HAVE_VALGRIND_VALGRIND_H:INTERNAL=1 //Have symbol writev HAVE_WRITEV:INTERNAL=1 //Have include zlib.h HAVE_ZLIB_H:INTERNAL=1 //ADVANCED property for variable: LIBCLANG_LIBRARY_VERSION LIBCLANG_LIBRARY_VERSION-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LIBXML2_INCLUDE_DIR LIBXML2_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LIBXML2_LIBRARIES LIBXML2_LIBRARIES-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LIBXML2_XMLLINT_EXECUTABLE LIBXML2_XMLLINT_EXECUTABLE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_BUILD_INSTRUMENTED LLVM_BUILD_INSTRUMENTED-ADVANCED:INTERNAL=1 LLVM_CONFIG_HAS_RTTI:INTERNAL=NO //Test LLVM_HAS_ATOMICS LLVM_HAS_ATOMICS:INTERNAL=1 //Test LLVM_NO_OLD_LIBSTDCXX LLVM_NO_OLD_LIBSTDCXX:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_BUGPOINT_BUILD LLVM_TOOL_BUGPOINT_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_BUGPOINT_PASSES_BUILD LLVM_TOOL_BUGPOINT_PASSES_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_CLANG_BUILD LLVM_TOOL_CLANG_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_DSYMUTIL_BUILD LLVM_TOOL_DSYMUTIL_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_GOLD_BUILD LLVM_TOOL_GOLD_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLC_BUILD LLVM_TOOL_LLC_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLI_BUILD LLVM_TOOL_LLI_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_AR_BUILD LLVM_TOOL_LLVM_AR_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_AS_BUILD LLVM_TOOL_LLVM_AS_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_AS_FUZZER_BUILD LLVM_TOOL_LLVM_AS_FUZZER_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_BCANALYZER_BUILD LLVM_TOOL_LLVM_BCANALYZER_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_CONFIG_BUILD LLVM_TOOL_LLVM_CONFIG_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_COV_BUILD LLVM_TOOL_LLVM_COV_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_CXXDUMP_BUILD LLVM_TOOL_LLVM_CXXDUMP_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_C_TEST_BUILD LLVM_TOOL_LLVM_C_TEST_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_DIFF_BUILD LLVM_TOOL_LLVM_DIFF_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_DIS_BUILD LLVM_TOOL_LLVM_DIS_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_DWARFDUMP_BUILD LLVM_TOOL_LLVM_DWARFDUMP_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_DWP_BUILD LLVM_TOOL_LLVM_DWP_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_EXTRACT_BUILD LLVM_TOOL_LLVM_EXTRACT_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_GO_BUILD LLVM_TOOL_LLVM_GO_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_JITLISTENER_BUILD LLVM_TOOL_LLVM_JITLISTENER_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_LINK_BUILD LLVM_TOOL_LLVM_LINK_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_LTO_BUILD LLVM_TOOL_LLVM_LTO_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_MCMARKUP_BUILD LLVM_TOOL_LLVM_MCMARKUP_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_MC_BUILD LLVM_TOOL_LLVM_MC_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_MC_FUZZER_BUILD LLVM_TOOL_LLVM_MC_FUZZER_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_NM_BUILD LLVM_TOOL_LLVM_NM_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_OBJDUMP_BUILD LLVM_TOOL_LLVM_OBJDUMP_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_PDBDUMP_BUILD LLVM_TOOL_LLVM_PDBDUMP_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_PROFDATA_BUILD LLVM_TOOL_LLVM_PROFDATA_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_READOBJ_BUILD LLVM_TOOL_LLVM_READOBJ_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_RTDYLD_BUILD LLVM_TOOL_LLVM_RTDYLD_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_SHLIB_BUILD LLVM_TOOL_LLVM_SHLIB_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_SIZE_BUILD LLVM_TOOL_LLVM_SIZE_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_SPLIT_BUILD LLVM_TOOL_LLVM_SPLIT_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_STRESS_BUILD LLVM_TOOL_LLVM_STRESS_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LLVM_SYMBOLIZER_BUILD LLVM_TOOL_LLVM_SYMBOLIZER_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_LTO_BUILD LLVM_TOOL_LTO_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_MSBUILD_BUILD LLVM_TOOL_MSBUILD_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_OBJ2YAML_BUILD LLVM_TOOL_OBJ2YAML_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_OPT_BUILD LLVM_TOOL_OPT_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_SANCOV_BUILD LLVM_TOOL_SANCOV_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_VERIFY_USELISTORDER_BUILD LLVM_TOOL_VERIFY_USELISTORDER_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_XCODE_TOOLCHAIN_BUILD LLVM_TOOL_XCODE_TOOLCHAIN_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: LLVM_TOOL_YAML2OBJ_BUILD LLVM_TOOL_YAML2OBJ_BUILD-ADVANCED:INTERNAL=1 //Have symbol __GLIBC__ LLVM_USING_GLIBC:INTERNAL=1 //ADVANCED property for variable: OCAMLFIND OCAMLFIND-ADVANCED:INTERNAL=1 PC_LIBXML_CFLAGS:INTERNALPC_LIBXML_CFLAGS_I:INTERNALPC_LIBXML_CFLAGS_OTHER:INTERNALPC_LIBXML_FOUND:INTERNALPC_LIBXML_INCLUDEDIR:INTERNALPC_LIBXML_LIBDIR:INTERNALPC_LIBXML_LIBS:INTERNALPC_LIBXML_LIBS_L:INTERNALPC_LIBXML_LIBS_OTHER:INTERNALPC_LIBXML_LIBS_PATHS:INTERNALPC_LIBXML_PREFIX:INTERNALPC_LIBXML_STATIC_CFLAGS:INTERNALPC_LIBXML_STATIC_CFLAGS_I:INTERNALPC_LIBXML_STATIC_CFLAGS_OTHER:INTERNALPC_LIBXML_STATIC_LIBDIR:INTERNALPC_LIBXML_STATIC_LIBS:INTERNALPC_LIBXML_STATIC_LIBS_L:INTERNALPC_LIBXML_STATIC_LIBS_OTHER:INTERNALPC_LIBXML_STATIC_LIBS_PATHS:INTERNALPC_LIBXML_VERSION:INTERNALPC_LIBXML_libxml-2.0_INCLUDEDIR:INTERNALPC_LIBXML_libxml-2.0_LIBDIR:INTERNALPC_LIBXML_libxml-2.0_PREFIX:INTERNALPC_LIBXML_libxml-2.0_VERSION:INTERNAL//ADVANCED property for variable: PKG_CONFIG_EXECUTABLE PKG_CONFIG_EXECUTABLE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_EXECUTABLE PYTHON_EXECUTABLE-ADVANCED:INTERNAL=1 //Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG:INTERNAL=1 //Test SUPPORTS_NO_VARIADIC_MACROS_FLAG SUPPORTS_NO_VARIADIC_MACROS_FLAG:INTERNAL=1 //CMAKE_INSTALL_PREFIX during last run _GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX:INTERNAL=/opt/llvm-toolchain-3.8.0 __pkg_config_checked_PC_LIBXML:INTERNAL=1 -------------- next part -------------- A non-text attachment was scrubbed... Name: build_llvm-toolchain_clang-cmake-ninja-gold_v5.sh Type: application/x-sh Size: 5027 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160317/bd6456d5/attachment-0001.sh>
Sedat Dilek via llvm-dev
2016-Mar-18 08:18 UTC
[llvm-dev] Building with LLVM_PARALLEL_XXX_JOBS
On Thu, Mar 17, 2016 at 11:45 AM, Sedat Dilek <sedat.dilek at gmail.com> wrote:> On Thu, Mar 17, 2016 at 10:05 AM, Sedat Dilek <sedat.dilek at gmail.com> wrote: >> 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 $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_HAS_FNO_LTO_FLAG:INTERNAL=1 >> LLVM_TOOL_LLVM_LTO_BUILD-ADVANCED:INTERNAL=1 >> LLVM_TOOL_LTO_BUILD-ADVANCED:INTERNAL=1 >> [ /OUTPUT ] >> >> But is no more documented in >> <http://llvm.org/releases/3.8.0/docs/CMake.html> or >> <http://llvm.org/docs/CMake.html>. >> 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 > > Do you need more input? > > Thanks! >I found in "http://llvmweekly.org/issue/110" [ llvm.src/cmake/modules/HandleLLVMOptions.cmake ] option(LLVM_ENABLE_LTO "Enable link-time optimization" OFF) append_if(LLVM_ENABLE_LTO "-flto" CMAKE_CXX_FLAGS CMAKE_C_FLAGS CMAKE_EXE_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS) Searching for... $ grep LLVM_ENABLE_LTO llvm/cmake/modules/HandleLLVMOptions.cmake [ OUTPUT EMPTY ] ...gives no output. So, LLVM_ENABLE_LTO is not available for LLVM/Clang v3.8.0?! Hmm, maybe I can backport (or git cherry-pick) SVN r259766. - Sedat - [1] http://llvmweekly.org/issue/110 [2] http://reviews.llvm.org/rL259766