[cfe-dev] Git Clone on Windows Issues

Aaron W.Hsu arcfide at sacrideo.us
Thu Oct 30 22:58:06 PDT 2014


Dear Clang and LLVM developers:


The git mirror at llvm.org/git has revealed an interesting note about getting the clang source on Windows. In particular, clang’s regression suite is sensitive to line endings, and requires that the repositories be checked out to preserve LF line endings. Some git configurations (including the default GitHub for Windows settings) will automatically convert line endings on checkout and checkin. This leads to around 68 to 69 regression suite failures that are not found if one clones the repository in such a way as to maintain LF line endings. 


This isn’t noted anywhere, but I think it should be, as this could lead to a great deal of misunderstanding when building Clang with Visual Studio on Windows. 






-- 
Aaron W. Hsu | arcfide at sacrideo.us | http://www.sacrideo.us
Please support my work: https://www.gratipay.com/arcfide/
לֵ֤ב חֲכָמִים֙ בְּבֵ֣ית אֵ֔בֶל וְלֵ֥ב כְּסִילִ֖ים בְּבֵ֥ית שִׂמְחָֽה׃
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20141031/18c08f92/attachment.html>


More information about the cfe-dev mailing list