From a82a0079b38bb94d193352c24b8b51c9aa4513e9 Mon Sep 17 00:00:00 2001 From: Eli Black Date: Tue, 31 Oct 2023 11:26:25 +0800 Subject: [PATCH] Remove references to VS 2017. Bump VS 2019 to 2022. --- clang/www/get_started.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/clang/www/get_started.html b/clang/www/get_started.html index dda914a46904e..b958a671fc02f 100755 --- a/clang/www/get_started.html +++ b/clang/www/get_started.html @@ -125,7 +125,7 @@

Using Visual Studio

project files. Get it from: https://cmake.org/download/ -
  • Visual Studio 2019 16.7 or later
  • +
  • Visual Studio 2019 16.7 or later. This tutorial assumes Visual Studio 2022.
  • Python. It is used to run the clang test suite. Get it from: https://www.python.org/download/
  • @@ -156,8 +156,8 @@

    Using Visual Studio

  • mkdir build (for building without polluting the source dir)
  • cd build
  • - If you are using Visual Studio 2019: - cmake -DLLVM_ENABLE_PROJECTS=clang -G "Visual Studio 16 2019" -A x64 -Thost=x64 ..\llvm
    + If you are using Visual Studio 2022: + cmake -DLLVM_ENABLE_PROJECTS=clang -G "Visual Studio 17 2022" -A x64 -Thost=x64 ..\llvm
    -Thost=x64 is required, since the 32-bit linker will run out of memory.
  • To generate x86 binaries instead of x64, pass -A Win32.
  • @@ -195,12 +195,12 @@

    Using Ninja alongside Visual Studio

  • If you open the start menu and search for "Command Prompt", you should see shortcuts created by Visual Studio to do this. To use native x64 tools, choose the one titled "x64 Native Tools Command Prompt for VS - 2017".
  • + 2022".
  • Alternatively, launch a regular cmd prompt and run the - appropriate vcvarsall.bat incantation. To get the 2017 x64 tools, this + appropriate vcvarsall.bat incantation. To get the 2022 x64 tools, this would be:
    - "C:\Program Files (x86)\Microsoft Visual - Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64 + "C:\Program Files\Microsoft Visual + Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x64