llvm.org GIT mirror llvm / 85a2cff
[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 Chris Bieneman 4 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
119119 endif()
120120
121121 ExternalProject_Add(${name}
122 DEPENDS ${ARG_DEPENDS}
122 DEPENDS ${ARG_DEPENDS} llvm-config
123123 ${name}-clobber
124124 PREFIX ${CMAKE_BINARY_DIR}/projects/${name}
125125 SOURCE_DIR ${source_dir}
8080 # together in a single CMake invocaiton.
8181 llvm_ExternalProject_Add(runtimes
8282 ${CMAKE_CURRENT_SOURCE_DIR}
83 DEPENDS ${deps} llvm-config
83 DEPENDS ${deps}
8484 # Builtins were built separately above
8585 CMAKE_ARGS -DCOMPILER_RT_BUILD_BUILTINS=Off
8686 PASSTHROUGH_PREFIXES ${prefixes}