<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 02/04/17 16:20, Timo Janssen via
llvm-dev wrote:<br>
</div>
<blockquote
cite="mid:34495b56-86ba-58cf-6aca-3c1d536013e3@gmail.com"
type="cite">I have tried it again. I first build a clang 4.0 final
from sources and then tried to build it with
LLVM_ENABLE_MODULES=ON and still errors.
<br>
</blockquote>
There was a typo in the initial command from the attachment but I
assume you fixed that. It seems you are building with libstdc++.
Older versions of libstdc++ don't work well with modules. Could you
tell us which version you are using (echo "" | clang -fsyntax-only
-x c++ - -v). Anything later than 6 should work, alternatively you
could build llvm against libc++.<br>
<br>
-- Vassil<br>
<blockquote
cite="mid:34495b56-86ba-58cf-6aca-3c1d536013e3@gmail.com"
type="cite">
<br>
<br>
I put a file as an attachment to this e-mail with the terminal
output.
<br>
<br>
<br>
Am 30.03.2017 um 11:42 schrieb Vassil Vassilev:
<br>
<blockquote type="cite">Hi Timo,
<br>
On 25/03/17 21:53, Timo Janssen via llvm-dev wrote:
<br>
<blockquote type="cite">Hallo all,
<br>
<br>
<br>
I was trying to Build LLVM with the cmake option
LLVM_ENABLE_MODULES just out of curiosity. I used the
RELEASE_400/final tag.
<br>
<br>
<br>
It didn't work as I almost expected.
<br>
</blockquote>
Could you be more specific?
<br>
<blockquote type="cite">
<br>
<br>
So I'm wondering if the modulemaps aren't maintained anymore?
<br>
</blockquote>
There are two bots building llvm with the modulemap-based
modules support:
<a class="moz-txt-link-freetext" href="http://lab.llvm.org:8011/buildslaves/modules-slave-1">http://lab.llvm.org:8011/buildslaves/modules-slave-1</a> and
<a class="moz-txt-link-freetext" href="http://lab.llvm.org:8011/buildslaves/modules-slave-2">http://lab.llvm.org:8011/buildslaves/modules-slave-2</a>
<br>
<br>
Most of the time they are green.
<br>
<br>
Cheers, Vassil
<br>
<blockquote type="cite">
<br>
If they aren't maintained anymore, why aren't they removed and
that cmake option also removed?
<br>
<br>
_______________________________________________
<br>
LLVM Developers mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a>
</pre>
</blockquote>
<p><br>
</p>
</body>
</html>