[Patch] Improvements for CMake cross compilation on OS X
chandlerc at google.com
Thu Aug 28 13:22:04 PDT 2014
Adding folks with specific knowledge of the compiler-rt and cmake and the
On Thu, Aug 28, 2014 at 1:13 PM, Chris Bieneman <beanz at apple.com> wrote:
> The attached patch modifies how cross compiling is handled with CMake to
> make it possible to cross compile LLVM and Clang using a single CMake
> invocation. This patch works for LLVM & Clang with no additional patches
> required. It does not work for compiler-rt because of how compiler-rt's
> CMake configuration is implemented.
> 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.
> I do not know how many users there are using CMake to cross compile, and I
> would greatly appreciate it if anyone who is cross compiling LLVM using
> CMake could test these patches on their configuration.
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits