Skip to content

Commit b0bfaa4

Browse files
committed
utils: avoid rebuilding swift-system
Ensure that we pass along swift-system to swift-subprocess when building to avoid the re-cloning and re-building of the dependency. This should reduce any potential bloat and build time costs.
1 parent 4432378 commit b0bfaa4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/build.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3523,6 +3523,7 @@ function Build-Subprocess([Hashtable] $Platform) {
35233523
-Defines @{
35243524
BUILD_SHARED_LIBS = "NO";
35253525
CMAKE_STATIC_LIBRARY_PREFIX_Swift = "lib";
3526+
SwiftSystem_DIR = (Get-ProjectCMakeModules $Platform System);
35263527
}
35273528
}
35283529

0 commit comments

Comments
 (0)