author | Chris Bieneman <beanz@apple.com> | |
Wed, 3 Sep 2014 23:21:18 +0000 (23:21 +0000) | ||
committer | Chris Bieneman <beanz@apple.com> | |
Wed, 3 Sep 2014 23:21:18 +0000 (23:21 +0000) | ||
commit | 901166c93936cb532353933251a8b3983297b036 | |
tree | 4af523ea94fac6de679296a7130cca7599a14b9b | tree | snapshot (tar.xz tar.gz zip) |
parent | c0f2b8b528d8a37b0a1522aae90af649d6357eb5 | commit | diff |
Enabling LLVM & Clang to be cross-compiled using CMake from a single configuration command line
The basic idea is similar to the existing cross compilation support. A directory must be configured to build host versions of tablegen tools and llvm-config. This directory can be user provided (and configured), or it can be created during the build. During a build the native build directory will be configured and built to supply the tablegen tools used during the build. A user could also explicitly provide the tablegen executables to run on the CMake command line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217105 91177308-0d34-0410-b5e6-96231b3b80d8
The basic idea is similar to the existing cross compilation support. A directory must be configured to build host versions of tablegen tools and llvm-config. This directory can be user provided (and configured), or it can be created during the build. During a build the native build directory will be configured and built to supply the tablegen tools used during the build. A user could also explicitly provide the tablegen executables to run on the CMake command line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217105 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt | diff | blob | history | |
cmake/modules/CrossCompile.cmake | [new file with mode: 0644] | blob |
cmake/modules/TableGen.cmake | diff | blob | history | |
cmake/platforms/iOS.cmake | [new file with mode: 0644] | blob |
tools/llvm-config/CMakeLists.txt | diff | blob | history |