Skip to content

utils: add Distributed to the experimental Windows SDK #83174

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions utils/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,7 @@ enum Project {
ExperimentalOverlay
ExperimentalStringProcessing
ExperimentalSynchronization
ExperimentalDistributed
ExperimentalObservation
ExperimentalDispatch
StaticFoundation
Expand Down Expand Up @@ -2428,6 +2429,26 @@ function Build-ExperimentalRuntime {
SwiftOverlay_DIR = "$(Get-ProjectBinaryCache $Platform ExperimentalOverlay)\cmake\SwiftOverlay";
}

Build-CMakeProject `
-Src $SourceCache\swift\Runtimes\Supplemental\Distributed `
-Bin (Get-ProjectBinaryCache $Platform ExperimentalDistributed) `
-InstallTo "$(Get-SwiftSDK $Platform.OS -Identifier "$($Platform.OS)Experimental")\usr" `
-Platform $Platform `
-UseBuiltCompilers C,CXX,Swift `
-UseGNUDriver `
-Defines @{
BUILD_SHARED_LIBS = if ($Static) { "NO" } else { "YES" };
CMAKE_FIND_PACKAGE_PREFER_CONFIG = "YES";
CMAKE_CXX_FLAGS = @("-I$(Get-ProjectBinaryCache $Platform ExperimentalRuntime)\include");
CMAKE_Swift_COMPILER_TARGET = (Get-ModuleTriple $Platform);
CMAKE_Swift_COMPILER_WORKS = "YES";
CMAKE_STATIC_LIBRARY_PREFIX_Swift = "lib";
CMAKE_SYSTEM_NAME = $Platform.OS.ToString();

SwiftCore_DIR = "$(Get-ProjectBinaryCache $Platform ExperimentalRuntime)\cmake\SwiftCore";
SwiftOverlay_DIR = "$(Get-ProjectBinaryCache $Platform ExperimentalOverlay)\cmake\SwiftOverlay";
}

Build-CMakeProject `
-Src $SourceCache\swift\Runtimes\Supplemental\Observation `
-Bin (Get-ProjectBinaryCache $Platform ExperimentalObservation) `
Expand Down