From 629ea19994d832a7de806e451941dd4904bcc5ed Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Tue, 19 Nov 2019 19:10:30 +0100 Subject: deps: upgrade bundled LuaRocks: 2.4.4 => 3.2.1 (#10292) Changelog: https://github.com/luarocks/luarocks/compare/v2.4.4..v3.2.1#diff-4ac32a78649ca5bdd8e0ba38b7006a1e --- ci/build.ps1 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ci') diff --git a/ci/build.ps1 b/ci/build.ps1 index 49fd61abf6..244b4766b2 100644 --- a/ci/build.ps1 +++ b/ci/build.ps1 @@ -114,6 +114,11 @@ if (-Not (Test-Path -PathType Leaf "$env:TREE_SITTER_DIR\bin\c.dll")) { exit 1 } +if ($compiler -eq 'MSVC') { + # Required for LuaRocks (https://github.com/luarocks/luarocks/issues/1039#issuecomment-507296940). + $env:VCINSTALLDIR = "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/" +} + function convertToCmakeArgs($vars) { return $vars.GetEnumerator() | foreach { "-D$($_.Key)=$($_.Value)" } } -- cgit