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 {
714714 ExperimentalDistributed
715715 ExperimentalObservation
716716 ExperimentalDispatch
717+ ExperimentalDifferentiation
717718 StaticFoundation
718719}
719720
@@ -2594,6 +2595,25 @@ function Build-ExperimentalRuntime {
25942595 CMAKE_STATIC_LIBRARY_PREFIX_Swift = " lib" ;
25952596 CMAKE_SYSTEM_NAME = $Platform.OS.ToString ();
25962597
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+
25972617 SwiftCore_DIR = " $ ( Get-ProjectBinaryCache $Platform ExperimentalRuntime) \cmake\SwiftCore" ;
25982618 SwiftOverlay_DIR = " $ ( Get-ProjectBinaryCache $Platform ExperimentalOverlay) \cmake\SwiftOverlay" ;
25992619 }
You can’t perform that action at this time.
0 commit comments