Detect Visual Studio automatically in Windows packaging script
authorPierrick Bouvier <pierrick.bouvier@linaro.org>
Thu, 20 Oct 2022 14:29:15 +0000 (16:29 +0200)
committerTobias Hieta <tobias@hieta.se>
Thu, 20 Oct 2022 14:29:36 +0000 (16:29 +0200)
commitb1e5e81efda4c020a990dc749ef8bfb8bd4b763c
tree203459c9badb0c9187f903b4fec1a0423894ea3b
parent50d9bb6b39c56f394eba63f4b8473a7e5a021e85
Detect Visual Studio automatically in Windows packaging script

Instead of hardcoding several VS paths, use vswhere.exe (available from
VS 2017) to get latest version available.

Reviewed By: hans, thieta

Differential Revision: https://reviews.llvm.org/D135873
llvm/utils/release/build_llvm_release.bat