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 {
707707 ASN1
708708 Certificates
709709 System
710+ Subprocess
710711 Build
711712 PackageManager
712713 Markdown
@@ -3018,6 +3019,19 @@ function Build-System([Hashtable] $Platform) {
30183019 }
30193020}
30203021
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+
30213035function Build-Build ([Hashtable ] $Platform ) {
30223036 # Use lld to workaround the ARM64 LNK1322 issue: https://github.com/swiftlang/swift/issues/79740
30233037 # FIXME(hjyamauchi) Have a real fix
@@ -3728,6 +3742,7 @@ if (-not $SkipBuild) {
37283742 Invoke-BuildStep Build-Collections $HostPlatform
37293743 Invoke-BuildStep Build-Certificates $HostPlatform
37303744 Invoke-BuildStep Build-System $HostPlatform
3745+ Invoke-BuildStep Build-Subprocess $HostPlatform
37313746 Invoke-BuildStep Build-Build $HostPlatform
37323747 Invoke-BuildStep Build-PackageManager $HostPlatform
37333748 Invoke-BuildStep Build-Markdown $HostPlatform
You can’t perform that action at this time.
0 commit comments