[llvm-dev] [RFC] Removing autoconf from trunk

Jonathan Roelofs via llvm-dev llvm-dev at lists.llvm.org
Thu Jan 14 10:15:11 PST 2016



On 1/13/16 3:52 PM, Dan Liew via llvm-dev wrote:
>> Also, we should be able to allow in-source cmake builds once we remove the
>> makefiles, right?
>
> I'm strongly against enabling in-source cmake builds. Apart from being
> IMHO bad practise
> certain parts of our CMake files may be assuming. the build is out of
> source (e.g. I had a patch recently that assumed this because
> in-source builds were impossible at the time).
>
> We seemed to be doing fine so far without in-source cmake builds so I
> see no good reason to add support for them.

+1

It's so hard to achieve clean out-of-source builds when folks start 
doing in-source-builds... but this is important for maintaining build 
reproducibility. At the very least, if in-source builds are to be 
allowed, there ought to be a buildbot that complains when modifications 
to the source tree happen in out-of-source builds (and perhaps that 
ought to be something that we have anyway?).


Jon

> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>

-- 
Jon Roelofs
jonathan at codesourcery.com
CodeSourcery / Mentor Embedded


More information about the llvm-dev mailing list