[llvm] r349654 - Revert r349517 "[CMake] Default options for faster executables on MSVC"

Alexandre Ganea via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 19 09:57:31 PST 2018


Author: aganea
Date: Wed Dec 19 09:57:31 2018
New Revision: 349654

URL: http://llvm.org/viewvc/llvm-project?rev=349654&view=rev
Log:
Revert r349517 "[CMake] Default options for faster executables on MSVC"

Modified:
    llvm/trunk/cmake/modules/TableGen.cmake

Modified: llvm/trunk/cmake/modules/TableGen.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/TableGen.cmake?rev=349654&r1=349653&r2=349654&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/TableGen.cmake (original)
+++ llvm/trunk/cmake/modules/TableGen.cmake Wed Dec 19 09:57:31 2018
@@ -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}




More information about the llvm-commits mailing list