Skip to content

Commit

Permalink
Correct minimum Visual Studio version requirements
Browse files Browse the repository at this point in the history
We bumped the requirements to MSVC 2019 16.7 in 2022:
https://discourse.llvm.org/t/rfc-increasing-the-gcc-and-clang-requirements-to-support-c-17-in-llvm/59983
but missed updating these docs.
  • Loading branch information
AaronBallman committed Sep 6, 2023
1 parent 65331da commit ec70337
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions clang/www/get_started.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Clang - Getting Started</title>
<link type="text/css" rel="stylesheet" href="menu.css">
<link type="text/css" rel="stylesheet" href="content.css">
Expand Down Expand Up @@ -125,7 +125,7 @@ <h3 id="buildWindows">Using Visual Studio</h3>
project files. Get it from:
<a href="https://cmake.org/download/">
https://cmake.org/download/</a></li>
<li><b>Visual Studio 2017 or later</b></li>
<li><b>Visual Studio 2019 16.7 or later</b></li>
<li><b>Python</b>. It is used to run the clang test suite. Get it from:
<a href="https://www.python.org/download/">
https://www.python.org/download/</a></li>
Expand Down Expand Up @@ -156,8 +156,8 @@ <h3 id="buildWindows">Using Visual Studio</h3>
<li><tt>mkdir build</tt> (for building without polluting the source dir)</li>
<li><tt>cd build</tt></li>
<li>
If you are using Visual Studio 2017:
<tt>cmake -DLLVM_ENABLE_PROJECTS=clang -G "Visual Studio 15 2017" -A x64 -Thost=x64 ..\llvm</tt><br/>
If you are using Visual Studio 2019:
<tt>cmake -DLLVM_ENABLE_PROJECTS=clang -G "Visual Studio 16 2019" -A x64 -Thost=x64 ..\llvm</tt><br/>
<tt>-Thost=x64</tt> is required, since the 32-bit linker will run out of memory.
</li>
<li>To generate x86 binaries instead of x64, pass <tt>-A Win32</tt>.</li>
Expand Down

0 comments on commit ec70337

Please sign in to comment.