]> granicus.if.org Git - llvm/commitdiff
Revert r349541 (Fix MSVC dependency issue between Clang-tablegen and LLVM-tablegen)
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>
Tue, 18 Dec 2018 21:39:40 +0000 (21:39 +0000)
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>
Tue, 18 Dec 2018 21:39:40 +0000 (21:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@349545 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/modules/TableGen.cmake

index 9ac229d84f4084bec31ea6f9412f7e2d9976f7a4..d1afcb42f9de7de87e421fb8b5265e2e25e39372 100644 (file)
@@ -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}