OSDN Git Service

[CMake] Make llvm-config implicit dependency for subprojects
authorChris Bieneman <beanz@apple.com>
Thu, 18 Aug 2016 21:41:21 +0000 (21:41 +0000)
committerChris Bieneman <beanz@apple.com>
Thu, 18 Aug 2016 21:41:21 +0000 (21:41 +0000)
commit85a2cffca4d0b1e8359a471199b1fa814b3ef5aa
treed70929f32182e723c4a17fd78ba4d4d46db50197
parent3ada6da15707b0dc7ead1b89f3efd77cb2f5327b
[CMake] Make llvm-config implicit dependency for subprojects

The subproject interface being used for runtime libraries expects that llvm-config is passed into the subproject for consumption. We currently do this for every subproject, so we should expect that all LLVM ExternalProjects depend on llvm-config for the time being.

Eventually I'd like to see the sub-projects using LLVMConfig.cmake instead of the llvm-config binary, but that will take time to roll out.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279155 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/LLVMExternalProjectUtils.cmake
runtimes/CMakeLists.txt