Revert r349517 "[CMake] Default options for faster executables on MSVC"
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>
Wed, 19 Dec 2018 17:57:31 +0000 (17:57 +0000)
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>
Wed, 19 Dec 2018 17:57:31 +0000 (17:57 +0000)
llvm-svn: 349654

llvm/cmake/modules/TableGen.cmake

index 3c84ae7..ee1840d 100644 (file)
@@ -146,12 +146,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 AND TARGET ${project}-tablegen-host)
-        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}