Lines Matching +full:lld +full:- +full:build
2 set(LLVM_SUBPROJECT_TITLE "LLD")
10 # If we are not building as a part of LLVM, build LLD as an
13 project(lld) project
32 set(LLVM_BINARY_DIR "${LLVM_BINARY_DIR}" CACHE PATH "Path to LLVM build tree")
35 find_program(LLVM_TABLEGEN_EXE "llvm-tblgen" ${LLVM_TOOLS_BINARY_DIR}
74 …message(FATAL_ERROR "llvm-gtest not found. Please install llvm-gtest or disable tests with -DLLVM_…
79 NAMES llvm-lit lit.py lit
87 set(LIT_ARGS_DEFAULT "-sv")
89 set(LIT_ARGS_DEFAULT "${LIT_ARGS_DEFAULT} --no-progress-bar")
114 "Vendor-specific text for showing with version information.")
117 add_definitions(-DLLD_VENDOR="${LLD_VENDOR}")
120 # Compute the LLD version from the LLVM version.
121 string(REGEX MATCH "[0-9]+\\.[0-9]+(\\.[0-9]+)?" LLD_VERSION
123 message(STATUS "LLD version: ${LLD_VERSION}")
125 string(REGEX REPLACE "([0-9]+)\\.[0-9]+(\\.[0-9]+)?" "\\1" LLD_VERSION_MAJOR
127 string(REGEX REPLACE "[0-9]+\\.([0-9]+)(\\.[0-9]+)?" "\\1" LLD_VERSION_MINOR
132 ${CMAKE_CURRENT_SOURCE_DIR}/include/lld/Common/Version.inc.in
133 ${CMAKE_CURRENT_BINARY_DIR}/include/lld/Common/Version.inc)
137 message(FATAL_ERROR "In-source builds are not allowed. CMake would overwrite "
160 add_definitions(-DLLD_HAS_VTUNE)
165 "Build the lld tools. If OFF, just generate build targets." ON)
168 "Use MinGW as the default backend for ld.lld. If OFF, ELF will be used." OFF)
170 add_definitions("-DLLD_DEFAULT_LD_LLD_IS_MINGW=1")
174 …add_definitions(-wd4530) # Suppress 'warning C4530: C++ exception handler used, but unwind semanti…
175 …add_definitions(-wd4062) # Suppress 'warning C4062: enumerator X in switch of enum Y is not handle…
192 add_subdirectory(tools/lld)
196 set_target_properties(LLDUnitTests PROPERTIES FOLDER "LLD/Tests")