[all-commits] [llvm/llvm-project] 86e23c: Detect Visual Studio in Windows packaging script

Pierrick Bouvier via All-commits all-commits at lists.llvm.org
Thu Oct 6 01:19:57 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 86e23c4e1f89257ab9a26ca1c37a4b2d1cfb1252
      https://github.com/llvm/llvm-project/commit/86e23c4e1f89257ab9a26ca1c37a4b2d1cfb1252
  Author: Pierrick Bouvier <pierrick.bouvier at linaro.org>
  Date:   2022-10-06 (Thu, 06 Oct 2022)

  Changed paths:
    M llvm/utils/release/build_llvm_release.bat

  Log Message:
  -----------
  Detect Visual Studio in Windows packaging script

Instead of hardcoding a specific VS install, try sequentially:

- %VSINSTALLDIR% (already set from a vs prompt)
- 2019/Enterprise
- 2019/Professional
- 2019/Community
- 2019/BuildTools

It stops when one is found and set vsdevcmd env var.

Differential revision: https://reviews.llvm.org/D135173




More information about the All-commits mailing list