File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -712,6 +712,7 @@ enum Project {
712
712
ASN1
713
713
Certificates
714
714
System
715
+ Subprocess
715
716
Build
716
717
PackageManager
717
718
Markdown
@@ -2997,6 +2998,19 @@ function Build-System([Hashtable] $Platform) {
2997
2998
}
2998
2999
}
2999
3000
3001
+ function Build-Subprocess ([Hashtable ] $Platform ) {
3002
+ Build-CMakeProject `
3003
+ - Src $sourceCache \swift- subprocess `
3004
+ - Bin (Get-ProjectBinaryCache $Platform Subprocess) `
3005
+ - Platform $Platform `
3006
+ - UseBuiltCompilers C, Swift `
3007
+ - SwiftSDK (Get-SwiftSDK $Platform.OS ) `
3008
+ - Defines @ {
3009
+ BUILD_SHARED_LIBS = " NO" ;
3010
+ CMAKE_STATIC_LIBRARY_PREFIX_Swift = " lib" ;
3011
+ }
3012
+ }
3013
+
3000
3014
function Build-Build ([Hashtable ] $Platform ) {
3001
3015
# Use lld to workaround the ARM64 LNK1322 issue: https://github.com/swiftlang/swift/issues/79740
3002
3016
# FIXME(hjyamauchi) Have a real fix
@@ -3707,6 +3721,7 @@ if (-not $SkipBuild) {
3707
3721
Invoke-BuildStep Build-Collections $HostPlatform
3708
3722
Invoke-BuildStep Build-Certificates $HostPlatform
3709
3723
Invoke-BuildStep Build-System $HostPlatform
3724
+ Invoke-BuildStep Build-Subprocess $HostPlatform
3710
3725
Invoke-BuildStep Build-Build $HostPlatform
3711
3726
Invoke-BuildStep Build-PackageManager $HostPlatform
3712
3727
Invoke-BuildStep Build-Markdown $HostPlatform
You can’t perform that action at this time.
0 commit comments