<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I am building LLVM and Clang from the distribution files using CMake, Ninja and gcc 7.1. I can usually get a clean run on this.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I have noticed with Clang 9.0.0 that I get some error messages which seem to be related to a file VCSRevision.h and a search for git. It declares this to be fatal and carries on!</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
There is very little in the documentation about how to build LLVM and Clang from a distribution as compared to cloning from Git. I am wondering if the build is assuming that git init has been run in the build location.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I have read in the documentation about the CMake variable LLVM_APPEND_VC_REV which is defaulted to ON. Should I be changing this value to OFF?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
It would be helpful to have an official manual for building from a distribution along the lines of this unofficial one which I have found to be helpful although now dated:
<a href="http://chiselapp.com/user/ttmrichter/repository/gng/doc/trunk/output/blog/2016/01-llvm-clang-missing-manual.html" id="LPlnk333621">
http://chiselapp.com/user/ttmrichter/repository/gng/doc/trunk/output/blog/2016/01-llvm-clang-missing-manual.html</a></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Best wishes</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
John Fletcher</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="LPBorder_GTaHR0cDovL2NoaXNlbGFwcC5jb20vdXNlci90dG1yaWNodGVyL3JlcG9zaXRvcnkvZ25nL2RvYy90cnVuay9vdXRwdXQvYmxvZy8yMDE2LzAxLWxsdm0tY2xhbmctbWlzc2luZy1tYW51YWwuaHRtbA.." class="LPBorder262994" style="width: 100%; margin-top: 16px; margin-bottom: 16px; position: relative; max-width: 800px; min-width: 424px;" contenteditable="false">
<table id="LPContainer262994" role="presentation" style="padding: 12px 36px 12px 12px; width: 100%; border-width: 1px; border-style: solid; border-color: rgb(200, 200, 200); border-radius: 2px;">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td style="width: 100%;">
<div id="LPTitle262994" style="font-size: 21px; font-weight: 300; margin-right: 8px; font-family: "wf_segoe-ui_light", "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; margin-bottom: 12px;">
<a target="_blank" id="LPUrlAnchor262994" href="http://chiselapp.com/user/ttmrichter/repository/gng/doc/trunk/output/blog/2016/01-llvm-clang-missing-manual.html" style="text-decoration: none; color:var(--themePrimary);">Building LLVM/Clang: The Missing Manual</a></div>
<div id="LPDescription262994" style="font-size: 14px; max-height: 100px; color: rgb(102, 102, 102); font-family: "wf_segoe-ui_normal", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; margin-bottom: 12px; margin-right: 8px; overflow: hidden;">
LLVM and its attendant compiler project Clang are powerhouses in F/OSS. Unfortunately its attendant documentation is not such a powerhouse. Indeed its documentation for getting started with it is laughably terrible. Consider the "getting started" guide for
LLVM. Now consider the equivalent document for Clang.</div>
<div id="LPMetadata262994" style="font-size: 14px; font-weight: 400; color: rgb(166, 166, 166); font-family: "wf_segoe-ui_normal", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif;">
chiselapp.com</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
</body>
</html>