Skip to content

Conversation

@owenv
Copy link
Contributor

@owenv owenv commented Nov 12, 2025

Adopt the new API on SWBBuildRequest

Depends on #9417
Fixes: #9321

@owenv
Copy link
Contributor Author

owenv commented Nov 12, 2025

Closes #9321

@owenv
Copy link
Contributor Author

owenv commented Nov 12, 2025

@swift-ci test

@owenv
Copy link
Contributor Author

owenv commented Nov 12, 2025

@swift-ci test

Copy link
Contributor

@bkhouri bkhouri left a comment

Choose a reason for hiding this comment

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

I know it may be benign, but can we add an automated test against the makeBuildSystem that ensure the SWBBuildRequest has the correct value set vain the various buildParmeters.workers value?

bkhouri and others added 5 commits November 23, 2025 10:19
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
@bkhouri
Copy link
Contributor

bkhouri commented Dec 5, 2025

@swift-ci test

@bkhouri bkhouri marked this pull request as draft December 5, 2025 05:21
@bkhouri
Copy link
Contributor

bkhouri commented Dec 5, 2025

I know it may be benign, but can we add an automated test against the makeBuildSystem that ensure the SWBBuildRequest has the correct value set vain the various buildParmeters.workers value?

Test has been added.

@bkhouri bkhouri self-assigned this Dec 5, 2025
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] Pass the --jobs to SwiftBuild

3 participants