[Patch] Improvements for CMake cross compilation on OS X

Brad King brad.king at kitware.com
Wed Sep 3 06:25:25 PDT 2014


On 09/02/2014 04:56 PM, Chris Bieneman wrote:
> The iOS support is definitely "Works for Me". My hope is
> this would also work for Android, but I'm not setup to
> build for Android.

I see no reason it shouldn't work for both.

> How does this revised patch look?

Good, but there is one more place referencing CMAKE_BUILD_TOOL
in tools/llvm-config/CMakeLists.txt:

> +    COMMAND ${CMAKE_BUILD_TOOL} llvm-config

That should be able to use the "cmake --build" approach too.

Thanks,
-Brad




More information about the llvm-commits mailing list