<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">On Mon, Dec 9, 2019 at 6:45 PM Sean McBride via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">On Wed, 25 Sep 2019 14:49:57 +0200, Hans Wennborg via cfe-dev said:<br>
<br>
>I'm always confused when trying to get locally-built Clang to find<br>
>stdlib headers on my Mac.<br>
><br>
>Last time, after upgrading to Mojave, following the TL;DR advice from<br>
>this answer made it work for me: <a href="https://stackoverflow.com/a/52530212" rel="noreferrer" target="_blank">https://stackoverflow.com/a/52530212</a><br>
<br>
Seems that advice is obsolete. :( Nothing else I found online worked either.<br>
<br>
>It would certainly be nice if this could somehow work out of the box.<br>
<br>
Until then, anyone know how to make one's own build of clang find C++ headers on macOS?<br></blockquote><div><br></div><div>Just replying to say that, BEFORE the move to the monorepo, I never had any trouble with this checklist: <a href="https://quuxplusone.github.io/blog/2018/04/16/building-llvm-from-source/">https://quuxplusone.github.io/blog/2018/04/16/building-llvm-from-source/</a></div><div>AFTER the move to the monorepo, I updated my blog post with something that I thought had worked for me, but it doesn't seem to work really, and I have not had time (or probably the ability) to figure out what's wrong. It appears that essentially, libc++ can no longer be built with OSX's native compiler, and Clang itself can't be built without libc++.</div><div>That is, as of 2019-12-10, the instructions here do not actually work for me: <a href="https://quuxplusone.github.io/blog/2019/11/09/llvm-from-scratch/">https://quuxplusone.github.io/blog/2019/11/09/llvm-from-scratch/</a><br></div><div><br></div><div>–Arthur</div></div></div></div></div>