[PATCH] D136572: Harmonize cmake_policy() across standalone builds of all projects

Michał Górny via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 27 23:46:24 PDT 2022


mgorny added a comment.

In D136572#3889317 <https://reviews.llvm.org/D136572#3889317>, @mstorsjo wrote:

> Also for the record, I'd love to get rid of this symlink based setup, if I could make cmake produce project files where caching works in the same way. The main requirement for that would be to have the whole cmake build started from the toplevel llvm-project directory (so that all source from all subprojects are subdirectories to this), instead of the llvm-project/llvm directory.

To be honest, I also find it weird to start monorepo builds from within `llvm` subdirectory. Perhaps adding a top-level `CMakeLists.txt` that would work and wouldn't break people's workflows wouldn't be that hard, though.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136572/new/

https://reviews.llvm.org/D136572



More information about the cfe-commits mailing list