Fixing dependencies for native tablegen.
authorChris Bieneman <beanz@apple.com>
Thu, 19 Mar 2015 16:49:44 +0000 (16:49 +0000)
committerChris Bieneman <beanz@apple.com>
Thu, 19 Mar 2015 16:49:44 +0000 (16:49 +0000)
commitca4f699cc2a7b1a3b4b521dc4f7c90673c683f6d
tree46023697b5b9c5a7b8345836318a5030b8e2b4d7
parent783254386e267a9957844d25b3ad697863a03c56
Fixing dependencies for native tablegen.

The dependencies for cross-built tablegen were a bit confused. This fixes that. The following dependencies are now enforced:

(1) Tablegen tasks depend on the native tablegen
(2) Native tablegen depends on the cross-compiled tablegen

Although the native tablegen doesn't actually require the cross tablegen, having this dependency forces the native tablegen to rebuild whenever the cross tablegen changes.

llvm-svn: 232730
llvm/cmake/modules/TableGen.cmake