[LLVMdev] compiler-rt with MSVC?
Reid Kleckner
rnk at google.com
Mon Sep 22 22:30:15 PDT 2014
I know we build at least lib/sanitizer_common and lib/asan. I don't know
about lib/builtins.
On Mon, Sep 22, 2014 at 8:09 PM, Tony Kelman <kelman at berkeley.edu> wrote:
> I’m trying to figure out how to build compiler-rt 3.5.0 with Visual Studio
> 2013. In an autotools build or cmake on Linux, I believe putting the
> compiler-rt sources under llvm/projects is enough to build them
> automatically. Do I need to do anything specific to get the same with MSVC?
> I've tried setting -DLLVM_BUILD_EXTERNAL_COMPILER_RT either ON or OFF,
> but can't find any evidence of compiler-rt getting built. If I build
> compiler-rt separately, pointing it to an installed LLVM build with
> -DLLVM_CONFIG_PATH, the only thing that ends up in the install result is
> the sanitizer headers. Should this be working, or is it still under
> construction? When I tried with LLVM 3.3 I was getting a bunch of syntax
> errors from MSVC in compiler-rt, so presumably it wasn't yet
> MSVC-compatible at that time. Has the MSVC build just been disabled
> somewhere to avoid this?
>
> Thanks,
> Tony
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140922/d8641206/attachment.html>
More information about the llvm-dev
mailing list