Skip to content

Add Dispatch overlay to include path for build and tests #615

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
merged 1 commit into from
Aug 24, 2016

Conversation

seabaylea
Copy link
Contributor

When merging the NSURLSession code into Foundation, we hit the following issue in building SwiftPM:

1.  While type-checking 'fputs' at /home/buildnode/disk2/workspace/swift-corelibs-foundation-PR-Linux/swiftpm/Sources/Basic/PathShims.swift:274:8
2.  While type-checking expression at [/home/buildnode/disk2/workspace/swift-corelibs-foundation-PR-Linux/swiftpm/Sources/Basic/PathShims.swift:275:5 - line:275:36] RangeText="handle.write(Data(bytes: bytes))"
3.  While loading members for declaration 0x6a06150 at <invalid loc>
4.  While deserializing 'init' (ConstructorDecl #11177) 
5.  While deserializing decl #27528 (PARAM_DECL)
6.  While deserializing decl #34459 (XREF)
7.  Cross-reference to module 'Dispatch'
    ... DispatchData

This is caused because the new Swift 3.0 overly isn't available to SwiftPM and build/test time.

This PR adds the location for the build-time Dispatch overlay into the include path.

@parkera
Copy link
Contributor

parkera commented Aug 23, 2016

@swift-ci please test linux

@parkera
Copy link
Contributor

parkera commented Aug 23, 2016

Thanks @seabaylea!

@ddunbar
Copy link
Contributor

ddunbar commented Aug 24, 2016

Fine by me!

@ddunbar ddunbar merged commit e9bb837 into swiftlang:master Aug 24, 2016
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.

3 participants