Skip to content

Rename Build module to NativeBuildSupport #8571

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

Conversation

jakepetroules
Copy link
Contributor

This module is intended to contain code exclusive to the native build system, in order to help more clearly identify the delineation between the three build system backends, and identify layering violations and new higher-level abstractions that will need to be created to delegate to the appropriate backend (SourceKit support is one major example).

@jakepetroules
Copy link
Contributor Author

@swift-ci test

@jakepetroules jakepetroules force-pushed the eng/PR-rename-build-module branch from 91c6dc1 to 6b2856a Compare April 29, 2025 18:13
@jakepetroules
Copy link
Contributor Author

@swift-ci test

@jakepetroules
Copy link
Contributor Author

@swift-ci test windows

@@ -500,7 +499,9 @@ let package = Package(
"PackageGraph",
],
exclude: ["CMakeLists.txt", "README.md"],
swiftSettings: commonExperimentalFeatures
swiftSettings: commonExperimentalFeatures + [
.unsafeFlags(["-static"]),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: out of curiosity, why did we add the -static flag here if we this PR is renaming BuildSupport to NativeBuildSupport?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All those targets are supposed to have it, it was accidentally missed from this one before.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure we need it any more when building with Swift 6.1.

This module is intended to contain code exclusive to the native build system, in order to help more clearly identify the delineation between the three build system backends, and identify layering violations and new higher-level abstractions that will need to be created to delegate to the appropriate backend (SourceKit support is one major example).
@jakepetroules jakepetroules force-pushed the eng/PR-rename-build-module branch from 6b2856a to d9197cd Compare April 29, 2025 21:03
@jakepetroules
Copy link
Contributor Author

@swift-ci test

@jakepetroules
Copy link
Contributor Author

@swift-ci test windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants