<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><font size="-1">Have you already looked at this page?</font></p>
<p><font size="-1"><a class="moz-txt-link-freetext" href="https://llvm.org/docs/GettingStarted.html#getting-started-quickly-a-summary">https://llvm.org/docs/GettingStarted.html#getting-started-quickly-a-summary</a></font></p>
<p><font size="-1"><br>
</font></p>
<p><font size="-1">What OS are you on?</font></p>
<p><font size="-1"><br>
</font></p>
<p><font size="-1">Neil Nelson<br>
</font></p>
<p><font size="-1"><br>
</font></p>
<div class="moz-cite-prefix"><font size="-1">On 10/6/19 2:29 PM,
Fletcher, John P via cfe-dev wrote:</font><br>
</div>
<blockquote type="cite"
cite="mid:AM0PR0102MB30596A2409C3EC5F141D0D499C980@AM0PR0102MB3059.eurprd01.prod.exchangelabs.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
<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" moz-do-not-send="true">
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);" moz-do-not-send="true">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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
cfe-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev">https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a>
</pre>
</blockquote>
</body>
</html>