[PATCH] D32816: [CMake] Support multi-target runtimes build
Jonathan Roelofs via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 24 12:57:06 PDT 2017
jroelofs added inline comments.
================
Comment at: cmake/modules/LLVMExternalProjectUtils.cmake:185
if(NOT ARG_NO_INSTALL)
- install(CODE "execute_process\(COMMAND \${CMAKE_COMMAND} -DCMAKE_INSTALL_PREFIX=\${CMAKE_INSTALL_PREFIX} -P ${BINARY_DIR}/cmake_install.cmake \)"
+ install(CODE "execute_process\(COMMAND \${CMAKE_COMMAND} -P ${BINARY_DIR}/cmake_install.cmake \)"
COMPONENT ${name})
----------------
phosek wrote:
> I'm not sure on what's the best way to handle the install prefix. When building runtimes for multiple targets, only one of them can use the "default" install prefix, others have to use a different one otherwise they'll overwrite each other files.
I'd shove them all under: `lib/clang-runtimes/$triple/{lib,include}`, and specifically not use a "default" install prefix.
Repository:
rL LLVM
https://reviews.llvm.org/D32816
More information about the llvm-commits
mailing list