@@ -707,14 +707,14 @@ enum Project {
707
707
ClangBuiltins
708
708
ClangRuntime
709
709
SwiftInspect
710
- ExperimentalRuntime
711
- ExperimentalOverlay
712
- ExperimentalStringProcessing
713
- ExperimentalSynchronization
714
- ExperimentalDistributed
715
- ExperimentalObservation
716
- ExperimentalDispatch
717
- ExperimentalFoundation
710
+ ExperimentalStaticRuntime
711
+ ExperimentalStaticOverlay
712
+ ExperimentalStaticStringProcessing
713
+ ExperimentalStaticSynchronization
714
+ ExperimentalStaticDistributed
715
+ ExperimentalStaticObservation
716
+ ExperimentalStaticDispatch
717
+ ExperimentalStaticFoundation
718
718
}
719
719
720
720
function Get-ProjectBinaryCache ([Hashtable ] $Platform , [Project ] $Project ) {
@@ -2469,7 +2469,7 @@ function Build-ExperimentalRuntime([Hashtable] $Platform, [switch] $Static = $fa
2469
2469
2470
2470
Build-CMakeProject `
2471
2471
- Src $SourceCache \swift\Runtimes\Core `
2472
- - Bin (Get-ProjectBinaryCache $Platform ExperimentalRuntime ) `
2472
+ - Bin (Get-ProjectBinaryCache $Platform ExperimentalStaticRuntime ) `
2473
2473
- InstallTo " $ ( Get-SwiftSDK $Platform.OS - Identifier " $ ( $Platform.OS ) Experimental" ) \usr" `
2474
2474
- Platform $Platform `
2475
2475
- UseBuiltCompilers C, CXX, Swift `
@@ -2497,7 +2497,7 @@ function Build-ExperimentalRuntime([Hashtable] $Platform, [switch] $Static = $fa
2497
2497
2498
2498
Build-CMakeProject `
2499
2499
- Src $SourceCache \swift\Runtimes\Overlay `
2500
- - Bin (Get-ProjectBinaryCache $Platform ExperimentalOverlay ) `
2500
+ - Bin (Get-ProjectBinaryCache $Platform ExperimentalStaticOverlay ) `
2501
2501
- InstallTo " $ ( Get-SwiftSDK $Platform.OS - Identifier " $ ( $Platform.OS ) Experimental" ) \usr" `
2502
2502
- Platform $Platform `
2503
2503
- UseBuiltCompilers C, CXX, Swift `
@@ -2510,12 +2510,12 @@ function Build-ExperimentalRuntime([Hashtable] $Platform, [switch] $Static = $fa
2510
2510
CMAKE_STATIC_LIBRARY_PREFIX_Swift = " lib" ;
2511
2511
CMAKE_SYSTEM_NAME = $Platform.OS.ToString ();
2512
2512
2513
- SwiftCore_DIR = " $ ( Get-ProjectBinaryCache $Platform ExperimentalRuntime ) \cmake\SwiftCore" ;
2513
+ SwiftCore_DIR = " $ ( Get-ProjectBinaryCache $Platform ExperimentalStaticRuntime ) \cmake\SwiftCore" ;
2514
2514
}
2515
2515
2516
2516
Build-CMakeProject `
2517
2517
- Src $SourceCache \swift\Runtimes\Supplemental\StringProcessing `
2518
- - Bin (Get-ProjectBinaryCache $Platform ExperimentalStringProcessing ) `
2518
+ - Bin (Get-ProjectBinaryCache $Platform ExperimentalStaticStringProcessing ) `
2519
2519
- InstallTo " $ ( Get-SwiftSDK $Platform.OS - Identifier " $ ( $Platform.OS ) Experimental" ) \usr" `
2520
2520
- Platform $Platform `
2521
2521
- UseBuiltCompilers C, Swift `
@@ -2528,12 +2528,12 @@ function Build-ExperimentalRuntime([Hashtable] $Platform, [switch] $Static = $fa
2528
2528
CMAKE_STATIC_LIBRARY_PREFIX_Swift = " lib" ;
2529
2529
CMAKE_SYSTEM_NAME = $Platform.OS.ToString ();
2530
2530
2531
- SwiftCore_DIR = " $ ( Get-ProjectBinaryCache $Platform ExperimentalRuntime ) \cmake\SwiftCore" ;
2531
+ SwiftCore_DIR = " $ ( Get-ProjectBinaryCache $Platform ExperimentalStaticRuntime ) \cmake\SwiftCore" ;
2532
2532
}
2533
2533
2534
2534
Build-CMakeProject `
2535
2535
- Src $SourceCache \swift\Runtimes\Supplemental\Synchronization `
2536
- - Bin (Get-ProjectBinaryCache $Platform ExperimentalSynchronization ) `
2536
+ - Bin (Get-ProjectBinaryCache $Platform ExperimentalStaticSynchronization ) `
2537
2537
- InstallTo " $ ( Get-SwiftSDK $Platform.OS - Identifier " $ ( $Platform.OS ) Experimental" ) \usr" `
2538
2538
- Platform $Platform `
2539
2539
- UseBuiltCompilers C, Swift `
@@ -2546,47 +2546,47 @@ function Build-ExperimentalRuntime([Hashtable] $Platform, [switch] $Static = $fa
2546
2546
CMAKE_STATIC_LIBRARY_PREFIX_Swift = " lib" ;
2547
2547
CMAKE_SYSTEM_NAME = $Platform.OS.ToString ();
2548
2548
2549
- SwiftCore_DIR = " $ ( Get-ProjectBinaryCache $Platform ExperimentalRuntime ) \cmake\SwiftCore" ;
2550
- SwiftOverlay_DIR = " $ ( Get-ProjectBinaryCache $Platform ExperimentalOverlay ) \cmake\SwiftOverlay" ;
2549
+ SwiftCore_DIR = " $ ( Get-ProjectBinaryCache $Platform ExperimentalStaticRuntime ) \cmake\SwiftCore" ;
2550
+ SwiftOverlay_DIR = " $ ( Get-ProjectBinaryCache $Platform ExperimentalStaticOverlay ) \cmake\SwiftOverlay" ;
2551
2551
}
2552
2552
2553
2553
Build-CMakeProject `
2554
2554
- Src $SourceCache \swift\Runtimes\Supplemental\Distributed `
2555
- - Bin (Get-ProjectBinaryCache $Platform ExperimentalDistributed ) `
2555
+ - Bin (Get-ProjectBinaryCache $Platform ExperimentalStaticDistributed ) `
2556
2556
- InstallTo " $ ( Get-SwiftSDK $Platform.OS - Identifier " $ ( $Platform.OS ) Experimental" ) \usr" `
2557
2557
- Platform $Platform `
2558
2558
- UseBuiltCompilers C, CXX, Swift `
2559
2559
- UseGNUDriver `
2560
2560
- Defines @ {
2561
2561
BUILD_SHARED_LIBS = if ($Static ) { " NO" } else { " YES" };
2562
2562
CMAKE_FIND_PACKAGE_PREFER_CONFIG = " YES" ;
2563
- CMAKE_CXX_FLAGS = @ (" -I$ ( Get-ProjectBinaryCache $Platform ExperimentalRuntime ) \include" );
2563
+ CMAKE_CXX_FLAGS = @ (" -I$ ( Get-ProjectBinaryCache $Platform ExperimentalStaticRuntime ) \include" );
2564
2564
CMAKE_Swift_COMPILER_TARGET = (Get-ModuleTriple $Platform );
2565
2565
CMAKE_Swift_COMPILER_WORKS = " YES" ;
2566
2566
CMAKE_STATIC_LIBRARY_PREFIX_Swift = " lib" ;
2567
2567
CMAKE_SYSTEM_NAME = $Platform.OS.ToString ();
2568
2568
2569
- SwiftCore_DIR = " $ ( Get-ProjectBinaryCache $Platform ExperimentalRuntime ) \cmake\SwiftCore" ;
2570
- SwiftOverlay_DIR = " $ ( Get-ProjectBinaryCache $Platform ExperimentalOverlay ) \cmake\SwiftOverlay" ;
2569
+ SwiftCore_DIR = " $ ( Get-ProjectBinaryCache $Platform ExperimentalStaticRuntime ) \cmake\SwiftCore" ;
2570
+ SwiftOverlay_DIR = " $ ( Get-ProjectBinaryCache $Platform ExperimentalStaticOverlay ) \cmake\SwiftOverlay" ;
2571
2571
}
2572
2572
2573
2573
Build-CMakeProject `
2574
2574
- Src $SourceCache \swift\Runtimes\Supplemental\Observation `
2575
- - Bin (Get-ProjectBinaryCache $Platform ExperimentalObservation ) `
2575
+ - Bin (Get-ProjectBinaryCache $Platform ExperimentalStaticObservation ) `
2576
2576
- InstallTo " $ ( Get-SwiftSDK $Platform.OS - Identifier " $ ( $Platform.OS ) Experimental" ) \usr" `
2577
2577
- Platform $Platform `
2578
2578
- UseBuiltCompilers CXX, Swift `
2579
2579
- UseGNUDriver `
2580
2580
- Defines @ {
2581
2581
BUILD_SHARED_LIBS = if ($Static ) { " NO" } else { " YES" };
2582
2582
CMAKE_FIND_PACKAGE_PREFER_CONFIG = " YES" ;
2583
- CMAKE_CXX_FLAGS = @ (" -I$ ( Get-ProjectBinaryCache $Platform ExperimentalRuntime ) \include" );
2583
+ CMAKE_CXX_FLAGS = @ (" -I$ ( Get-ProjectBinaryCache $Platform ExperimentalStaticRuntime ) \include" );
2584
2584
CMAKE_Swift_COMPILER_TARGET = (Get-ModuleTriple $Platform );
2585
2585
CMAKE_Swift_COMPILER_WORKS = " YES" ;
2586
2586
CMAKE_STATIC_LIBRARY_PREFIX_Swift = " lib" ;
2587
2587
CMAKE_SYSTEM_NAME = $Platform.OS.ToString ();
2588
2588
2589
- SwiftCore_DIR = " $ ( Get-ProjectBinaryCache $Platform ExperimentalRuntime ) \cmake\SwiftCore" ;
2589
+ SwiftCore_DIR = " $ ( Get-ProjectBinaryCache $Platform ExperimentalStaticRuntime ) \cmake\SwiftCore" ;
2590
2590
}
2591
2591
}
2592
2592
}
@@ -2671,7 +2671,7 @@ function Build-Foundation {
2671
2671
)
2672
2672
2673
2673
$FoundationBinaryCache = if ($Static ) {
2674
- Get-ProjectBinaryCache $Platform ExperimentalFoundation
2674
+ Get-ProjectBinaryCache $Platform ExperimentalStaticFoundation
2675
2675
} else {
2676
2676
Get-ProjectBinaryCache $Platform DynamicFoundation
2677
2677
}
@@ -2695,7 +2695,7 @@ function Build-Foundation {
2695
2695
}
2696
2696
2697
2697
$DispatchCMakeModules = if ($Static ) {
2698
- Get-ProjectCMakeModules $Platform ExperimentalDispatch
2698
+ Get-ProjectCMakeModules $Platform ExperimentalStaticDispatch
2699
2699
} else {
2700
2700
Get-ProjectCMakeModules $Platform Dispatch
2701
2701
}
@@ -2916,7 +2916,7 @@ function Build-ExperimentalSDK([Hashtable] $Platform) {
2916
2916
$env: Path = " $ ( Get-CMarkBinaryCache $Platform ) \src;$ ( Get-PinnedToolchainRuntime ) ;${env: Path} "
2917
2917
Build-CMakeProject `
2918
2918
- Src $SourceCache \swift- corelibs- libdispatch `
2919
- - Bin (Get-ProjectBinaryCache $Platform ExperimentalDispatch ) `
2919
+ - Bin (Get-ProjectBinaryCache $Platform ExperimentalStaticDispatch ) `
2920
2920
- InstallTo " $ ( Get-SwiftSDK $Platform.OS - Identifier " $ ( $Platform.OS ) Experimental" ) \usr" `
2921
2921
- Platform $Platform `
2922
2922
- UseBuiltCompilers C, CXX, Swift `
0 commit comments