[all-commits] [llvm/llvm-project] aaf2a4: [gn build] Set -fmsc-version=1920 on Windows

aeubanks via All-commits all-commits at lists.llvm.org
Thu Feb 3 15:56:29 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aaf2a47b1b08e6a06fd74e12746dff97a9d9e6fc
      https://github.com/llvm/llvm-project/commit/aaf2a47b1b08e6a06fd74e12746dff97a9d9e6fc
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2022-02-03 (Thu, 03 Feb 2022)

  Changed paths:
    M llvm/utils/gn/build/BUILD.gn

  Log Message:
  -----------
  [gn build] Set -fmsc-version=1920 on Windows

Now that the minimum version version of MSVC required to build LLVM has
been bumped, we see

  ../../llvm/include\llvm/Support/Compiler.h(94,2): error: LLVM requires
  at least VS 2019.
  #error LLVM requires at least VS 2019.

e.g. http://45.33.8.238/win/53703/step_4.txt

1920 corresponds to the earliest version of VS 2019.

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D118713




More information about the All-commits mailing list