[cfe-dev] [libcxx] What degree of Windows and/or MSVC support is already present?

Ben Craig via cfe-dev cfe-dev at lists.llvm.org
Thu Apr 20 06:16:02 PDT 2017


Thanks for the info.  I somehow missed the mention of experimental windows support on the BuildingLibcxx page.

Are there any efforts to support things like Cygwin?  Or is clang-cl targeting Win32 and x64 desktops the extent of things now?

Also, many thanks to EricWF for getting a Windows buildbot up!

From: Shoaib Meenai [mailto:smeenai at fb.com]
Sent: Wednesday, April 19, 2017 3:58 PM
To: Ben Craig <ben.craig at ni.com>; via cfe-dev <cfe-dev at lists.llvm.org>
Cc: Saleem Abdulrasool <compnerd at compnerd.org>; Eric Fiselier <eric at efcs.ca>
Subject: Re: [cfe-dev] [libcxx] What degree of Windows and/or MSVC support is already present?

compnerd (CC'd) did the initial work to port libc++ to Windows (including adding support for native Windows threading). EricWF (also CC'd) continued that work, particularly around tests and vcruntime support. I've done some fix-ups here and there.

Last I checked, libc++ on Windows x86 compiled successfully with clang-cl, and only failed around 200 tests (out of over 5000). There's documentation for building and running tests on Windows at http://libcxx.llvm.org/docs/BuildingLibcxx.html#experimental-support-for-windows. I was maintaining a Google Doc tracking the test failures at https://docs.google.com/spreadsheets/d/1Yonp8WidaIBb9mmzy6aV92wbjBYEargyrlIYc75r3Gk/edit#gid=0, though it's probably fairly out of date now. EricWF also set up an appveyor bot at https://ci.appveyor.com/project/EricWF/libcxx.

One known issue is a lack of locale support (https://bugs.llvm.org/show_bug.cgi?id=31516). I'll be working more on addressing that (and the remaining test failures) over the next couple of months.

cl support hasn't been an explicit goal for any of us yet. It would definitely be nice to have though, and I'm aware of the work you've been doing on that front.

From: cfe-dev <cfe-dev-bounces at lists.llvm.org<mailto:cfe-dev-bounces at lists.llvm.org>> on behalf of cfe-dev <cfe-dev at lists.llvm.org<mailto:cfe-dev at lists.llvm.org>>
Reply-To: Ben Craig <ben.craig at ni.com<mailto:ben.craig at ni.com>>
Date: Wednesday, April 19, 2017 at 1:33 PM
To: cfe-dev <cfe-dev at lists.llvm.org<mailto:cfe-dev at lists.llvm.org>>
Subject: [cfe-dev] [libcxx] What degree of Windows and/or MSVC support is already present?

I’ve seen some commits (largely from smeenai) that deal with Microsoft technologies.  I’m curious as to what is currently supported, and what is in progress, as it is relevant to my aspirations of Windows kernel support with MSVC 2017.

Is any Microsoft platform as a target supported from any compiler?  Is any Microsoft compiler supported?

I know the tests have had substantial fixes and restructuring in order to be used by the Microsoft libraries team (STL et al).  If libcxx itself has some configuration that works though, I’d like to know how to set it up so that I don’t break it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170420/7ffaa983/attachment.html>


More information about the cfe-dev mailing list