Skip to content

Commit 6ac8e1d

Browse files
Add LLDB test dependencies
1 parent 1a64db3 commit 6ac8e1d

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

utils/build.ps1

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,10 @@ $Components = @{
212212
URL = "https://github.com/lexxmark/winflexbison/releases/download/v$WinFlexBisonVersion/win_flex_bison-$WinFlexBisonVersion.zip"
213213
Hash = "8D324B62BE33604B2C45AD1DD34AB93D722534448F55A16CA7292DE32B6AC135"
214214
}
215+
GnuWin32Make = @{
216+
URL = "https://downloads.sourceforge.net/project/ezwinports/make-4.4.1-without-guile-w32-bin.zip"
217+
Hash = "fb66a02b530f7466f6222ce53c0b602c5288e601547a034e4156a512dd895ee7"
218+
}
215219
packaging = @{
216220
URL = "https://files.pythonhosted.org/packages/08/aa/cc0199a5f0ad350994d660967a8efb233fe0416e4639146c089643407ce6/packaging-24.1-py3-none-any.whl"
217221
Hash = "5b8f2217dbdbd2f7f384c41c628544e6d52f2d0f53c6d0c3ea61aa5d1d7ff124"
@@ -222,6 +226,14 @@ $Components = @{
222226
URL = "https://files.pythonhosted.org/packages/ff/ae/f19306b5a221f6a436d8f2238d5b80925004093fa3edea59835b514d9057/setuptools-75.1.0-py3-none-any.whl"
223227
Hash = "35ab7fd3bcd95e6b7fd704e4a1539513edad446c097797f2985e0e4b960772f2"
224228
}
229+
psutil = @{
230+
URL = "https://files.pythonhosted.org/packages/11/91/87fa6f060e649b1e1a7b19a4f5869709fbf750b7c8c262ee776ec32f3028/psutil-6.1.0-cp37-abi3-win_amd64.whl"
231+
Hash = "a8fb3752b491d246034fa4d279ff076501588ce8cbcdbb62c32fd7a377d996be"
232+
}
233+
unittest2 = @{
234+
URL = "https://files.pythonhosted.org/packages/72/20/7f0f433060a962200b7272b8c12ba90ef5b903e218174301d0abfd523813/unittest2-1.1.0-py2.py3-none-any.whl"
235+
Hash = "13f77d0875db6d9b435e1d4f41e74ad4cc2eb6e1d5c824996092b3430f088bb8"
236+
}
225237
}
226238

227239
if ($PinnedBuild -eq "") {
@@ -772,6 +784,12 @@ function Fetch-Dependencies {
772784

773785
DownloadAndVerify $PinnedSwift "$BinaryCache\$PinnedToolchain.exe"
774786

787+
if ($Test -contains "lldb") {
788+
# The make tool isn't part of MSYS
789+
DownloadAndVerify "GnuWin32Make" "$BinaryCache\GnuWin32Make-4.4.1.zip"
790+
Extract-ZipFile GnuWin32Make-4.4.1.zip $BinaryCache GnuWin32Make-4.4.1
791+
}
792+
775793
# TODO(compnerd) stamp/validate that we need to re-extract
776794
New-Item -ItemType Directory -ErrorAction Ignore $BinaryCache\toolchains | Out-Null
777795
Extract-Toolchain "$PinnedToolchain.exe" $BinaryCache $PinnedToolchain
@@ -816,6 +834,10 @@ function Fetch-Dependencies {
816834
# Ensure Python modules that are required as host build tools
817835
Ensure-PythonModule "packaging"
818836
Ensure-PythonModule "distutils"
837+
if ($Test -contains "lldb") {
838+
Ensure-PythonModule "psutil"
839+
Ensure-PythonModule "unittest2"
840+
}
819841

820842
if ($Android) {
821843
# Only a specific NDK version is supported right now.

0 commit comments

Comments
 (0)