[PATCH] D62353: [cmake] Add new LLVM_CACHE_VARIABLES variable to contains all variables passed to cmake on the commandline or in cache files.

Pavel Labath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 27 01:00:30 PDT 2019

labath added a comment.

If this were to be just a debugging aid, then it does not matter that much that it does not work on reconfigures. We just shouldn't rely on it to make any decisions reflecting the build result. However, it also sounds to me that for bots specifically, we can come up with a better solution. The bot cache idea sounds great to me, but even without it, it should be possible to see the exact cmake command the bot invokes in the "stdio" link, right? That has worked for me for all bots that I needed to examine.

What I think could be helpful in some situations is to dump the resulting CMakeCache.txt after the configuration step completes. That way one could also see the actual configuration being used, which might be helpful in debugging cmake issues.

  rG LLVM Github Monorepo



More information about the llvm-commits mailing list