I'd like to raise our baseline Windows system requirements to Vista, dropping support for running LLVM on Windows XP. Microsoft dropped support for XP half a year ago in April 2014.Our current status is that we require VS 2012 to build LLVM, and VS 2012 only runs on Vista+, but it has the ability produce binaries that run on XP. During the C++11-pocalypse, users expressed interest in keeping this working. I'm proposing that we drop support for this.Vista introduced a lot of handy system APIs that could significantly simplify LLVM's Support library. For example, I'd really like to use the blessed one-time initialization routines in this CL:Vista also introduced a bunch of condition variable APIs that I know less about, but that's another reason we might want to raise our base requirement as people look into parallel LTO and codegen. It also seems likely that we will want to use some of the new C++11 library features that are only present in newer CRTs, which don't run on XP.
Please respond if you have any objections. If there are no strong objections, I think we can start using Vista+ APIs in a week or so. We can still change our minds and revert stuff before the release if users feel this is too short notice.
As long as the new APIs are also supported on current MinGW-w64 compilers, I am for this switch.
--
Johannes S. Mueller-Roemer, MSc
Wiss. Mitarbeiter - Interactive Engineering Technologies (IET)
Fraunhofer-Institut für Graphische Datenverarbeitung IGD
Fraunhoferstr. 5 | 64283 Darmstadt | Germany
Tel +49 6151 155-606 | Fax +49 6151 155-139
_______________________________________________
LLVM Developers mailing list
LLV...@cs.uiuc.edu http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
We formally support our toolchain only on Windows 7 onward, so it's okay with us.
(Please make sure this goes in the release notes when you start doing something not supported in XP and/or Vista.)
--paulr
+1. We may focus Windows 7, aka NT6.1, as the baseline.
2015年7月14日(火) 7:48 Aaron Ballman <aa...@aaronballman.com>:
I think we should definitely get a note into the weekly update. We may
also want to get it into the 3.7 release notes as a warning to users.
I suspect we're in a position to make the switch now. As for the
mechanics, I'm less certain of all the places we have to touch, but
intuition suggests cmake and WindowsSupport.h.
~Aaron
I think we should definitely get a note into the weekly update. We may
also want to get it into the 3.7 release notes as a warning to users.
As long as the new APIs are also supported on current MinGW-w64 compilers, I am for this switch.
I don't think we support mingw.org as host since it lacks C++ 11 atomics. They may be leftover #ifdefs in the code which could be cleaned up.
As a target mingw.org toolchain itself is still quite popular. The mingw.org-specific code are just few lines locating the lib directory and adding an include path so we gain almost nothing by removing them. I personally do not use this toolchain but the mingw-w64 one.
I think we should definitely get a note into the weekly update. We may
also want to get it into the 3.7 release notes as a warning to users.
On Mon, Oct 5, 2015 at 11:14 AM, Hans Wennborg <ha...@chromium.org> wrote:
> Did we conclude that we've dropped Win XP support now?
>
> If so, I'll stop building the win snapshots in xp-compat mode and add
> a note to the 3.8 release notes.
>
> - Hans
llvm...@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
I believe we have, yes.
~Aaron
Release notes updated in r249332.
Thanks,
I'm not certain what other ways we would formalize it beyond the
release notes (and an announcement in the LLVM Weekly updates).
> I'm asking because I would like to use Windows Vista API in this
> http://reviews.llvm.org/D13753 and following patches. It looks it is enough
> to change the macro definition in WindowsSupport.h. Apparently, cmake does
> not set _WIN32_WINNT globally.
There's no issues with using a Vista (or Win 7) API. We're dropping
support for running on XP in 3.8.
~Aaron