[PATCH] D41660: [cmake] Add new linux toolchain file
Petr Hosek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 2 11:50:56 PST 2018
phosek added a comment.
@hintonda I think this should be a platform file in https://github.com/llvm-mirror/llvm/tree/master/cmake/platforms rather than Clang cache file. Platform files are concerned with the host platform (including cross-compilation), while cache files are related to the distribution setup. What you're trying to do is the former rather than the latter. Some of the aspects of your setup like the bootstrap tool setup is already handled by the 2-stage build so you should use that rather than reimplementing your own solution.
More information about the cfe-commits