Skip to content

Allow custom dispatch include path in SwiftPM package build #5025

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

Merged

Conversation

jmschonfeld
Copy link
Contributor

This adds a DISPATCH_INCLUDE_PATH environment variable that allows specifying the location at which the package build can find dispatch headers. On linux/android this path still defaults to /usr/lib/swift. This will allow us to build the tests of this package via SwiftPM in the toolchain build where we build against a just-built toolchain (and /usr/lib/swift doesn't exist).

@jmschonfeld
Copy link
Contributor Author

@swift-ci please test

@jmschonfeld jmschonfeld merged commit fa2b3ad into swiftlang:main Jul 24, 2024
2 of 3 checks passed
@jmschonfeld jmschonfeld deleted the package-custom-dispatch-path branch July 24, 2024 19:12
parkera pushed a commit to parkera/swift-corelibs-foundation that referenced this pull request Jul 25, 2024
jmschonfeld added a commit that referenced this pull request Jul 29, 2024
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.

2 participants