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

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 27 04:54:23 PDT 2022


mstorsjo added a comment.
Herald added subscribers: JDevlieghere, jdoerfert.

This broke builds where clang/lld/lldb are symlinked into `llvm/tools` instead of specified via `LLVM_ENABLE_PROJECTS` - since `${CMAKE_CURRENT_SOURCE_DIR}/../cmake` doesn't find anything in that context.

(The reason for wanting to stick to such a legacy setup, is that ccache caches can't be shared between workdirs for source files that are found outside of the base `llvm-project/llvm` directory - and I'm heavily reliant on ccache for keeping build times manageable in my dev workflow.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136572



More information about the llvm-commits mailing list