File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -714,6 +714,7 @@ enum Project {
714
714
ExperimentalDistributed
715
715
ExperimentalObservation
716
716
ExperimentalDispatch
717
+ ExperimentalDifferentiation
717
718
StaticFoundation
718
719
}
719
720
@@ -2594,6 +2595,25 @@ function Build-ExperimentalRuntime {
2594
2595
CMAKE_STATIC_LIBRARY_PREFIX_Swift = " lib" ;
2595
2596
CMAKE_SYSTEM_NAME = $Platform.OS.ToString ();
2596
2597
2598
+ SwiftCore_DIR = " $ ( Get-ProjectBinaryCache $Platform ExperimentalRuntime) \cmake\SwiftCore" ;
2599
+ SwiftOverlay_DIR = " $ ( Get-ProjectBinaryCache $Platform ExperimentalOverlay) \cmake\SwiftOverlay" ;
2600
+ }
2601
+
2602
+ Build-CMakeProject `
2603
+ - Src $SourceCache \swift\Runtimes\Supplemental\Differentiation `
2604
+ - Bin (Get-ProjectBinaryCache $Platform ExperimentalDifferentiation) `
2605
+ - InstallTo " $ ( Get-SwiftSDK $Platform.OS - Identifier " $ ( $Platform.OS ) Experimental" ) \usr" `
2606
+ - Platform $Platform `
2607
+ - UseBuiltCompilers C, CXX, Swift `
2608
+ - UseGNUDriver `
2609
+ - Defines @ {
2610
+ BUILD_SHARED_LIBS = if ($Static ) { " NO" } else { " YES" };
2611
+ CMAKE_FIND_PACKAGE_PREFER_CONFIG = " YES" ;
2612
+ CMAKE_Swift_COMPILER_TARGET = (Get-ModuleTriple $Platform );
2613
+ CMAKE_Swift_COMPILER_WORKS = " YES" ;
2614
+ CMAKE_STATIC_LIBRARY_PREFIX_Swift = " lib" ;
2615
+ CMAKE_SYSTEM_NAME = $Platform.OS.ToString ();
2616
+
2597
2617
SwiftCore_DIR = " $ ( Get-ProjectBinaryCache $Platform ExperimentalRuntime) \cmake\SwiftCore" ;
2598
2618
SwiftOverlay_DIR = " $ ( Get-ProjectBinaryCache $Platform ExperimentalOverlay) \cmake\SwiftOverlay" ;
2599
2619
}
You can’t perform that action at this time.
0 commit comments