llvm-project/llvm/cmake/modules
Chris Bieneman 76864f9c77 [CMake] Cleanup LLVM_OPTIMIZED_TABLEGEN
This cleanup removes the need for the native support library to have its own target. That target was only needed because makefile builds were tripping over each other if two tablegen targets were building at the same time. This causes problems because the parallel make invocations through CMake can't communicate with each other. This is fixed by invoking make directly instead of through CMake which is how we handle this in External Project invocations.

The other part of the cleanup is to mark the custom commands as USES_TERMINAL. This is a bit of a hack, but we need to ensure that Ninja generators don't invoke multiple tablegen targets in the same build dir in parallel, because that too would be bad.

Marking as USES_TERMINAL does have some downside for Ninja because it results in decreased parallelism, but correct builds are worth the minor loss and LLVM_OPTIMZIED_TABLEGEN is such a huge win, it is worth it.

llvm-svn: 280748
2016-09-06 20:27:07 +00:00
..
AddLLVM.cmake [CMake] Fix LLVM_ENABLE_EH and LLVM_ENABLE_RTTI on MSVC 2016-09-01 14:39:54 +00:00
AddLLVMDefinitions.cmake cmake: Avoid leading space in LLVM_DEFINITIONS. 2015-10-12 10:42:03 +00:00
AddOCaml.cmake [CMake] [OCaml] Allow building OCaml bindings out of tree. 2016-09-05 01:42:22 +00:00
AddSphinxTarget.cmake Make message about building sphinx documentation with CMake more 2014-08-14 11:57:16 +00:00
CMakeLists.txt cmake: Install CheckAtomic.cmake (needed by lldb) 2016-08-25 20:53:00 +00:00
CheckAtomic.cmake [LLVM][MIPS] Introduce 64 bit atomic check in CheckAtomic.cmake 2016-06-23 06:39:35 +00:00
CheckCompilerVersion.cmake cmake: include what you use 2016-03-08 18:56:00 +00:00
ChooseMSVCCRT.cmake
CrossCompile.cmake [CMake] Fixing a typo 2016-06-08 21:22:03 +00:00
DetermineGCCCompatible.cmake [CMake] Move the setting of LLVM_COMPILER_IS_GCC_COMPATIBLE to a separate file 2015-09-29 14:33:58 +00:00
FindOCaml.cmake [OCaml] [cmake] Add CMake buildsystem for OCaml. 2014-12-01 19:50:23 +00:00
FindSphinx.cmake
GenerateVersionFromCVS.cmake Add SVN version to libLLVMLTO 2016-04-16 07:33:14 +00:00
GetHostTriple.cmake Remove autoconf support 2016-01-26 21:29:08 +00:00
GetSVN.cmake cmake: Make SVNVersion.inc work on Windows if svn is called svn.bat. 2014-12-10 00:10:21 +00:00
HandleLLVMOptions.cmake [CMake] Increase stack size to 16MiB for all mingw executables. 2016-08-31 22:43:23 +00:00
HandleLLVMStdlib.cmake Remove LLVM_ENABLE_LIBCXXABI 2016-08-04 10:24:48 +00:00
LLVM-Config.cmake Avoid linking LLVM component libraries with libLLVM 2016-02-12 01:42:43 +00:00
LLVMConfig.cmake.in [CMake] Revive LLVM_*_DIRS variables 2016-09-01 16:43:39 +00:00
LLVMConfigVersion.cmake.in
LLVMExternalProjectUtils.cmake [CMake] Cleanup LLVM_OPTIMIZED_TABLEGEN 2016-09-06 20:27:07 +00:00
LLVMInstallSymlink.cmake [CMake] Cleaning up and generalizing the LLVMInstallSymlink script so that it can be used for libraries too. 2015-10-16 23:17:13 +00:00
LLVMProcessSources.cmake Teach llvm_add_library() to find include dirs. 2015-02-10 05:04:37 +00:00
TableGen.cmake [CMake] Cleanup LLVM_OPTIMIZED_TABLEGEN 2016-09-06 20:27:07 +00:00
VersionFromVCS.cmake Add SVN version to libLLVMLTO 2016-04-16 07:33:14 +00:00