[llvm-commits] [PATCH][CMake] Removing LLVMLibDeps.cmake and exporting libraries for CMake clients.
Rafael Espindola
espindola at google.com
Sat Sep 11 13:28:45 PDT 2010
> There are numerous benefits to explicitly-maintained library dependencies:
> - It's clear what those dependencies are, which leads to better understanding of the system as a whole
>
> - Changes in dependencies, which are fundamentally architectural changes, become obvious when they happen
>
> - Dependencies can make their way into other tools far more easily, e.g., component-based CPack installers (e.g., http://www.paraview.org/Wiki/CMake:Component_Install_With_CPack)
>
> - It's clean and easy-to-understand, unlike our implicit dependency-generation scripts (and mapping from those to CMake dependencies)
>
> - On the "make" side of the world, explicit dependencies could improve build performance by exposing more parallelism. CMake-generated make files build faster than the autotools-generated makefiles, partly for this reason
+1
Ideally we would have manually declared and automatically checked
dependencies. Even better if both the auto* and the cmake build used
the same list, but this is already an improvement.
Cheers,
--
Rafael Ávila de Espíndola
More information about the llvm-commits
mailing list