Skip to content

Commit d9ee0ee

Browse files
Copy swiftCore.dll in build-script not CMake
1 parent 2179453 commit d9ee0ee

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

utils/build.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1370,6 +1370,11 @@ function Build-Compilers() {
13701370
& winget install GnuWin32.Make
13711371
}
13721372

1373+
# Transitive dependency if _lldb.pyd: CMake cannot copy it, because it
1374+
# doesn't exist during the initial build.
1375+
$RuntimeBinaryCache = Get-TargetProjectBinaryCache $Arch Runtime
1376+
cp $RuntimeBinaryCache\bin\swiftCore.dll "$CompilersBinaryCache\lib\site-packages\lldb"
1377+
13731378
$TestingDefines += @{
13741379
LLDB_ENABLE_PYTHON = "YES";
13751380
# Check for required Python modules in CMake

0 commit comments

Comments
 (0)