From: Alexandre Ganea Date: Tue, 18 Dec 2018 21:39:40 +0000 (+0000) Subject: Revert r349541 (Fix MSVC dependency issue between Clang-tablegen and LLVM-tablegen) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3a364fda9212af837e4ccb5a6a71b2211956469a;p=llvm Revert r349541 (Fix MSVC dependency issue between Clang-tablegen and LLVM-tablegen) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@349545 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/cmake/modules/TableGen.cmake b/cmake/modules/TableGen.cmake index 9ac229d84f4..d1afcb42f9d 100644 --- a/cmake/modules/TableGen.cmake +++ b/cmake/modules/TableGen.cmake @@ -158,12 +158,6 @@ macro(add_tablegen target project) llvm_ExternalProject_BuildCmd(tblgen_build_cmd ${target} ${LLVM_NATIVE_BUILD} CONFIGURATION Release) - # Create an artificial dependency between tablegen projects, because they - # compile the same dependencies, thus using the same build folders. - # FIXME: A proper fix requires sequentially chaining tablegens. - if (NOT ${project} STREQUAL LLVM) - add_dependencies(${project}-tablegen-host LLVM-tablegen-host) - endif() add_custom_command(OUTPUT ${${project}_TABLEGEN_EXE} COMMAND ${tblgen_build_cmd} DEPENDS CONFIGURE_LLVM_NATIVE ${target}