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