Skip to content

Commit

Permalink
Get appropriate vc tools version
Browse files Browse the repository at this point in the history
  • Loading branch information
ljcollins25 authored Sep 20, 2024
1 parent 078a390 commit 1edbbd9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion repos/.build/arcadebuild.cmd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
REM Build using arcade build logic
powershell -NoLogo -NoProfile -ExecutionPolicy Bypass -Command "eng/common/build.ps1 -restore -build -binarylog -nodeReuse:$false %*"

call "%CodexBuildConfigRoot%\arcade.copybinlogs.cmd"a
call "%CodexBuildConfigRoot%\arcade.copybinlogs.cmd"
13 changes: 9 additions & 4 deletions repos/github/microsoft/buildxl/build.cmd
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
pushd "C:\Program Files (x86)\Microsoft Visual Studio\Installer\"
for /f "delims=" %%x in ('.\vswhere.exe -latest -property InstallationPath') do set VSPATH=%%x
popd
call "%VSPATH%\VC\Auxiliary\Build\vcvarsall.bat" x64

@echo on

set BUILDXL_LOG_DIR=%CodexDebugDir%/bxllogs
echo VCToolsVersion=%VCToolsVersion%

mkdir "%ProgramFiles%/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.39.33519"
dir "%ProgramFiles%/Microsoft Visual Studio/2022/Preview/VC"
dir "%ProgramFiles%/Microsoft Visual Studio/2022/Preview/VC/Tools"
set MSVC_VERSION=%VCToolsVersion%

set BUILDXL_LOG_DIR=%CodexDebugDir%/bxllogs

echo ----- Writing cache config -----

Expand Down

0 comments on commit 1edbbd9

Please sign in to comment.