1316 lines
40 KiB
Plaintext
1316 lines
40 KiB
Plaintext
-- Cache values
|
|
// Build a 32 bit version of the library - unsupported when using MSVC)
|
|
BENCHMARK_BUILD_32_BITS:BOOL=OFF
|
|
|
|
// Allow the downloading and in-tree building of unmet dependencies
|
|
BENCHMARK_DOWNLOAD_DEPENDENCIES:BOOL=OFF
|
|
|
|
// Enable building and running the assembly tests
|
|
BENCHMARK_ENABLE_ASSEMBLY_TESTS:BOOL=OFF
|
|
|
|
// Build documentation with Doxygen.
|
|
BENCHMARK_ENABLE_DOXYGEN:BOOL=OFF
|
|
|
|
// Enable the use of exceptions in the benchmark library.
|
|
BENCHMARK_ENABLE_EXCEPTIONS:BOOL=OFF
|
|
|
|
// Enable building the unit tests which depend on gtest
|
|
BENCHMARK_ENABLE_GTEST_TESTS:BOOL=OFF
|
|
|
|
// Enable installation of benchmark. (Projects embedding benchmark may want to turn this OFF.)
|
|
BENCHMARK_ENABLE_INSTALL:BOOL=OFF
|
|
|
|
// Enable performance counters provided by libpfm
|
|
BENCHMARK_ENABLE_LIBPFM:BOOL=OFF
|
|
|
|
// Enable link time optimisation of the benchmark library.
|
|
BENCHMARK_ENABLE_LTO:BOOL=OFF
|
|
|
|
// Enable testing of the benchmark library.
|
|
BENCHMARK_ENABLE_TESTING:BOOL=OFF
|
|
|
|
// Build Release candidates with -Werror.
|
|
BENCHMARK_ENABLE_WERROR:BOOL=OFF
|
|
|
|
// Build Release candidates with -Werror regardless of compiler issues.
|
|
BENCHMARK_FORCE_WERROR:BOOL=OFF
|
|
|
|
// Enable installation of documentation.
|
|
BENCHMARK_INSTALL_DOCS:BOOL=ON
|
|
|
|
// Use bundled GoogleTest. If disabled, the find_package(GTest) will be used.
|
|
BENCHMARK_USE_BUNDLED_GTEST:BOOL=ON
|
|
|
|
// Build and test using libc++ as the standard library.
|
|
BENCHMARK_USE_LIBCXX:BOOL=OFF
|
|
|
|
// Default URL where bug reports are to be submitted.
|
|
BUG_REPORT_URL:STRING=https://github.com/llvm/llvm-project/issues/
|
|
|
|
// Build all libraries as shared libraries instead of static
|
|
BUILD_SHARED_LIBS:BOOL=OFF
|
|
|
|
// Header providing backtrace(3) facility
|
|
Backtrace_HEADER:STRING=backtrace.h
|
|
|
|
// Path to a file.
|
|
Backtrace_INCLUDE_DIR:PATH=Backtrace_INCLUDE_DIR-NOTFOUND
|
|
|
|
// Path to a library.
|
|
Backtrace_LIBRARY:FILEPATH=Backtrace_LIBRARY-NOTFOUND
|
|
|
|
// Path to a program.
|
|
CMAKE_AR:FILEPATH=C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/lib.exe
|
|
|
|
// ASM compiler
|
|
CMAKE_ASM_COMPILER:FILEPATH=C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe
|
|
|
|
// Flags used by the ASM compiler during all build types.
|
|
CMAKE_ASM_FLAGS:STRING=
|
|
|
|
// Flags used by the ASM compiler during DEBUG builds.
|
|
CMAKE_ASM_FLAGS_DEBUG:STRING=
|
|
|
|
// Flags used by the ASM compiler during MINSIZEREL builds.
|
|
CMAKE_ASM_FLAGS_MINSIZEREL:STRING=
|
|
|
|
// Flags used by the ASM compiler during RELEASE builds.
|
|
CMAKE_ASM_FLAGS_RELEASE:STRING=
|
|
|
|
// Flags used by the ASM compiler during RELWITHDEBINFO builds.
|
|
CMAKE_ASM_FLAGS_RELWITHDEBINFO:STRING=
|
|
|
|
// ASM_MASM compiler
|
|
CMAKE_ASM_MASM_COMPILER:FILEPATH=C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/ml64.exe
|
|
|
|
// Flags used by the ASM_MASM compiler during all build types.
|
|
CMAKE_ASM_MASM_FLAGS:STRING=
|
|
|
|
// Flags used by the ASM_MASM compiler during DEBUG builds.
|
|
CMAKE_ASM_MASM_FLAGS_DEBUG:STRING=
|
|
|
|
// Flags used by the ASM_MASM compiler during MINSIZEREL builds.
|
|
CMAKE_ASM_MASM_FLAGS_MINSIZEREL:STRING=
|
|
|
|
// Flags used by the ASM_MASM compiler during RELEASE builds.
|
|
CMAKE_ASM_MASM_FLAGS_RELEASE:STRING=
|
|
|
|
// Flags used by the ASM_MASM compiler during RELWITHDEBINFO builds.
|
|
CMAKE_ASM_MASM_FLAGS_RELWITHDEBINFO:STRING=
|
|
|
|
// Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel ...
|
|
CMAKE_BUILD_TYPE:STRING=Debug
|
|
|
|
// CXX compiler
|
|
CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe
|
|
|
|
// Flags used by the CXX compiler during all build types.
|
|
CMAKE_CXX_FLAGS:STRING=/DWIN32 /D_WINDOWS /EHsc
|
|
|
|
// Flags used by the CXX compiler during DEBUG builds.
|
|
CMAKE_CXX_FLAGS_DEBUG:STRING=/Ob0 /Od /RTC1
|
|
|
|
// Flags used by the CXX compiler during MINSIZEREL builds.
|
|
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=/O1 /Ob1 /DNDEBUG
|
|
|
|
// Flags used by the CXX compiler during RELEASE builds.
|
|
CMAKE_CXX_FLAGS_RELEASE:STRING=/O2 /Ob2 /DNDEBUG
|
|
|
|
// Flags used by the CXX compiler during RELWITHDEBINFO builds.
|
|
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/O2 /Ob1 /DNDEBUG
|
|
|
|
// C++ standard to conform to
|
|
CMAKE_CXX_STANDARD:STRING=17
|
|
|
|
// Libraries linked by default with all C++ applications.
|
|
CMAKE_CXX_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib
|
|
|
|
// C compiler
|
|
CMAKE_C_COMPILER:FILEPATH=C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe
|
|
|
|
// Flags used by the C compiler during all build types.
|
|
CMAKE_C_FLAGS:STRING=/DWIN32 /D_WINDOWS
|
|
|
|
// Flags used by the C compiler during DEBUG builds.
|
|
CMAKE_C_FLAGS_DEBUG:STRING=/Ob0 /Od /RTC1
|
|
|
|
// Flags used by the C compiler during MINSIZEREL builds.
|
|
CMAKE_C_FLAGS_MINSIZEREL:STRING=/O1 /Ob1 /DNDEBUG
|
|
|
|
// Flags used by the C compiler during RELEASE builds.
|
|
CMAKE_C_FLAGS_RELEASE:STRING=/O2 /Ob2 /DNDEBUG
|
|
|
|
// Flags used by the C compiler during RELWITHDEBINFO builds.
|
|
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=/O2 /Ob1 /DNDEBUG
|
|
|
|
// Libraries linked by default with all C applications.
|
|
CMAKE_C_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib
|
|
|
|
// Flags used by the linker during all build types.
|
|
CMAKE_EXE_LINKER_FLAGS:STRING=/machine:x64
|
|
|
|
// Flags used by the linker during DEBUG builds.
|
|
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL
|
|
|
|
// Flags used by the linker during MINSIZEREL builds.
|
|
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO
|
|
|
|
// Flags used by the linker during RELEASE builds.
|
|
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO
|
|
|
|
// Flags used by the linker during RELWITHDEBINFO builds.
|
|
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL
|
|
|
|
// Enable/Disable output of build database during the build.
|
|
CMAKE_EXPORT_BUILD_DATABASE:BOOL=
|
|
|
|
// Enable/Disable output of compile commands during generation.
|
|
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=
|
|
|
|
// 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
|
|
|
|
// Directories containing installed CMake modules (lib/cmake)
|
|
CMAKE_INSTALL_PACKAGEDIR:PATH=lib/cmake
|
|
|
|
// Install path prefix, prepended onto install directories.
|
|
CMAKE_INSTALL_PREFIX:PATH=D:/ae/cached_external_library/vs2019_Debug_global/install/llvm
|
|
|
|
// Run-time variable data (LOCALSTATEDIR/run)
|
|
CMAKE_INSTALL_RUNSTATEDIR:PATH=
|
|
|
|
// 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=C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/link.exe
|
|
|
|
// make program
|
|
CMAKE_MAKE_PROGRAM:FILEPATH=C:/PROGRA~2/MICROS~2/2019/ENTERP~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe
|
|
|
|
// Flags used by the linker during the creation of modules during all build types.
|
|
CMAKE_MODULE_LINKER_FLAGS:STRING=/machine:x64
|
|
|
|
// Flags used by the linker during the creation of modules during DEBUG builds.
|
|
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL
|
|
|
|
// Flags used by the linker during the creation of modules during MINSIZEREL builds.
|
|
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO
|
|
|
|
// Flags used by the linker during the creation of modules during RELEASE builds.
|
|
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO
|
|
|
|
// Flags used by the linker during the creation of modules during RELWITHDEBINFO builds.
|
|
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL
|
|
|
|
// Path to a program.
|
|
CMAKE_MT:FILEPATH=C:/Program Files (x86)/Windows Kits/10/bin/10.0.26100.0/x64/mt.exe
|
|
|
|
// RC compiler
|
|
CMAKE_RC_COMPILER:FILEPATH=C:/Program Files (x86)/Windows Kits/10/bin/10.0.26100.0/x64/rc.exe
|
|
|
|
// Flags for Windows Resource Compiler during all build types.
|
|
CMAKE_RC_FLAGS:STRING=-DWIN32
|
|
|
|
// Flags for Windows Resource Compiler during DEBUG builds.
|
|
CMAKE_RC_FLAGS_DEBUG:STRING=-D_DEBUG
|
|
|
|
// Flags for Windows Resource Compiler during MINSIZEREL builds.
|
|
CMAKE_RC_FLAGS_MINSIZEREL:STRING=
|
|
|
|
// Flags for Windows Resource Compiler during RELEASE builds.
|
|
CMAKE_RC_FLAGS_RELEASE:STRING=
|
|
|
|
// Flags for Windows Resource Compiler during RELWITHDEBINFO builds.
|
|
CMAKE_RC_FLAGS_RELWITHDEBINFO:STRING=
|
|
|
|
// Flags used by the linker during the creation of shared libraries during all build types.
|
|
CMAKE_SHARED_LINKER_FLAGS:STRING=/machine:x64
|
|
|
|
// Flags used by the linker during the creation of shared libraries during DEBUG builds.
|
|
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL
|
|
|
|
// Flags used by the linker during the creation of shared libraries during MINSIZEREL builds.
|
|
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO
|
|
|
|
// Flags used by the linker during the creation of shared libraries during RELEASE builds.
|
|
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO
|
|
|
|
// Flags used by the linker during the creation of shared libraries during RELWITHDEBINFO builds.
|
|
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL
|
|
|
|
// 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 archiver during the creation of static libraries during all build types.
|
|
CMAKE_STATIC_LINKER_FLAGS:STRING=/machine:x64
|
|
|
|
// Flags used by the archiver during the creation of static libraries during DEBUG builds.
|
|
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
|
|
|
|
// Flags used by the archiver during the creation of static libraries during MINSIZEREL builds.
|
|
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
|
|
|
|
// Flags used by the archiver during the creation of static libraries during RELEASE builds.
|
|
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
|
|
|
|
// Flags used by the archiver during the creation of static libraries during RELWITHDEBINFO builds.
|
|
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
|
|
|
// 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
|
|
|
|
// Enable to build 7-Zip packages
|
|
CPACK_BINARY_7Z:BOOL=OFF
|
|
|
|
// Enable to build IFW packages
|
|
CPACK_BINARY_IFW:BOOL=OFF
|
|
|
|
// Enable to build Inno Setup packages
|
|
CPACK_BINARY_INNOSETUP:BOOL=OFF
|
|
|
|
// Enable to build NSIS packages
|
|
CPACK_BINARY_NSIS:BOOL=ON
|
|
|
|
// Enable to build NuGet packages
|
|
CPACK_BINARY_NUGET:BOOL=OFF
|
|
|
|
// Enable to build WiX packages
|
|
CPACK_BINARY_WIX:BOOL=OFF
|
|
|
|
// Enable to build ZIP packages
|
|
CPACK_BINARY_ZIP:BOOL=OFF
|
|
|
|
// Enable to build 7-Zip source packages
|
|
CPACK_SOURCE_7Z:BOOL=ON
|
|
|
|
// Enable to build ZIP source packages
|
|
CPACK_SOURCE_ZIP:BOOL=ON
|
|
|
|
// OFF
|
|
CXXFEATURECHECK_DEBUG:BOOL=OFF
|
|
|
|
// 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=
|
|
|
|
// Git command line client
|
|
GIT_EXECUTABLE:FILEPATH=C:/Program Files/Git/mingw64/bin/git.exe
|
|
|
|
// Use new libstdc++ CXX11 ABI
|
|
GLIBCXX_USE_CXX11_ABI:BOOL=OFF
|
|
|
|
// The gold linker
|
|
GOLD_EXECUTABLE:FILEPATH=GOLD_EXECUTABLE-NOTFOUND
|
|
|
|
// OK
|
|
HAVE_STD_REGEX:BOOL=ON
|
|
|
|
// Enable the 'libc' project targeting the GPU
|
|
LIBC_GPU_BUILD:BOOL=OFF
|
|
|
|
// Path to a file.
|
|
LIBXML2_INCLUDE_DIR:PATH=LIBXML2_INCLUDE_DIR-NOTFOUND
|
|
|
|
// Path to a library.
|
|
LIBXML2_LIBRARY:FILEPATH=LIBXML2_LIBRARY-NOTFOUND
|
|
|
|
// Path to a program.
|
|
LIBXML2_XMLLINT_EXECUTABLE:FILEPATH=LIBXML2_XMLLINT_EXECUTABLE-NOTFOUND
|
|
|
|
// Host llc executable. Saves building if cross-compiling.
|
|
LLC:STRING=
|
|
|
|
// Default URL where lldb bug reports are to be submitted.
|
|
LLDB_BUG_REPORT_URL:STRING=https://github.com/llvm/llvm-project/issues/
|
|
|
|
// Enable abi-breaking checks. Can be WITH_ASSERTS, FORCE_ON or FORCE_OFF.
|
|
LLVM_ABI_BREAKING_CHECKS:STRING=WITH_ASSERTS
|
|
|
|
// Additional build types that are allowed to be passed into CMAKE_BUILD_TYPE
|
|
LLVM_ADDITIONAL_BUILD_TYPES:BOOL=OFF
|
|
|
|
// OFF
|
|
LLVM_ALLOW_PROBLEMATIC_CONFIGURATIONS:BOOL=OFF
|
|
|
|
// Embed the version control system revision in LLVM
|
|
LLVM_APPEND_VC_REV:BOOL=ON
|
|
|
|
// Host llvm-as executable. Saves building if cross-compiling.
|
|
LLVM_AS:STRING=
|
|
|
|
// PATH to binutils/include containing plugin-api.h for gold plugin.
|
|
LLVM_BINUTILS_INCDIR:PATH=
|
|
|
|
// Add LLVM benchmark targets to the list of default
|
|
targets. If OFF, benchmarks still could be built using Benchmarks target.
|
|
LLVM_BUILD_BENCHMARKS: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. May be specified as IR, Frontend, CSIR, CSSPGO
|
|
LLVM_BUILD_INSTRUMENTED:STRING=OFF
|
|
|
|
// Build LLVM and tools with Code Coverage instrumentation
|
|
LLVM_BUILD_INSTRUMENTED_COVERAGE:BOOL=OFF
|
|
|
|
// Build LLVM-C.dll (Windows only)
|
|
LLVM_BUILD_LLVM_C_DYLIB:BOOL=ON
|
|
|
|
//
|
|
LLVM_BUILD_LLVM_DYLIB_VIS:BOOL=FALSE
|
|
|
|
// Build the LLVM runtime libraries.
|
|
LLVM_BUILD_RUNTIME:BOOL=ON
|
|
|
|
// Build the LLVM runtimes. If OFF, just generate build targets.
|
|
LLVM_BUILD_RUNTIMES: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
|
|
|
|
// Build LLVM utility binaries. If OFF, just generate build targets.
|
|
LLVM_BUILD_UTILS:BOOL=ON
|
|
|
|
// Set to ON for a ccache enabled build
|
|
LLVM_CCACHE_BUILD:BOOL=OFF
|
|
|
|
// Sign executables and dylibs with the given identity or skip if empty (Darwin Only)
|
|
LLVM_CODESIGNING_IDENTITY:STRING=
|
|
|
|
// Default target for which LLVM will generate code.
|
|
LLVM_DEFAULT_TARGET_TRIPLE:STRING=x86_64-pc-windows-msvc
|
|
|
|
// Dependency debugging mode to verify correctly expressed library dependencies (Darwin only)
|
|
LLVM_DEPENDENCY_DEBUGGING:BOOL=OFF
|
|
|
|
// 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
|
|
|
|
// Build bindings.
|
|
LLVM_ENABLE_BINDINGS:BOOL=ON
|
|
|
|
// Turn on memory dumps on crashes. Currently only implemented on Windows.
|
|
LLVM_ENABLE_CRASH_DUMPS:BOOL=OFF
|
|
|
|
// Enable crash overrides.
|
|
LLVM_ENABLE_CRASH_OVERRIDES:BOOL=ON
|
|
|
|
// Use libcurl for the HTTP client if available. Can be ON, OFF, or FORCE_ON
|
|
LLVM_ENABLE_CURL:STRING=OFF
|
|
|
|
// Debug: Prints tablegen patterns that were used for selecting
|
|
LLVM_ENABLE_DAGISEL_COV:BOOL=OFF
|
|
|
|
// Enhance Debugify's line number coverage tracking; enabling this is ABI-breaking. Can be DISABLED, COVERAGE, or COVERAGE_AND_ORIGIN.
|
|
LLVM_ENABLE_DEBUGLOC_COVERAGE_TRACKING:STRING=DISABLED
|
|
|
|
// Use MSVC DIA SDK for debugging if available.
|
|
LLVM_ENABLE_DIA_SDK:BOOL=ON
|
|
|
|
// Use doxygen to generate llvm API documentation.
|
|
LLVM_ENABLE_DOXYGEN:BOOL=OFF
|
|
|
|
// Enable dump functions even when assertions are disabled
|
|
LLVM_ENABLE_DUMP:BOOL=OFF
|
|
|
|
// Enable Exception handling
|
|
LLVM_ENABLE_EH:BOOL=OFF
|
|
|
|
// Enable expensive checks
|
|
LLVM_ENABLE_EXPENSIVE_CHECKS:BOOL=OFF
|
|
|
|
// Preserve exported symbols in executables
|
|
LLVM_ENABLE_EXPORTED_SYMBOLS_IN_EXECUTABLES:BOOL=ON
|
|
|
|
// Build LLVM with -ffat-lto-objects.
|
|
LLVM_ENABLE_FATLTO:BOOL=OFF
|
|
|
|
// Use libffi to call external functions from the interpreter
|
|
LLVM_ENABLE_FFI:BOOL=OFF
|
|
|
|
// Enable collection of GlobalISel rule coverage
|
|
LLVM_ENABLE_GISEL_COV:BOOL=OFF
|
|
|
|
// Use cpp-httplib HTTP server library if available. Can be ON, OFF, or FORCE_ON
|
|
LLVM_ENABLE_HTTPLIB:STRING=OFF
|
|
|
|
// Use iconv for text encoding conversion support if available. Can be ON, OFF, or FORCE_ON
|
|
LLVM_ENABLE_ICONV:STRING=OFF
|
|
|
|
// Use ICU for text encoding conversion support if available. Can be ON, OFF, or FORCE_ON
|
|
LLVM_ENABLE_ICU:STRING=OFF
|
|
|
|
// Disable optional build system features that cause problems for IDE generators
|
|
LLVM_ENABLE_IDE:BOOL=OFF
|
|
|
|
// Enable IO sandboxing in supported tools
|
|
LLVM_ENABLE_IO_SANDBOX:BOOL=OFF
|
|
|
|
// Use libc++ if available.
|
|
LLVM_ENABLE_LIBCXX:BOOL=OFF
|
|
|
|
// Use libedit if available.
|
|
LLVM_ENABLE_LIBEDIT:BOOL=ON
|
|
|
|
// Use libpfm for performance counters if available.
|
|
LLVM_ENABLE_LIBPFM:BOOL=ON
|
|
|
|
// Use libxml2 if available. Can be ON, OFF, or FORCE_ON
|
|
LLVM_ENABLE_LIBXML2:STRING=ON
|
|
|
|
// Use lld as C and C++ linker.
|
|
LLVM_ENABLE_LLD:BOOL=OFF
|
|
|
|
// Set to on to link all LLVM executables against LLVM libc, assuming it is accessible by the host compiler.
|
|
LLVM_ENABLE_LLVM_LIBC: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
|
|
|
|
// Enable the new pass manager by default.
|
|
LLVM_ENABLE_NEW_PASS_MANAGER:BOOL=TRUE
|
|
|
|
// Build OCaml bindings documentation.
|
|
LLVM_ENABLE_OCAMLDOC:BOOL=ON
|
|
|
|
// Build OnDiskCAS.
|
|
LLVM_ENABLE_ONDISK_CAS:BOOL=ON
|
|
|
|
// OFF
|
|
LLVM_ENABLE_PDB:BOOL=OFF
|
|
|
|
// Compile with pedantic enabled.
|
|
LLVM_ENABLE_PEDANTIC:BOOL=ON
|
|
|
|
// Enable per-target runtimes directory
|
|
LLVM_ENABLE_PER_TARGET_RUNTIME_DIR:BOOL=OFF
|
|
|
|
// Build Position-Independent Code
|
|
LLVM_ENABLE_PIC:BOOL=ON
|
|
|
|
// Enable plugin support
|
|
LLVM_ENABLE_PLUGINS:BOOL=OFF
|
|
|
|
// Enable profile checking in test tools
|
|
LLVM_ENABLE_PROFCHECK:BOOL=OFF
|
|
|
|
// Semicolon-separated list of projects to build (bolt;clang;clang-tools-extra;compiler-rt;cross-project-tests;libclc;lld;lldb;mlir;openmp;polly;flang;libc), or "all".
|
|
LLVM_ENABLE_PROJECTS:STRING=
|
|
|
|
//
|
|
LLVM_ENABLE_PROJECTS_USED:BOOL=OFF
|
|
|
|
// Replace the CRT allocator with rpmalloc.
|
|
LLVM_ENABLE_RPMALLOC:BOOL=
|
|
|
|
// Enable run time type information
|
|
LLVM_ENABLE_RTTI:BOOL=OFF
|
|
|
|
// Semicolon-separated list of runtimes to build, or "all" (libcxx;libcxxabi;libunwind). Supported runtimes are libc;libunwind;libcxxabi;libcxx;compiler-rt;openmp;llvm-libgcc;offload;flang-rt;libclc;libsycl;orc-rt.
|
|
LLVM_ENABLE_RUNTIMES:STRING=
|
|
|
|
// Use Sphinx to generate llvm documentation.
|
|
LLVM_ENABLE_SPHINX:BOOL=OFF
|
|
|
|
// Enable the telemetry library. If set to OFF, library cannot be enabled after build (eg., at runtime)
|
|
LLVM_ENABLE_TELEMETRY:BOOL=ON
|
|
|
|
// Use threads if available.
|
|
LLVM_ENABLE_THREADS:BOOL=ON
|
|
|
|
// Emit unwind tables for the libraries
|
|
LLVM_ENABLE_UNWIND_TABLES:BOOL=ON
|
|
|
|
// Enable compiler warnings.
|
|
LLVM_ENABLE_WARNINGS:BOOL=ON
|
|
|
|
// Fail and stop if a warning is triggered.
|
|
LLVM_ENABLE_WERROR:BOOL=OFF
|
|
|
|
// Enable Support for the Z3 constraint solver in LLVM.
|
|
LLVM_ENABLE_Z3_SOLVER:BOOL=OFF
|
|
|
|
// Use zlib for compression/decompression if available. Can be ON, OFF, or FORCE_ON
|
|
LLVM_ENABLE_ZLIB:STRING=ON
|
|
|
|
// Use zstd for compression/decompression if available. Can be ON, OFF, or FORCE_ON
|
|
LLVM_ENABLE_ZSTD:STRING=ON
|
|
|
|
// Path for examples subdirectory (enabled by LLVM_BUILD_EXAMPLES=ON) (defaults to 'examples')
|
|
LLVM_EXAMPLES_INSTALL_DIR:STRING=examples
|
|
|
|
// Semicolon-separated list of experimental targets to build, or "all".
|
|
LLVM_EXPERIMENTAL_TARGETS_TO_BUILD:STRING=
|
|
|
|
// Export symbols from LLVM tools so that plugins can import them
|
|
LLVM_EXPORT_SYMBOLS_FOR_PLUGINS:BOOL=OFF
|
|
|
|
// Generate dSYM files and strip executables and libraries (Darwin Only)
|
|
LLVM_EXTERNALIZE_DEBUGINFO:BOOL=OFF
|
|
|
|
// Path to bolt source directory
|
|
LLVM_EXTERNAL_BOLT_SOURCE_DIR:PATH=
|
|
|
|
// Path to clang source directory
|
|
LLVM_EXTERNAL_CLANG_SOURCE_DIR:PATH=
|
|
|
|
// Path to compiler-rt source directory
|
|
LLVM_EXTERNAL_COMPILER_RT_SOURCE_DIR:PATH=
|
|
|
|
// Path to cross-project-tests source directory
|
|
LLVM_EXTERNAL_CROSS_PROJECT_TESTS_SOURCE_DIR:PATH=
|
|
|
|
// Path to dragonegg source directory
|
|
LLVM_EXTERNAL_DRAGONEGG_SOURCE_DIR:PATH=
|
|
|
|
// Path to flang-rt source directory
|
|
LLVM_EXTERNAL_FLANG_RT_SOURCE_DIR:PATH=
|
|
|
|
// Path to flang source directory
|
|
LLVM_EXTERNAL_FLANG_SOURCE_DIR:PATH=
|
|
|
|
// Path to libclc source directory
|
|
LLVM_EXTERNAL_LIBCLC_SOURCE_DIR:PATH=
|
|
|
|
// Command used to spawn lit
|
|
LLVM_EXTERNAL_LIT:STRING=
|
|
|
|
// Path to lldb source directory
|
|
LLVM_EXTERNAL_LLDB_SOURCE_DIR:PATH=
|
|
|
|
// Path to lld source directory
|
|
LLVM_EXTERNAL_LLD_SOURCE_DIR:PATH=
|
|
|
|
// Path to mlir source directory
|
|
LLVM_EXTERNAL_MLIR_SOURCE_DIR:PATH=
|
|
|
|
// Path to openmp source directory
|
|
LLVM_EXTERNAL_OPENMP_SOURCE_DIR:PATH=
|
|
|
|
// Path to polly source directory
|
|
LLVM_EXTERNAL_POLLY_SOURCE_DIR:PATH=
|
|
|
|
// Optional arguments for the native tool used in CMake --build invocations for external projects.
|
|
LLVM_EXTERNAL_PROJECT_BUILD_TOOL_ARGS:STRING=
|
|
|
|
// Enable statistics collection for builds that wouldn't normally enable it
|
|
LLVM_FORCE_ENABLE_STATS:BOOL=OFF
|
|
|
|
// Set to ON to force using an old, unsupported host toolchain.
|
|
LLVM_FORCE_USE_OLD_TOOLCHAIN:BOOL=OFF
|
|
|
|
// Force custom VC repository for LLVM_APPEND_VC_REV
|
|
LLVM_FORCE_VC_REPOSITORY:STRING=
|
|
|
|
// Force custom VC revision for LLVM_APPEND_VC_REV
|
|
LLVM_FORCE_VC_REVISION:STRING=
|
|
|
|
// Define the wrapper program that LLVM unit tests should be run under.
|
|
LLVM_GTEST_RUN_UNDER:STRING=
|
|
|
|
// Use logf128 to constant fold fp128 logarithm calls. Can be ON, OFF, or FORCE_ON
|
|
LLVM_HAS_LOGF128:STRING=OFF
|
|
|
|
// Use tflite
|
|
LLVM_HAVE_TFLITE:BOOL=
|
|
|
|
// Host on which LLVM binaries will run
|
|
LLVM_HOST_TRIPLE:STRING=x86_64-pc-windows-msvc
|
|
|
|
// Generate benchmark targets. If OFF, benchmarks can't be built.
|
|
LLVM_INCLUDE_BENCHMARKS:BOOL=ON
|
|
|
|
// Generate build targets for llvm documentation.
|
|
LLVM_INCLUDE_DOCS:BOOL=ON
|
|
|
|
// Include DXIL tests
|
|
LLVM_INCLUDE_DXIL_TESTS:BOOL=OFF
|
|
|
|
// Generate build targets for the LLVM examples
|
|
LLVM_INCLUDE_EXAMPLES:BOOL=ON
|
|
|
|
// Generate build targets for the LLVM runtimes.
|
|
LLVM_INCLUDE_RUNTIMES:BOOL=ON
|
|
|
|
// Include tests that use SPIRV-Tools
|
|
LLVM_INCLUDE_SPIRV_TOOLS_TESTS:BOOL=OFF
|
|
|
|
// 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
|
|
|
|
// Emit individual coverage file for each test case.
|
|
LLVM_INDIVIDUAL_TEST_COVERAGE:BOOL=OFF
|
|
|
|
// Install symlinks from the binutils tool names to the corresponding LLVM tools.
|
|
LLVM_INSTALL_BINUTILS_SYMLINKS:BOOL=OFF
|
|
|
|
// Install symlinks from the cctools tool names to the corresponding LLVM tools.
|
|
LLVM_INSTALL_CCTOOLS_SYMLINKS:BOOL=OFF
|
|
|
|
// Doxygen-generated HTML documentation install directory
|
|
LLVM_INSTALL_DOXYGEN_HTML_DIR:STRING=share/doc/LLVM/llvm/doxygen-html
|
|
|
|
// Install the llvm gtest library. This should be on if you want to do
|
|
stand-alone builds of the other projects and run their unit tests.
|
|
LLVM_INSTALL_GTEST:BOOL=OFF
|
|
|
|
// Install the modulemap files in the 'install' target.
|
|
LLVM_INSTALL_MODULEMAPS:BOOL=OFF
|
|
|
|
// OCamldoc-generated HTML documentation install directory
|
|
LLVM_INSTALL_OCAMLDOC_HTML_DIR:STRING=share/doc/LLVM/llvm/ocaml-html
|
|
|
|
// Path for CMake subdirectory for LLVM (defaults to 'lib/cmake/llvm')
|
|
LLVM_INSTALL_PACKAGE_DIR:STRING=lib/cmake/llvm
|
|
|
|
// 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
|
|
|
|
// Replace the Windows CRT allocator with any of {rpmalloc|mimalloc|snmalloc}. Only works with CMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded.
|
|
LLVM_INTEGRATED_CRT_ALLOC:PATH=
|
|
|
|
// Define suffix of library directory name (32/64)
|
|
LLVM_LIBDIR_SUFFIX:STRING=
|
|
|
|
// Path to fuzzing library for linking with fuzz targets
|
|
LLVM_LIB_FUZZING_ENGINE:PATH=
|
|
|
|
// Host llvm-link executable. Saves building if cross-compiling.
|
|
LLVM_LINK:STRING=
|
|
|
|
// Default options for lit
|
|
LLVM_LIT_ARGS:STRING=-sv
|
|
|
|
// Path to GnuWin32 tools
|
|
LLVM_LIT_TOOLS_DIR:PATH=
|
|
|
|
// If set, an absolute path added as rpath on binaries that do not already contain an executable-relative rpath.
|
|
LLVM_LOCAL_RPATH:FILEPATH=
|
|
|
|
// Path to a directory containing prebuilt matching native tools (such as llvm-tblgen)
|
|
LLVM_NATIVE_TOOL_DIR:PATH=
|
|
|
|
// Host llvm-nm executable. Saves building if cross-compiling.
|
|
LLVM_NM:STRING=
|
|
|
|
// If set, use CMake's default build tree install name directory logic (Darwin only)
|
|
LLVM_NO_INSTALL_NAME_DIR_FOR_BUILD_TREE:BOOL=OFF
|
|
|
|
// Do not add comments to DAG ISel
|
|
LLVM_OMIT_DAGISEL_COMMENTS:BOOL=ON
|
|
|
|
// Force TableGen to be built with optimization
|
|
LLVM_OPTIMIZED_TABLEGEN:BOOL=OFF
|
|
|
|
// Pass -O1 on debug sanitizer builds
|
|
LLVM_OPTIMIZE_SANITIZED_BUILDS:BOOL=ON
|
|
|
|
// Define the maximum number of concurrent compilation jobs (Ninja only).
|
|
LLVM_PARALLEL_COMPILE_JOBS:STRING=
|
|
|
|
// Define the maximum number of concurrent link jobs (Ninja only).
|
|
LLVM_PARALLEL_LINK_JOBS:STRING=
|
|
|
|
// Define the maximum number of concurrent tablegen jobs (Ninja only).
|
|
LLVM_PARALLEL_TABLEGEN_JOBS:STRING=
|
|
|
|
// Profiling data file to use when compiling in order to improve runtime performance.
|
|
LLVM_PROFDATA_FILE:FILEPATH=
|
|
|
|
// Host llvm-readobj executable. Saves building if cross-compiling.
|
|
LLVM_READOBJ:STRING=
|
|
|
|
// Use prefix for sources
|
|
LLVM_SOURCE_PREFIX:STRING=
|
|
|
|
// Sampling profiling data file to use when compiling in order to improve runtime performance.
|
|
LLVM_SPROFDATA_FILE:FILEPATH=
|
|
|
|
// Statically link the standard library.
|
|
LLVM_STATIC_LINK_CXX_STDLIB:BOOL=OFF
|
|
|
|
// 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=all
|
|
|
|
// Set target to use for LLVM JIT or use "host" for automatic detection.
|
|
LLVM_TARGET_ARCH:STRING=host
|
|
|
|
// The name of environment variable to override default target. Disabled by blank.
|
|
LLVM_TARGET_TRIPLE_ENV:STRING=
|
|
|
|
// Set to ON to only warn when using a toolchain which is about to be deprecated, instead of emitting an error.
|
|
LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN:BOOL=OFF
|
|
|
|
// Set ThinLTO cache path. This can be used when building LLVM from several different directiories.
|
|
LLVM_THINLTO_CACHE_PATH:STRING=D:/ae/proj/ae/cmake-build-vs2019_debug/_yc_deps_global/llvm/lto.cache
|
|
|
|
// Directory containing third party software used by LLVM (e.g. googletest)
|
|
LLVM_THIRD_PARTY_DIR:STRING=D:/ae/cached_external_library/source/llvm/llvm/../third-party
|
|
|
|
// Path for binary subdirectory (defaults to 'bin')
|
|
LLVM_TOOLS_INSTALL_DIR:STRING=bin
|
|
|
|
// Whether to build bolt as part of LLVM
|
|
LLVM_TOOL_BOLT_BUILD:BOOL=OFF
|
|
|
|
// 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=OFF
|
|
|
|
// Whether to build compiler-rt as part of LLVM
|
|
LLVM_TOOL_COMPILER_RT_BUILD:BOOL=OFF
|
|
|
|
// Whether to build cross-project-tests as part of LLVM
|
|
LLVM_TOOL_CROSS_PROJECT_TESTS_BUILD:BOOL=OFF
|
|
|
|
// 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 dxil-dis as part of LLVM
|
|
LLVM_TOOL_DXIL_DIS_BUILD:BOOL=ON
|
|
|
|
// Whether to build flang as part of LLVM
|
|
LLVM_TOOL_FLANG_BUILD:BOOL=OFF
|
|
|
|
// Whether to build flang-rt as part of LLVM
|
|
LLVM_TOOL_FLANG_RT_BUILD:BOOL=OFF
|
|
|
|
// Whether to build gold as part of LLVM
|
|
LLVM_TOOL_GOLD_BUILD:BOOL=ON
|
|
|
|
// Whether to build libclc as part of LLVM
|
|
LLVM_TOOL_LIBCLC_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 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-cas as part of LLVM
|
|
LLVM_TOOL_LLVM_CAS_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-cat as part of LLVM
|
|
LLVM_TOOL_LLVM_CAT_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-cfi-verify as part of LLVM
|
|
LLVM_TOOL_LLVM_CFI_VERIFY_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-cgdata as part of LLVM
|
|
LLVM_TOOL_LLVM_CGDATA_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-ctxprof-util as part of LLVM
|
|
LLVM_TOOL_LLVM_CTXPROF_UTIL_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-cvtres as part of LLVM
|
|
LLVM_TOOL_LLVM_CVTRES_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-cxxdump as part of LLVM
|
|
LLVM_TOOL_LLVM_CXXDUMP_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-cxxfilt as part of LLVM
|
|
LLVM_TOOL_LLVM_CXXFILT_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-cxxmap as part of LLVM
|
|
LLVM_TOOL_LLVM_CXXMAP_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-debuginfod as part of LLVM
|
|
LLVM_TOOL_LLVM_DEBUGINFOD_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-debuginfod-find as part of LLVM
|
|
LLVM_TOOL_LLVM_DEBUGINFOD_FIND_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-debuginfo-analyzer as part of LLVM
|
|
LLVM_TOOL_LLVM_DEBUGINFO_ANALYZER_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-dis-fuzzer as part of LLVM
|
|
LLVM_TOOL_LLVM_DIS_FUZZER_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-dlang-demangle-fuzzer as part of LLVM
|
|
LLVM_TOOL_LLVM_DLANG_DEMANGLE_FUZZER_BUILD:BOOL=ON
|
|
|
|
// Whether to build LLVM_DRIVER as part of LLVM
|
|
LLVM_TOOL_LLVM_DRIVER_BUILD:BOOL=OFF
|
|
|
|
// Whether to build llvm-dwarfdump as part of LLVM
|
|
LLVM_TOOL_LLVM_DWARFDUMP_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-dwarfutil as part of LLVM
|
|
LLVM_TOOL_LLVM_DWARFUTIL_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-dwp as part of LLVM
|
|
LLVM_TOOL_LLVM_DWP_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-exegesis as part of LLVM
|
|
LLVM_TOOL_LLVM_EXEGESIS_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-extract as part of LLVM
|
|
LLVM_TOOL_LLVM_EXTRACT_BUILD:BOOL=ON
|
|
|
|
// Whether to build LLVM_GPU_LOADER as part of LLVM
|
|
LLVM_TOOL_LLVM_GPU_LOADER_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-gsymutil as part of LLVM
|
|
LLVM_TOOL_LLVM_GSYMUTIL_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-ifs as part of LLVM
|
|
LLVM_TOOL_LLVM_IFS_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-ir2vec as part of LLVM
|
|
LLVM_TOOL_LLVM_IR2VEC_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-isel-fuzzer as part of LLVM
|
|
LLVM_TOOL_LLVM_ISEL_FUZZER_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-itanium-demangle-fuzzer as part of LLVM
|
|
LLVM_TOOL_LLVM_ITANIUM_DEMANGLE_FUZZER_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-jitlink as part of LLVM
|
|
LLVM_TOOL_LLVM_JITLINK_BUILD:BOOL=ON
|
|
|
|
// Whether to build LLVM_JITLISTENER as part of LLVM
|
|
LLVM_TOOL_LLVM_JITLISTENER_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-libtool-darwin as part of LLVM
|
|
LLVM_TOOL_LLVM_LIBTOOL_DARWIN_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-link as part of LLVM
|
|
LLVM_TOOL_LLVM_LINK_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-lipo as part of LLVM
|
|
LLVM_TOOL_LLVM_LIPO_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-mca as part of LLVM
|
|
LLVM_TOOL_LLVM_MCA_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-mc-assemble-fuzzer as part of LLVM
|
|
LLVM_TOOL_LLVM_MC_ASSEMBLE_FUZZER_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-mc as part of LLVM
|
|
LLVM_TOOL_LLVM_MC_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-mc-disassemble-fuzzer as part of LLVM
|
|
LLVM_TOOL_LLVM_MC_DISASSEMBLE_FUZZER_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-microsoft-demangle-fuzzer as part of LLVM
|
|
LLVM_TOOL_LLVM_MICROSOFT_DEMANGLE_FUZZER_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-ml as part of LLVM
|
|
LLVM_TOOL_LLVM_ML_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-modextract as part of LLVM
|
|
LLVM_TOOL_LLVM_MODEXTRACT_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-mt as part of LLVM
|
|
LLVM_TOOL_LLVM_MT_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-nm as part of LLVM
|
|
LLVM_TOOL_LLVM_NM_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-objcopy as part of LLVM
|
|
LLVM_TOOL_LLVM_OBJCOPY_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-objdump as part of LLVM
|
|
LLVM_TOOL_LLVM_OBJDUMP_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-offload-binary as part of LLVM
|
|
LLVM_TOOL_LLVM_OFFLOAD_BINARY_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-offload-wrapper as part of LLVM
|
|
LLVM_TOOL_LLVM_OFFLOAD_WRAPPER_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-opt-fuzzer as part of LLVM
|
|
LLVM_TOOL_LLVM_OPT_FUZZER_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-opt-report as part of LLVM
|
|
LLVM_TOOL_LLVM_OPT_REPORT_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-pdbutil as part of LLVM
|
|
LLVM_TOOL_LLVM_PDBUTIL_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-profdata as part of LLVM
|
|
LLVM_TOOL_LLVM_PROFDATA_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-profgen as part of LLVM
|
|
LLVM_TOOL_LLVM_PROFGEN_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-rc as part of LLVM
|
|
LLVM_TOOL_LLVM_RC_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-readobj as part of LLVM
|
|
LLVM_TOOL_LLVM_READOBJ_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-readtapi as part of LLVM
|
|
LLVM_TOOL_LLVM_READTAPI_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-reduce as part of LLVM
|
|
LLVM_TOOL_LLVM_REDUCE_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-remarkutil as part of LLVM
|
|
LLVM_TOOL_LLVM_REMARKUTIL_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-rtdyld as part of LLVM
|
|
LLVM_TOOL_LLVM_RTDYLD_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-rust-demangle-fuzzer as part of LLVM
|
|
LLVM_TOOL_LLVM_RUST_DEMANGLE_FUZZER_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-shlib as part of LLVM
|
|
LLVM_TOOL_LLVM_SHLIB_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-sim as part of LLVM
|
|
LLVM_TOOL_LLVM_SIM_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-size as part of LLVM
|
|
LLVM_TOOL_LLVM_SIZE_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-special-case-list-fuzzer as part of LLVM
|
|
LLVM_TOOL_LLVM_SPECIAL_CASE_LIST_FUZZER_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-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-tli-checker as part of LLVM
|
|
LLVM_TOOL_LLVM_TLI_CHECKER_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-undname as part of LLVM
|
|
LLVM_TOOL_LLVM_UNDNAME_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-xray as part of LLVM
|
|
LLVM_TOOL_LLVM_XRAY_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-yaml-numeric-parser-fuzzer as part of LLVM
|
|
LLVM_TOOL_LLVM_YAML_NUMERIC_PARSER_FUZZER_BUILD:BOOL=ON
|
|
|
|
// Whether to build llvm-yaml-parser-fuzzer as part of LLVM
|
|
LLVM_TOOL_LLVM_YAML_PARSER_FUZZER_BUILD:BOOL=ON
|
|
|
|
// Whether to build lto as part of LLVM
|
|
LLVM_TOOL_LTO_BUILD:BOOL=ON
|
|
|
|
// Whether to build mlir as part of LLVM
|
|
LLVM_TOOL_MLIR_BUILD:BOOL=OFF
|
|
|
|
// Whether to build obj2yaml as part of LLVM
|
|
LLVM_TOOL_OBJ2YAML_BUILD:BOOL=ON
|
|
|
|
// Whether to build openmp as part of LLVM
|
|
LLVM_TOOL_OPENMP_BUILD:BOOL=OFF
|
|
|
|
// Whether to build opt as part of LLVM
|
|
LLVM_TOOL_OPT_BUILD:BOOL=ON
|
|
|
|
// Whether to build opt-viewer as part of LLVM
|
|
LLVM_TOOL_OPT_VIEWER_BUILD:BOOL=ON
|
|
|
|
// Whether to build polly as part of LLVM
|
|
LLVM_TOOL_POLLY_BUILD:BOOL=OFF
|
|
|
|
// Whether to build reduce-chunk-list as part of LLVM
|
|
LLVM_TOOL_REDUCE_CHUNK_LIST_BUILD:BOOL=ON
|
|
|
|
// Whether to build remarks-shlib as part of LLVM
|
|
LLVM_TOOL_REMARKS_SHLIB_BUILD:BOOL=ON
|
|
|
|
// Whether to build sancov as part of LLVM
|
|
LLVM_TOOL_SANCOV_BUILD:BOOL=ON
|
|
|
|
// Whether to build sanstats as part of LLVM
|
|
LLVM_TOOL_SANSTATS_BUILD:BOOL=ON
|
|
|
|
// Whether to build spirv-tools as part of LLVM
|
|
LLVM_TOOL_SPIRV_TOOLS_BUILD:BOOL=ON
|
|
|
|
// Whether to build verify-uselistorder as part of LLVM
|
|
LLVM_TOOL_VERIFY_USELISTORDER_BUILD:BOOL=ON
|
|
|
|
// Whether to build vfabi-demangle-fuzzer as part of LLVM
|
|
LLVM_TOOL_VFABI_DEMANGLE_FUZZER_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
|
|
|
|
// Compile flags set to enable UBSan. Only used if LLVM_USE_SANITIZER contains 'Undefined'.
|
|
LLVM_UBSAN_FLAGS:STRING=-fsanitize=undefined -fno-sanitize=vptr,function -fno-sanitize-recover=all
|
|
|
|
// Additional linker flags for unit tests
|
|
LLVM_UNITTEST_LINK_FLAGS:STRING=
|
|
|
|
// Optimize llvm_unreachable() as undefined behavior (default), guaranteed trap when OFF
|
|
LLVM_UNREACHABLE_OPTIMIZE: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
|
|
|
|
// Use perf JIT interface to inform perf about JIT code
|
|
LLVM_USE_PERF:BOOL=OFF
|
|
|
|
// Use relative paths in debug info
|
|
LLVM_USE_RELATIVE_PATHS_IN_DEBUG_INFO:BOOL=OFF
|
|
|
|
// Use relative paths in sources and debug info
|
|
LLVM_USE_RELATIVE_PATHS_IN_FILES:BOOL=OFF
|
|
|
|
// Define the sanitizer used to build binaries and tests.
|
|
LLVM_USE_SANITIZER:STRING=
|
|
|
|
// Use -gsplit-dwarf when compiling llvm and --gdb-index when linking.
|
|
LLVM_USE_SPLIT_DWARF:BOOL=OFF
|
|
|
|
// Use static version of zstd. Can be TRUE, FALSE
|
|
LLVM_USE_STATIC_ZSTD:BOOL=FALSE
|
|
|
|
// Use symlinks instead of copying binaries
|
|
LLVM_USE_SYMLINKS:BOOL=OFF
|
|
|
|
// Path to install LLVM utilities (enabled by LLVM_INSTALL_UTILS=ON) (defaults to LLVM_TOOLS_INSTALL_DIR)
|
|
LLVM_UTILS_INSTALL_DIR:STRING=bin
|
|
|
|
// Show the optional build config flags when tools are invoked with --version.
|
|
LLVM_VERSION_PRINTER_SHOW_BUILD_CONFIG:BOOL=ON
|
|
|
|
// Show target and host info when tools are invoked with --version.
|
|
LLVM_VERSION_PRINTER_SHOW_HOST_TARGET_INFO:BOOL=ON
|
|
|
|
// Value profile counters to use per site for IR PGO with Clang
|
|
LLVM_VP_COUNTERS_PER_SITE:STRING=1.5
|
|
|
|
// Prefer path names with forward slashes on Windows.
|
|
LLVM_WINDOWS_PREFER_FORWARD_SLASH:BOOL=OFF
|
|
|
|
// If set, argument to clang-cl's /winsysroot
|
|
LLVM_WINSYSROOT:STRING=
|
|
|
|
// Install directory of the Z3 solver.
|
|
LLVM_Z3_INSTALL_DIR:STRING=
|
|
|
|
// Path to the DIA SDK
|
|
MSVC_DIA_SDK_DIR:PATH=C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/DIA SDK
|
|
|
|
// Ninja version number
|
|
NINJA_VERSION:STRING=1.10.2
|
|
|
|
// Path to a program.
|
|
OCAMLFIND:FILEPATH=OCAMLFIND-NOTFOUND
|
|
|
|
// Host opt executable. Saves building if cross-compiling.
|
|
OPT:STRING=
|
|
|
|
// Arguments to supply to pkg-config
|
|
PKG_CONFIG_ARGN:STRING=
|
|
|
|
// pkg-config executable
|
|
PKG_CONFIG_EXECUTABLE:FILEPATH=PKG_CONFIG_EXECUTABLE-NOTFOUND
|
|
|
|
// Failed to find python module 'pygments'
|
|
PY_PYGMENTS_FOUND:BOOL=OFF
|
|
|
|
// Failed to find python module 'pygments.lexers.c_cpp'
|
|
PY_PYGMENTS_LEXERS_C_CPP_FOUND:BOOL=OFF
|
|
|
|
// Failed to find python module 'yaml'
|
|
PY_YAML_FOUND:BOOL=OFF
|
|
|
|
// Path to TensorFlow pip install dir
|
|
TENSORFLOW_AOT_PATH:PATH=
|
|
|
|
// Path to a file.
|
|
ZLIB_INCLUDE_DIR:PATH=ZLIB_INCLUDE_DIR-NOTFOUND
|
|
|
|
// Path to a library.
|
|
ZLIB_LIBRARY_DEBUG:FILEPATH=ZLIB_LIBRARY_DEBUG-NOTFOUND
|
|
|
|
// Path to a library.
|
|
ZLIB_LIBRARY_RELEASE:FILEPATH=ZLIB_LIBRARY_RELEASE-NOTFOUND
|
|
|
|
//
|
|
llc_exe:STRING=$<TARGET_FILE:llc>
|
|
|
|
//
|
|
llc_target:STRING=llc
|
|
|
|
//
|
|
llvm_as_exe:STRING=$<TARGET_FILE:llvm-as>
|
|
|
|
//
|
|
llvm_as_target:STRING=llvm-as
|
|
|
|
//
|
|
llvm_link_exe:STRING=$<TARGET_FILE:llvm-link>
|
|
|
|
//
|
|
llvm_link_target:STRING=llvm-link
|
|
|
|
//
|
|
llvm_nm_exe:STRING=$<TARGET_FILE:llvm-nm>
|
|
|
|
//
|
|
llvm_nm_target:STRING=llvm-nm
|
|
|
|
//
|
|
llvm_readobj_exe:STRING=$<TARGET_FILE:llvm-readobj>
|
|
|
|
//
|
|
llvm_readobj_target:STRING=llvm-readobj
|
|
|
|
//
|
|
opt_exe:STRING=$<TARGET_FILE:opt>
|
|
|
|
//
|
|
opt_target:STRING=opt
|
|
|
|
// Path to a file.
|
|
zstd_INCLUDE_DIR:PATH=zstd_INCLUDE_DIR-NOTFOUND
|
|
|
|
// Path to a library.
|
|
zstd_LIBRARY:FILEPATH=zstd_LIBRARY-NOTFOUND
|
|
|
|
// Path to a library.
|
|
zstd_STATIC_LIBRARY:FILEPATH=zstd_STATIC_LIBRARY-NOTFOUND |