[PATCH] D64326: Retire VS2015 Support
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 9 03:11:36 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL365452: Retire VS2015 Support (authored by RKSimon, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D64326?vs=208391&id=208625#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64326/new/
https://reviews.llvm.org/D64326
Files:
llvm/trunk/cmake/modules/CheckCompilerVersion.cmake
llvm/trunk/docs/GettingStarted.rst
llvm/trunk/docs/GettingStartedVS.rst
llvm/trunk/docs/ReleaseNotes.rst
Index: llvm/trunk/docs/ReleaseNotes.rst
===================================================================
--- llvm/trunk/docs/ReleaseNotes.rst
+++ llvm/trunk/docs/ReleaseNotes.rst
@@ -76,6 +76,12 @@
pointee type. In the next release we intend to make this parameter
mandatory in preparation for opaque pointer types.
+Changes to building LLVM
+------------------------
+
+* Building LLVM with Visual Studio now requires version 2017 or later.
+
+
Changes to the ARM Backend
--------------------------
Index: llvm/trunk/docs/GettingStartedVS.rst
===================================================================
--- llvm/trunk/docs/GettingStartedVS.rst
+++ llvm/trunk/docs/GettingStartedVS.rst
@@ -39,13 +39,13 @@
Hardware
--------
-Any system that can adequately run Visual Studio 2015 is fine. The LLVM
+Any system that can adequately run Visual Studio 2017 is fine. The LLVM
source tree and object files, libraries and executables will consume
approximately 3GB.
Software
--------
-You will need Visual Studio 2015 or higher, with the latest Update installed.
+You will need Visual Studio 2017 or higher, with the latest Update installed.
You will also need the `CMake <http://www.cmake.org/>`_ build system since it
generates the project files you will use to build with.
Index: llvm/trunk/docs/GettingStarted.rst
===================================================================
--- llvm/trunk/docs/GettingStarted.rst
+++ llvm/trunk/docs/GettingStarted.rst
@@ -240,7 +240,7 @@
* Clang 3.1
* Apple Clang 3.1
* GCC 4.8
-* Visual Studio 2015 (Update 3)
+* Visual Studio 2017
Anything older than these toolchains *may* work, but will require forcing the
build system with a special option and is not really a supported host platform.
@@ -275,7 +275,7 @@
This section mostly applies to Linux and older BSDs. On macOS, you should
have a sufficiently modern Xcode, or you will likely need to upgrade until you
do. Windows does not have a "system compiler", so you must install either Visual
-Studio 2015 or a recent version of mingw64. FreeBSD 10.0 and newer have a modern
+Studio 2017 or a recent version of mingw64. FreeBSD 10.0 and newer have a modern
Clang as the system compiler.
However, some Linux distributions and some other or older BSDs sometimes have
Index: llvm/trunk/cmake/modules/CheckCompilerVersion.cmake
===================================================================
--- llvm/trunk/cmake/modules/CheckCompilerVersion.cmake
+++ llvm/trunk/cmake/modules/CheckCompilerVersion.cmake
@@ -10,7 +10,10 @@
set(CLANG_SOFT_ERROR 3.5)
set(APPLECLANG_MIN 3.1)
set(APPLECLANG_SOFT_ERROR 6.0)
-set(MSVC_MIN 19.00.24213.1)
+
+# https://en.wikipedia.org/wiki/Microsoft_Visual_C#Internal_version_numbering
+# _MSC_VER == 1910 MSVC++ 14.1 (Visual Studio 2017 version 15.0)
+set(MSVC_MIN 19.1)
set(MSVC_SOFT_ERROR 19.1)
# Map the above GCC versions to dates: https://gcc.gnu.org/develop.html#timeline
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64326.208625.patch
Type: text/x-patch
Size: 2955 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190709/cfa1619d/attachment.bin>
More information about the llvm-commits
mailing list