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 {
712712 ASN1
713713 Certificates
714714 System
715+ Subprocess
715716 Build
716717 PackageManager
717718 Markdown
@@ -2997,6 +2998,19 @@ function Build-System([Hashtable] $Platform) {
29972998 }
29982999}
29993000
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+
30003014function Build-Build ([Hashtable ] $Platform ) {
30013015 # Use lld to workaround the ARM64 LNK1322 issue: https://github.com/swiftlang/swift/issues/79740
30023016 # FIXME(hjyamauchi) Have a real fix
@@ -3707,6 +3721,7 @@ if (-not $SkipBuild) {
37073721 Invoke-BuildStep Build-Collections $HostPlatform
37083722 Invoke-BuildStep Build-Certificates $HostPlatform
37093723 Invoke-BuildStep Build-System $HostPlatform
3724+ Invoke-BuildStep Build-Subprocess $HostPlatform
37103725 Invoke-BuildStep Build-Build $HostPlatform
37113726 Invoke-BuildStep Build-PackageManager $HostPlatform
37123727 Invoke-BuildStep Build-Markdown $HostPlatform
You can’t perform that action at this time.
0 commit comments