[PATCH] D32816: [CMake] Support multi-target runtimes build

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 3 10:34:06 PDT 2017


phosek created this revision.
Herald added a subscriber: mgorny.

This changes adds support for building runtimes for multiple different targets using LLVM runtimes directory.

The implementation follow the model used already by the builtins build which already supports this option. To specify the runtimes targets to be built, use the LLVM_RUNTIME_TARGETS variable, where the valuae is the list of targets to build runtimes for. To pass a per target variable to the runtimes build, you can set RUNTIMES_<target>_<variable> where <variable> will be passed to the runtimes build for <target>.


Repository:
  rL LLVM

https://reviews.llvm.org/D32816

Files:
  cmake/modules/LLVMExternalProjectUtils.cmake
  runtimes/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32816.97684.patch
Type: text/x-patch
Size: 7482 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170503/0c7c07cb/attachment.bin>


More information about the llvm-commits mailing list