llvm.org GIT mirror llvm / 8bddda3
cmake: Don't build llvm-config and tblgen concurrently in cross builds This sets USES_TERMINAL for the native llvm-config build, so that it doesn't run at the same time as builds of other native tools (namely, tablegen). Without this, if you're very unlucky with the timing it's possible to be relinking libSupport as one of the tools is linking, causing a spurious failure. The tablegen build adopted USES_TERMINAL for this same reason in r280748. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290271 91177308-0d34-0410-b5e6-96231b3b80d8 Justin Bogner 2 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
6868 COMMAND ${CMAKE_COMMAND} --build . --target llvm-config --config $
6969 DEPENDS ${LLVM_NATIVE_BUILD}/CMakeCache.txt
7070 WORKING_DIRECTORY ${LLVM_NATIVE_BUILD}
71 COMMENT "Building native llvm-config...")
71 COMMENT "Building native llvm-config..."
72 USES_TERMINAL)
7273 add_custom_target(${project}NativeLLVMConfig DEPENDS ${${project}_LLVM_CONFIG_EXE})
7374 add_dependencies(${project}NativeLLVMConfig CONFIGURE_LLVM_NATIVE)
7475