File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -850,6 +850,7 @@ enum Project {
850
850
Subprocess
851
851
Build
852
852
PackageManager
853
+ PackageManagerRuntime
853
854
Markdown
854
855
Format
855
856
LMDB
@@ -3603,6 +3604,23 @@ function Build-PackageManager([Hashtable] $Platform) {
3603
3604
SQLite3_INCLUDE_DIR = " $SourceCache \swift-toolchain-sqlite\Sources\CSQLite\include" ;
3604
3605
SQLite3_LIBRARY = " $ ( Get-ProjectBinaryCache $Platform SQLite) \SQLite3.lib" ;
3605
3606
}
3607
+
3608
+ $SwiftSDK = if ($Platform.DefaultSDK -match " Experimental" ) {
3609
+ Get-SwiftSDK - OS $Platform.OS - Identifier " $ ( $Platform.OS ) Experimental"
3610
+ } else {
3611
+ Get-SwiftSDK - OS $Platform.OS
3612
+ }
3613
+ Build-CMakeProject `
3614
+ - Src $SrcDir \Sources\Runtimes `
3615
+ - Bin (Get-ProjectBinaryCache $Platform PackageManagerRuntime) `
3616
+ - InstallTo " $ ( $Platform.ToolchainInstallRoot ) \usr" `
3617
+ - Platform $Platform `
3618
+ - UseBuiltCompilers C, CXX, Swift `
3619
+ - SwiftSDK $SwiftSDK `
3620
+ - UseGNUDriver `
3621
+ - Defines @ {
3622
+ BUILD_SHARED_LIBS = " YES" ;
3623
+ }
3606
3624
}
3607
3625
3608
3626
function Build-Markdown ([Hashtable ] $Platform ) {
You can’t perform that action at this time.
0 commit comments