Revert "try-sth-1"

This reverts commit cedb3f3d4c4e9e334055016c6786715fea21c0b9.
This commit is contained in:
Viktor Szakats 2025-08-17 16:51:38 +02:00
parent e8642937b0
commit 820bfa13b5
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -840,7 +840,8 @@ jobs:
# has no stable disk location, its an MS-DOS batch file setting env,
# and makes it problematic to use from this script.
[[ "$(uname -s)" = *'ARM64'* ]] && MSVC_HOST='arm64' || MSVC_HOST='x64' # x86
MSVC_ROOTU="$(/usr/bin/find "$(cygpath --unix "$PROGRAMFILES/Microsoft Visual Studio/2022/Community/vc/tools/msvc")" -mindepth 1 -maxdepth 1 -type d | head -n 1)"
MSVC_ROOTD="$(cygpath --dos "$PROGRAMFILES/Microsoft Visual Studio")" # to avoid spaces
MSVC_ROOTU="$(/usr/bin/find "$(cygpath --unix "$MSVC_ROOTD/2022/Community/vc/tools/msvc")" -mindepth 1 -maxdepth 1 -type d | head -n 1)"
MSVC_ROOTW="$(cygpath --windows "$MSVC_ROOTU")"
MSVC_ROOTU="$(cygpath --unix "$MSVC_ROOTW")"
MSVC_BINU="$MSVC_ROOTU/bin/Host$MSVC_HOST/$MATRIX_ARCH"