[llvm-dev] Use of host/target compiler when building compiler-rt

Matthias Braun via llvm-dev llvm-dev at lists.llvm.org
Fri Mar 10 18:07:10 PST 2017


> On Mar 10, 2017, at 5:57 PM, Matthias Braun via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> 
>> On Mar 10, 2017, at 4:25 PM, David Blaikie via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
>> 
>> 
>> 
>> On Thu, Mar 9, 2017 at 3:00 PM Chris Bieneman <beanz at apple.com <mailto:beanz at apple.com>> wrote:
>> I'll try and reproduce later today. Is this Linux? Can you give me your CMake command line?
>> 
>> 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)
> At least newer cmakes have something like:
> LLVM_TARGETS_TO_BUILD-MODIFIED:INTERNAL=ON
> in the cache file to indicate that the user changed LLVM_TARGET_TOBUILD.
> 
> 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...
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.

- Matthias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170310/3b1a3847/attachment.html>


More information about the llvm-dev mailing list