[llvm] [CMake] Passthrough variables for packages to subbuilds (PR #107611)

Shoaib Meenai via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 6 10:42:54 PDT 2024


https://github.com/smeenai commented:

Do you happen to know which order CMake passes in the `-C` arg for `CMAKE_CACHE_DEFAULT_ARGS` vs. the arguments inside `CMAKE_ARGS`? If the `-C` goes before `CMAKE_ARGS` (which I suspect), there's a potential interaction with https://reviews.llvm.org/D158791; if you want to use that mechanism to override any of these variables, you'll have to specify `FORCE`. That's fine, just something that came to mind.

https://github.com/llvm/llvm-project/pull/107611


More information about the llvm-commits mailing list