File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1025,7 +1025,12 @@ function Get-Dependencies {
1025
1025
Install-PythonWheel " packaging" # For building LLVM 18+
1026
1026
Install-PythonWheel " distutils" # Required for SWIG support
1027
1027
if ($Test -contains " lldb" ) {
1028
- Install-PythonWheel " psutil" # Required for testing LLDB
1028
+ if ($env: PROCESSOR_ARCHITECTURE -eq " ARM64" ) {
1029
+ Write-Output " Installing 'psutil' ..."
1030
+ Invoke-Program - OutNull " $ ( Get-PythonExecutable ) " ' -I' - m pip install " psutil==6.1.0" -- disable-pip - version- check
1031
+ } else {
1032
+ Install-PythonWheel " psutil" # Required for testing LLDB
1033
+ }
1029
1034
$env: Path = " $ ( Get-PythonScriptsPath ) ;$env: Path " # For unit.exe
1030
1035
Install-PythonWheel " unittest2" # Required for testing LLDB
1031
1036
}
You can’t perform that action at this time.
0 commit comments