]> granicus.if.org Git - clang/commit
[CMake] Add support for specifying arguments to the bootstrap build.
authorChris Bieneman <beanz@apple.com>
Fri, 20 Nov 2015 22:09:06 +0000 (22:09 +0000)
committerChris Bieneman <beanz@apple.com>
Fri, 20 Nov 2015 22:09:06 +0000 (22:09 +0000)
commit3bec932e7f366573e89893e898a5c4dfe8061a33
tree09ddccb506986f6eafa04513eee548a1d2011568
parent553ceb86dde26f47e92315e0ad7fd499d8d1f01d
[CMake] Add support for specifying arguments to the bootstrap build.

This adds support for three types of argument specifications for bootstrap builds:

(1) Arguments prefixed with BOOTSTRAP_* will be passed through with the leading BOOTSTRAP_ removed.
(2) CLANG_BOOTSTRAP_PASSTHROUGH can specify a list of variables to be passed through as they are set.
(3) BOOTSTRAP_DEFAULT_PASSTHROUGH is a list of some default passthrough variables that are always passed through. Those variables include the version string and should only specify variables that are always expected to be the same between the stage1 and stage2

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@253721 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt