File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -1360,6 +1360,16 @@ function Build-Compilers() {
1360
1360
$env: LIT_XFAIL = $TestsToXFail -join " ;"
1361
1361
$env: LIT_FILTER_OUT = " ($ ( $TestsToSkip -join ' |' ) )"
1362
1362
1363
+ # Install packages that the test suite requires
1364
+ & $python - m pip install psutil
1365
+ & $python - m pip install packaging
1366
+
1367
+ # Install make tool from GunWin32
1368
+ $MakeToolPath = " C:/Program Files (x86)/GnuWin32/bin/make.exe"
1369
+ if (-not (Test-Path $MakeToolPath )) {
1370
+ & winget install GnuWin32.Make
1371
+ }
1372
+
1363
1373
$TestingDefines += @ {
1364
1374
LLDB_ENABLE_PYTHON = " YES" ;
1365
1375
# Check for required Python modules in CMake
@@ -1368,6 +1378,8 @@ function Build-Compilers() {
1368
1378
LLVM_ENABLE_PROJECTS = " clang;clang-tools-extra;lld;lldb" ;
1369
1379
# No watchpoint support on windows: https://github.com/llvm/llvm-project/issues/24820
1370
1380
LLDB_TEST_USER_ARGS = " --skip-category=watchpoint" ;
1381
+ # TODO: winget install GnuWin32.Make
1382
+ LLDB_TEST_MAKE = $MakeToolPath
1371
1383
# gtest sharding breaks llvm-lit's --xfail and LIT_XFAIL inputs: https://github.com/llvm/llvm-project/issues/102264
1372
1384
LLVM_LIT_ARGS = " -v --no-gtest-sharding --show-xfail --show-unsupported" ;
1373
1385
# LLDB Unit tests link against this library
You can’t perform that action at this time.
0 commit comments