llvm.org GIT mirror llvm / 05a484b
Add back the top-level target for 'llvm-config' and the dependency edge to force it to build after all library targets so it has complete dependency information. This should fix broken 'make install' with CMake. This is a partial revert of r143540, but it doesn't revert the most important part of that change: removing the dependency edge from LLVM tools to the llvm-config script. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143548 91177308-0d34-0410-b5e6-96231b3b80d8 Chandler Carruth 9 years ago
1 changed file(s) with 7 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
124124 COMMENT "Building llvm-config script."
125125 )
126126
127 add_custom_target(llvm-config.target ALL
128 DEPENDS ${LLVM_CONFIG})
129
130 # Ensure we build llvm-config after we build all of the libraries so that we
131 # have their full dependencies.
132 add_dependencies(llvm-config.target ${llvm_libs})
133
127134 install(FILES ${LLVM_CONFIG}
128135 PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE
129136 WORLD_READ WORLD_EXECUTE