[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfe-dev
Subject:    [cfe-dev] PSA: clang-cl can self host now!
From:       Zachary Turner <zturner () google ! com>
Date:       2015-02-25 20:48:38
Message-ID: CAAErz9gaXRfrgJNmBKg9=RYM3c3miYpX0tRdg6w9Yto6uZifkw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Over the weekend I had a random urge to make clang-cl be able to self
host.  As of r230539, this should now be possible.  Steps to try this out:

1) Run vcvarsall.bat, same as you would for an MSVC hosted build.
2) set CC=CXX=clang-cl  (make sure it's in your path
3) Run CMake as you normally would, no special flags needed.
4) There is no 4, that's it!

Currently LLD will not build, so if you have cloned LLD into your repo you
will need to not build it.  llvm, clang, and lldb should build though, so
you can run "ninja lldb clang" for example and produce a working build.
I've been told that a fix for LLD is forthcoming sometime today or tomorrow.

Feel free to post any issues you encounter.

[Attachment #5 (text/html)]

<div dir="ltr">Over the weekend I had a random urge to make clang-cl be able to self \
host.   As of r230539, this should now be possible.   Steps to try this \
out:<div><br></div><div>1) Run vcvarsall.bat, same as you would for an MSVC hosted \
build.</div><div>2) set CC=CXX=clang-cl   (make sure it&#39;s in your \
path</div><div>3) Run CMake as you normally would, no special flags \
needed.</div><div>4) There is no 4, that&#39;s it!</div><div><br></div><div>Currently \
LLD will not build, so if you have cloned LLD into your repo you will need to not \
build it.   llvm, clang, and lldb should build though, so you can run &quot;ninja \
lldb clang&quot; for example and produce a working build.   I&#39;ve been told that a \
fix for LLD is forthcoming sometime today or tomorrow.</div><div><br></div><div>Feel \
free to post any issues you encounter.</div></div>



_______________________________________________
cfe-dev mailing list
cfe-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic