@@ -663,6 +663,9 @@ enum Project {
663
663
ClangRuntime
664
664
SwiftInspect
665
665
ExperimentalRuntime
666
+ ExperimentalOverlay
667
+ ExperimentalStringProcessing
668
+ ExperimentalSynchronization
666
669
StaticFoundation
667
670
}
668
671
@@ -2309,9 +2312,61 @@ function Build-ExperimentalRuntime {
2309
2312
CMAKE_Swift_COMPILER_WORKS = " YES" ;
2310
2313
CMAKE_STATIC_LIBRARY_PREFIX_Swift = " lib" ;
2311
2314
CMAKE_SYSTEM_NAME = $Platform.OS.ToString ();
2315
+
2316
+ # NOTE(compnerd) we can get away with this currently because we only
2317
+ # use the C portion of the dispatch build, which is always built
2318
+ # dynamically.
2312
2319
dispatch_DIR = (Get-ProjectCMakeModules $Platform Dispatch);
2313
2320
SwiftCore_ENABLE_CONCURRENCY = " YES" ;
2314
2321
}
2322
+
2323
+ Build-CMakeProject `
2324
+ - Src $SourceCache \swift\Runtimes\Overlay `
2325
+ - Bin (Get-ProjectBinaryCache $Platform ExperimentalOverlay) `
2326
+ - InstallTo " $ ( Get-SwiftSDK $Platform.OS - Identifier " $ ( $Platform.OS ) Experimental" ) \usr" `
2327
+ - Platform $Platform `
2328
+ - UseBuiltCompilers C, CXX, Swift `
2329
+ - UseGNUDriver `
2330
+ - Defines @ {
2331
+ BUILD_SHARED_LIBS = if ($Static ) { " NO" } else { " YES" };
2332
+ CMAKE_FIND_PACKAGE_PREFER_CONFIG = " YES" ;
2333
+ CMAKE_Swift_COMPILER_TARGET = (Get-ModuleTriple $Platform );
2334
+ CMAKE_Swift_COMPILER_WORKS = " YES" ;
2335
+ CMAKE_STATIC_LIBRARY_PREFIX_Swift = " lib" ;
2336
+ CMAKE_SYSTEM_NAME = $Platform.OS.ToString ();
2337
+ }
2338
+
2339
+ Build-CMakeProject `
2340
+ - Src $SourceCache \swift\Runtimes\Supplemental\StringProcessing `
2341
+ - Bin (Get-ProjectBinaryCache $Platform ExperimentalStringProcessing) `
2342
+ - InstallTo " $ ( Get-SwiftSDK $Platform.OS - Identifier " $ ( $Platform.OS ) Experimental" ) \usr" `
2343
+ - Platform $Platform `
2344
+ - UseBuiltCompilers C, Swift `
2345
+ - UseGNUDriver `
2346
+ - Defines @ {
2347
+ BUILD_SHARED_LIBS = if ($Static ) { " NO" } else { " YES" };
2348
+ CMAKE_FIND_PACKAGE_PREFER_CONFIG = " YES" ;
2349
+ CMAKE_Swift_COMPILER_TARGET = (Get-ModuleTriple $Platform );
2350
+ CMAKE_Swift_COMPILER_WORKS = " YES" ;
2351
+ CMAKE_STATIC_LIBRARY_PREFIX_Swift = " lib" ;
2352
+ CMAKE_SYSTEM_NAME = $Platform.OS.ToString ();
2353
+ }
2354
+
2355
+ Build-CMakeProject `
2356
+ - Src $SourceCache \swift\Runtimes\Supplemental\Synchronization `
2357
+ - Bin (Get-ProjectBinaryCache $Platform ExperimentalSynchronization) `
2358
+ - InstallTo " $ ( Get-SwiftSDK $Platform.OS - Identifier " $ ( $Platform.OS ) Experimental" ) \usr" `
2359
+ - Platform $Platform `
2360
+ - UseBuiltCompilers C, Swift `
2361
+ - UseGNUDriver `
2362
+ - Defines @ {
2363
+ BUILD_SHARED_LIBS = if ($Static ) { " NO" } else { " YES" };
2364
+ CMAKE_FIND_PACKAGE_PREFER_CONFIG = " YES" ;
2365
+ CMAKE_Swift_COMPILER_TARGET = (Get-ModuleTriple $Platform );
2366
+ CMAKE_Swift_COMPILER_WORKS = " YES" ;
2367
+ CMAKE_STATIC_LIBRARY_PREFIX_Swift = " lib" ;
2368
+ CMAKE_SYSTEM_NAME = $Platform.OS.ToString ();
2369
+ }
2315
2370
}
2316
2371
}
2317
2372
0 commit comments