llvm.org GIT mirror llvm / 0a79c1c
NFC. Documenting Native tablegen dependency Adding documentation explaining why this dependency is required and should not be removed again. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367896 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Bieneman 2 months ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
124124
125125 if(LLVM_USE_HOST_TOOLS)
126126 if( ${${project}_TABLEGEN} STREQUAL "${target}" )
127 # The NATIVE tablegen executable *must* depend on the current target one
128 # otherwise the native one won't get rebuilt when the tablgen sources
129 # change, and we end up with incorrect builds.
127130 build_native_tool(${target} ${project}_TABLEGEN_EXE DEPENDS ${target})
128131 set(${project}_TABLEGEN_EXE ${${project}_TABLEGEN_EXE} PARENT_SCOPE)
129132