<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 10, 2017, at 5:57 PM, Matthias Braun via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Mar 10, 2017, at 4:25 PM, David Blaikie via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><br class=""><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Thu, Mar 9, 2017 at 3:00 PM Chris Bieneman <<a href="mailto:beanz@apple.com" class="">beanz@apple.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="gmail_msg">I'll try and reproduce later today. Is this Linux? Can you give me your CMake command line?</div></blockquote><div class=""><br class="">Excuse the delay, been busy setting up a new machine - also an opportunity to try clean cmake setups rather than my aging configurations that have a bunch of old stuff baked in and manual variables changed, etc. (& I do so wish that CMakeCache.txt had a comment at teh top describing the command that produced it like the config.log - that way I'd probably be more likely to copy/paste and modify the command line than hand editing the cache file)<br class=""></div></div></div></div></blockquote><div class="">At least newer cmakes have something like:</div><div class="">LLVM_TARGETS_TO_BUILD-MODIFIED:INTERNAL=ON</div><div class="">in the cache file to indicate that the user changed LLVM_TARGET_TOBUILD.</div><div class=""><br class=""></div><div class="">So at least the information is there and you can manually look around / reproduce it. Unfortunately I don't know a command that automatically cleans the cache except for the XXX-MODIFIED variables...</div></div></div></div></blockquote><div>Just checked this again, it seems the XXX-MODIFIED bits are only set if you change the variable through ccmake, but not when you changed it with -D on the commandline. That doesn't really help then for most people.</div><div><br class=""></div><div>- Matthias</div></div></body></html>