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 @@ -707,6 +707,7 @@ enum Project {
707
707
ASN1
708
708
Certificates
709
709
System
710
+ Subprocess
710
711
Build
711
712
PackageManager
712
713
Markdown
@@ -3018,6 +3019,19 @@ function Build-System([Hashtable] $Platform) {
3018
3019
}
3019
3020
}
3020
3021
3022
+ function Build-Subprocess ([Hashtable ] $Platform ) {
3023
+ Build-CMakeProject `
3024
+ - Src $sourceCache \swift- subprocess `
3025
+ - Bin (Get-ProjectBinaryCache $Platform Subprocess) `
3026
+ - Platform $Platform `
3027
+ - UseBuiltCompilers C, Swift `
3028
+ - SwiftSDK (Get-SwiftSDK $Platform.OS ) `
3029
+ - Defines @ {
3030
+ BUILD_SHARED_LIBS = " NO" ;
3031
+ CMAKE_STATIC_LIBRARY_PREFIX_Swift = " lib" ;
3032
+ }
3033
+ }
3034
+
3021
3035
function Build-Build ([Hashtable ] $Platform ) {
3022
3036
# Use lld to workaround the ARM64 LNK1322 issue: https://github.com/swiftlang/swift/issues/79740
3023
3037
# FIXME(hjyamauchi) Have a real fix
@@ -3728,6 +3742,7 @@ if (-not $SkipBuild) {
3728
3742
Invoke-BuildStep Build-Collections $HostPlatform
3729
3743
Invoke-BuildStep Build-Certificates $HostPlatform
3730
3744
Invoke-BuildStep Build-System $HostPlatform
3745
+ Invoke-BuildStep Build-Subprocess $HostPlatform
3731
3746
Invoke-BuildStep Build-Build $HostPlatform
3732
3747
Invoke-BuildStep Build-PackageManager $HostPlatform
3733
3748
Invoke-BuildStep Build-Markdown $HostPlatform
You can’t perform that action at this time.
0 commit comments