Skip to content

Conversation

@bkhouri
Copy link
Contributor

@bkhouri bkhouri commented Nov 25, 2025

Set the SWIFT_FORCE_STATIC_LINK_STDLIB build setting in SwiftBuild
accordingly to the command line argument and if it's not on Darwin.

In addition, set the SWIFT_RESOURCE_DIR setting as that is what the
Native build system does.

Fixes: #9320
Issue: rdar://163948614
Depends on: #9389
Needs: swiftlang/swift-build#942

Update the PIF builder to take into account of the
`--[auto|disable|enable]-index-store` command line option.

When set to `auto`, the PIF builder behaviour does the same as the
Native build system.

Fixes: swiftlang#9325
Issue: rdar://163961900
Update the SwiftPM's SwiftBuild integration to support enabling
`address`, `thread` and `undefined` sanitizers while erroring out on
the `scudo` and `fuzzer`.

Depends on: swiftlang/swift-build#926
Set the `SWIFT_FORCE_STATIC_LINK_STDLIB` build setting in SwiftBuild
accordingly to the command line argument and if it's not on Darwin.

In addition, set the SWIFT_RESOURCE_DIR setting as that is what the
Native build system does.

Fixes: swiftlang#9320
Issue: rdar://163948614
"""
Swift compiler no longer supports statically linking the Swift libraries. They're included in the OS by \
default starting with macOS Mojave 10.14.4 beta 3. For macOS Mojave 10.14.3 and earlier, there's an \
optional Swift library package that can be downloaded from \"More Downloads\" for Apple Developers at \
Copy link
Contributor Author

Choose a reason for hiding this comment

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

chore (blocking): update Swift library with the actual downloadable name.

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.

[Parity] Add parity support for --[no-]static-swift-stdlib support (SwiftBuild)

1 participant